Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1468807

    Screenshot-2024-10-10-134708

    For some reason the active page is supposed to be bold, but it bolds all pages in the dropdown and the parent page?

    Any idea to ONLY have the active page menu item bolded?

    #1468814

    well – be more specific in your selectors – change your rule to :

    .header_color .main_menu ul:first-child > li.current-menu-item > a > .avia-menu-text {
      font-weight:700
    }

    the greater than (>) indicates that only the direct descendants are meant, and not grandchildren etc.

    or you can do that by enfold – under advanced styling there is the choice to style only “main menu links” and that means only first level items.

    #1468833

    It is still bolding the parent page, but not the actual page now.

    #1468857

    i thought you like to have the first level only in that style.

    ok – get rid of the bold setting for parent theme
    ( via : #top #header .av-main-nav > li.current-menu-item > a )
    and use:

    .header_color .main_menu ul  li.current_page_item > a > .avia-menu-text {
      font-weight:700;
      color: #000;
    }
    #1469004

    Hi,
    When I test Guenni007’s css it works correctly, thanks Guenni007.
    Screen Shot 2024 10 12 at 5.51.12 PM

    Best regards,
    Mike

    #1469132

    Thank you so much!

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Active page bold – not parent or sub page’ is closed to new replies.