This thread is over two years old and may be outdated. Please create a new thread if you need help, or email us if you have an active Premium license.

How to remove pagination from Hero Slider and not Layout Slider

3 years ago · Last reply by Andrew Misplon 3 years ago

Hi,

I’m trying to remove the pagination (arrows and the dots) on just the Hero slider. In “Slider Controls” I set the “Navigation size” to “0” but the dots still show on on hover. I also tried the following css solution I found on your site:

.sow-slider-pagination { display: none !important;}
.sow-slide-nav {display: none !important;}

This works, but, this code also removes the pagination from the Layout slider — which I don’t want to do. I only want to remove pagination from the Hero Slider. Any ideas? Thanks.

This is our free support forum. Replies can take several days.

Need fast email support? Get SiteOrigin Premium

Replies

5
  1. Andrew Misplon Staff 3 years, 7 months ago

    Hi

    Thanks for reaching out.

    You can try:

    .so-widget-sow-hero .sow-slide-nav,
    .so-widget-sow-hero .sow-slider-pagination {
    	display: none !important;
    }
  2. lgtrader 3 years, 7 months ago

    Hi Andrew, thanks for the code it works great. I just have one more request. Is it possible to only remove pagination for a single Hero instead of sitewide? Could the CSS row, cell or widget attributes be used to make this happen?

  3. Andrew Misplon Staff 3 years, 7 months ago

    Glad to hear you’re making progress. Sure, you could prefix the above rules with a class name. There are two rules above so each rule would have to be prefixed. Please, find a post on using Attributes below:

    Post: A Custom CSS Guide to Page Builder Row, Cell & Widget Attributes

  4. lgtrader 3 years, 7 months ago

    Got it Andrew. I couldn’t figure out how to layout the CSS but after your comments on adding a prefix, I added the following to my CSS:

    .no-navigation .sow-slider-pagination { display: none !important;}
    .no-navigation .sow-slide-nav {display: none !important;}

    and then added “no-navigation” in the Hero’s “Widget Class” and voila, it worked! Exactly what I wanted. Thanks again for your help.

  5. Andrew Misplon Staff 3 years, 7 months ago

    Awesome :) I’m glad to hear you’ve made progress; thanks for keeping us updated.

    Cheers for now.

    Andrew

Replies on this thread are closed.

Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Have a different question or issue?

Start New Thread