Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #924510

    How can I create a Menu like “Fullwidth Sub Menu” but without fullwidth. Just using the width of the page and not using the fullwidth with sidebar?

    Best regards
    Tony

    #924848

    Hey Tony,

    I’m not sure I understand what you mean by that, do you mean that you want it to have the same width as your container width? Please post a link to where we can see the page in question so that we can have a closer look.

    Best regards,
    Rikard

    #925388

    Hi Rikard

    Correct I would like to have the submenu not full width but in the container.

    I send you two links in the private Content for explanation.

    Best Regarfds
    Tony

    #925509

    In addition to above is it possible to change color of the submenu for the activ link (a) ? like with the main menu with the li.active-partent-item >a ?

    #926797

    Hi,

    You cannot place the full-width elements inside columns. However, If you like to add a menu below the slider please perform the below steps.

    1. Add your slider on the page where you want it ( inside column).
    2. Add the full-width menu element below the column in which slider is there.

    Please try adding this code to the Quick CSS section under Enfold > General Styling or to your child theme’s style.css file:
    NOTE: Please change the background color and width to suit your design it is only for visualisation.

       #top .av-submenu-container {
        max-width: 500px;
        background: gold;
    }
    

    Best regards,
    Vinay

    #928159

    Hi Vinay

    Tried it but it did not really work it was not just below the slide show which was inside the column. However I did the design with the fullwidth submenu.

    But there is another question: How can I have the menu item highlighted when the page is active?

    #929100

    Hi,

    I have tested the code on your site and it works fine. Please refresh the cache or deactivate any caching plugin after adding the below CSS to view the changes.

    /* Current menu item */
    .av-subnav-menu .current-menu-item ,
    .av-subnav-menu .current-menu-item a,
    .av-subnav-menu .current-menu-item a .avia-menu-text {
    background:#000!important;
    color:#FFF;
    }
    
       #top .av-submenu-container {
        max-width: 850px;
        background: gold;
        left:50%;
        transform:translateX(-50%);
    }

    Best regards,
    Vinay

Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.