Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #695261

    Hi,
    I have many items in the main menu, and while it looks ok on bigger screens (20+ inch), the menu items spill into a second line and outside of the main menu area, and in this case become semi hidden on the slider area.

    How do I go about resolving this? E.g. We can make the spill over items appear in an expanded menu area on the smaller screens and have all the links centralized etc.

    #695677

    Hey sheefoo,

    Please refer to this post – http://kriesi.at/documentation/enfold/switching-to-mobile-menu-on-higher-resolutions/

    Best regards,
    Yigit

    #697050

    Hi Yigit,

    That is not what I am trying to achieve here. I want to keep the menu as it is, except to let the spillover happen on a second row that is visible in the navigation bar and not spill out of it. And to centralize all the links in the menu so that it looks neat.

    Please help me out with this.

    #697261

    Hi,

    Please try adding this code to the Quick CSS section under Enfold > General Styling or to your child themes style.css file:

    @media only screen and (max-width: 1400px) {
    .av-main-nav > li > a {
        padding: 0 4px;
    }}
    

    Please make sure that > sign is not converted to – http://i.imgur.com/IDXRZQ3.png in Quick CSS field.

    Best regards,
    Yigit

    #697561

    I have added the code but it does not seem to solve my problem. Let me try to show you what is wrong using this screen shot:
    http://imgur.com/a/J8BjR

    The navigation menu is too long hence spills into the 2nd line together with the search link, and that becomes semi hidden in the sliders. I want the links for both lines to centralize, and be in the menu region. How do i achieve that?

    #697794

    Hi,

    I changed custom CSS code to following one

    @media only screen and (max-width: 1400px) {
    .av-main-nav > li > a {
        padding: 0 4px;
    }}
    @media only screen and (min-width: 1401px) {
    .av-main-nav > li > a {
        padding: 0 10px;
    }}
    #header #header_main_alternate .container {
        padding: 0;
    }

    and it does work fine until 1180px. You have so many menu items to display them on one line on smaller screens. I would recommend you to switch it to mobile menu on screens smaller than 1180px – http://kriesi.at/documentation/enfold/switching-to-mobile-menu-on-higher-resolutions/

    Best regards,
    Yigit

    #705932

    Hi Yigit thank you so much. I understand that it may be impossible to display the menu items on one line. Is there any way to display them on two lines then, As I foresee that the menu might continue expanding as our product range increases…

    #707126

    Hi,

    it should be displayed automatically in two lines, if there are too many menu items.

    Best regards,
    Andy

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