Home>Support>make the parent page in menu unclickable

make the parent page in menu unclickable

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

I’d like to make the parent page non-clickable in the menu so that when you hover over it the sub page drop down appears. I believe there was a custom css script developed for this but I can’t find it in my search.

This is our free support forum. Replies can take several days. If you need fast email support, please purchase a SiteOrigin Premium license.

  1. 10 years, 27 days ago Magus
    Hi, I Work Here

    Hi Andreas

    Unfortunately it is not possible to disable a link using CSS. The best you can manage is to hide it by stopping the cursor from changing and by disabling the hover effect.

    .current-menu-item a {
        cursor: default;
        pointer-events: none;
    }
    
    .current-menu-item a:hover {
        background-color: inherit !important;
        color: #e2e2e2 !important;
    }
    

    In the second entry please change the color section to match the colour of your menu text.

    Let us know if this is what you were after

    Magus

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