Free and Premium WordPress Plugins & Themes Forums WordPress Plugins Content Editor Remove arrows from specific (not from all) sliders
- This topic has 6 replies, 2 voices, and was last updated 8 years, 1 month ago by J. Davis.
- AuthorPosts
- August 24, 2015 at 10:30 am #151124RobertGuest
Can someone please give me example CSS for removing the previous/next arrows from a slider? This is so I can create a custom style to apply when they’re not required – i.e. when there are just two images.
Many thanks.
RobertAugust 25, 2015 at 11:22 am #151600J. DavisKeymasterHi Robert,
You can go to MotoPress > Settings, find Custom CSS code field and add the code below:
.motopress-image-slider-obj .flex-direction-nav{ display:none !important; }
Save changes and preview the slider. The Slider arrows should be hidden now.
August 31, 2015 at 12:40 pm #155604RobertGuestMany thanks
That does work, but appears to affect every slider. How can I make it affect one specific slider and leave arrows on the rest?
π
RobertAugust 31, 2015 at 2:44 pm #155720J. DavisKeymasterHi Robert,
In this case you need to make your certain slider unique and apply a custom class for Row of your slider e.g. .hide_arrows. Please try to add the code below to MotoPress>Settings>’Custom CSS code’ field:
.hide_arrows .flex-direction-nav{ display:none !important; }
Then launch MotoPress editor on page with your slider, select a row and apply class ‘hide_arrows’ without quotes. Save changes and preview your website.
Best regards,
JohnAugust 31, 2015 at 3:12 pm #155771RobertGuestMany thanks!
I understand now, and it works on the site.
I am gradually getting the hang of using the custom CSS to achieve these things, but that one had me stumped.
π
RobertOctober 4, 2016 at 5:19 pm #389441Christianne BOHRGuestI am trying to replace the nav arrows that lead to the next slide with just words NEXT and Back how do I do that? or an arrow and next would be great too! next> and it work as a button to next slide photo. next> and <back
October 7, 2016 at 2:27 pm #390984J. DavisKeymasterHi Christianne,
Your question is related to MotoPress Slider plugin and not to Slider element of Content Editor plugin. Hello Christianne,The slideshow is going due to script and not a link. You can not simply link the button to switch to certain slide. You can just create your Next and Prev images, put them to wp-content folder and edit slider styles to change arrow images with your own e.g.
.ms_next { background: url(URL of Your 'Next' Image) no-repeat scroll center center/32px auto transparent; }
.ms_prev { background: url(URL of Your 'Prev' Image) no-repeat scroll center center/32px auto transparent; }
Best regards,
John Smith - AuthorPosts
- You must be logged in to reply to this topic.