Home>Support>How to remove pagination from Hero Slider and not Layout Slider

How to remove pagination from Hero Slider and not Layout Slider

Notice: This thread is over two years old; the information may be outdated. Please consider creating a new thread if you require free support. If you have an active SiteOrigin Premium license, you can email our premium support desk at [email protected].

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. If you need fast email support, please purchase a SiteOrigin Premium license.

  1. 3 years, 16 days ago Andrew Misplon
    Hi, I Work Here

    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. 3 years, 10 days ago lgtrader

    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. 3 years, 10 days ago Andrew Misplon
    Hi, I Work Here

    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. 3 years, 7 days ago lgtrader

    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. 3 years, 7 days ago Andrew Misplon
    Hi, I Work Here

    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.

Get The Most Out of SiteOrigin with SiteOrigin Premium

Find Out More