Diasbling links in the SiteOrigin Carousel
Hi, I’m wanting to use the carousel as a basic photo gallery without adding links to pages/posts. Is it possible to disable the links?
This is our free support forum. Replies can take several days.
Need fast email support? Get SiteOrigin Premium
Replies
1Hi Elisa,
You do this with some custom CSS. If you navigate to AppearanceCustom CSS, you’ll get our custom CSS editor. Add the following CSS
.sow-carousel-item a .overlay { cursor: default; }You might also need to install the SiteOrigin CSS Editor.
Now please open the page that has the SiteOrigin Post Carousel padded to and add a text widget after the SiteOrigin Post Carousel. Open it and add the following JavaScript:
<script> jQuery( function($) { $('.sow-carousel-item a' ).click(function(e) { e.preventDefault(); } ); } ); </script>Please untick the Automatically Add Paragraphs settings or the JavaScript won’t work.
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.