Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #1489578

    Hi!
    I have the following problem: I have a parent page that’s linked in the menu, and everything is displayed correctly. The child pages aren’t linked in the menu, but should still be highlighted in the respective menu item. (In my case, the menu item should be underlined.)

    For example:
    menu: Home – Food – Drinks – Contact
    Page drinks is parent, page wine is child and not linked from the menu but Drinks should be marked as active

    How can this be resolved?
    Thank you!

    #1489586

    Hey walhai,

    Thank you for the inquiry.

    By default, the items should be organized in a hierarchy (parent-child menu items) so that the theme or WordPress can determine their relationships. If this is not the case, some customization may be required.

    Would you mind providing a screenshot of the issue or a link to a test page so we can check? You can use platforms like Savvyify, ImgBB, PostImages or Dropbox to upload and share the screenshot. Here are the steps to follow:

    1.) Visit the website of your chosen platform, such as Savvyify, ImgBB, PostImages or Dropbox.
    2.) Locate the option to upload a file or an image.
    3.) Select the screenshot file from your computer or device and upload it to the platform.
    4.) After the upload is complete, you will be provided with a shareable link or an embed code.
    5.) Copy the link or code and include it in your message or response to provide us with the screenshot.

    Thank you for taking the time to share the screenshot. It will help us better understand the issue you’re facing and provide appropriate assistance.

    Best regards,
    Ismael

    #1489589

    Thank you for answering.
    Here a screenshot.

    Image 1 is the link from the menu and is underlined.
    Image 2 is the link from the side menu and should be underlined
    Image 1 is set as parent and Image 2 as child.
    I hope it is understandable now.
    Thank you and best regards
    Barbara

    • This reply was modified 2 weeks, 5 days ago by walhai.
    #1489613

    Hi,
    Please provide a link to your page so we can examine.

    Best regards,
    Mike

    #1489641

    Sorry, link is not possible because the page is under maintance mode. Please find all informations in PC
    Thank you!

    #1489674

    Hi,

    Thank you for the login info.

    Try using this css code to adjust the color of the line on initial load, then change it on scroll or when the header transparency is disabled.

    .page-id-516 li#menu-item-508 .avia-menu-text::after, .page-id-536 li#menu-item-508 .avia-menu-text::after, .page-id-553 li#menu-item-508 .avia-menu-text::after, .page-id-555 li#menu-item-508 .avia-menu-text::after {
        background: #000000 !important;
    }
    
    .page-id-516 .av_header_transparency li#menu-item-508 .avia-menu-text::after, .page-id-536 .av_header_transparency li#menu-item-508 .avia-menu-text::after, .page-id-553 .av_header_transparency li#menu-item-508 .avia-menu-text::after, .page-id-555 .av_header_transparency li#menu-item-508 .avia-menu-text::after {
        background: #f8f8f8 !important;
    }

    Best regards,
    Ismael

    #1489687

    Thank you for the solution. I tried it but the black line is not on the correct position and the length is not correct. Any ideas??
    Thank you and best regards
    Barbara

    #1489707

    Hi,

    Thanks for the update.

    Try to adjust the values in this css code:

    .page-id-516 li#menu-item-508 .avia-menu-text::after, .page-id-536 li#menu-item-508 .avia-menu-text::after, .page-id-553 li#menu-item-508 .avia-menu-text::after, .page-id-555 li#menu-item-508 .avia-menu-text::after {
        top: 32px;
        height: 2px;
        min-width: 167px;
        left: -10px;
        bottom: -9px;
    }

    Best regards,
    Ismael

    #1489892

    Thank you for your help. We found a solution. You can close the topic.
    Best regards Barbara

    #1489899

    Hi,

    Thanks for the update. Please open a new thread if you should have any further questions or problems.

    Best regards,
    Rikard

Viewing 10 posts - 1 through 10 (of 10 total)
  • The topic ‘menu not linked child pages should be marked in the menu’ is closed to new replies.