Home>Support>parents category opening problem

parents category opening problem

By schiller, 8 years ago. Last reply by SiteOrigin, 8 years ago.

Hi! I am using vantage pro template. Please answer what i have to do in the following case.

in my menu navigation bar there are parents and children categories. the both types could be opened (include a link to a page).

so i want that by navigating the menu the parent category could be marked in color as yet but could’t been opened like children categories. So just changing the color but nothing else – no links and pages in parents category.

Many thanks in advance for your reply!

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, 9 months ago SiteOrigin
    Hi, I Work Here

    Hi Schiller

    You can fix/change this with some custom CSS. If you navigate to AppearanceCustom CSS, you’ll get our custom CSS editor. Just add the following code.

    .menu-item-has-children > a {
      background: red;
    }
    

    You might also need to install the SiteOrigin CSS Editor.

    Replace the value red with the hexadecimal color you require.

  2. 8 years, 9 months ago schiller

    Hi! Many thanks for your support! It seems i have explained the problem not correctly.

    The question is not to make the parents categories in red but to change the parents categories configuration so that they couldn’t be opened.

    For example what i have now: i navigate with a mouse on parents category “furniture”. In next second the children categories “kitchen furniture”, “living room furniture” fly out. So i can choose between two children categories and one parent category. Ok? I can enter in kitchen furniture, living… as well as into main parent category “furniture”.

    What i want to have: i want that it would be impossible to enter into parent category “furniture”. The category “furniture” must exist only for navigation between children categories. It must be impossible to enter into parent category. Ok? The condition must be actual for every parent category on my web site.

    Many thanks in advance!

    regards,
    alex

  3. 8 years, 9 months ago SiteOrigin
    Hi, I Work Here

    Sure :) Please, see: Thread: How can I remove the link from my top level menu item?

  4. 8 years, 9 months ago schiller

    It works great! Many thanks!

    regards,
    alex

  5. 8 years, 9 months ago SiteOrigin
    Hi, I Work Here

    That’s great news. Glad we could assist.

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