Home>Support>Diasbling links in the SiteOrigin Carousel

Diasbling links in the SiteOrigin Carousel

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

  1. 8 years, 3 months ago Alex S
    Hi, I Work Here

    Hi 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.

Get The Most Out of SiteOrigin with SiteOrigin Premium

Find Out More