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

    Hi there,

    I’ve been asked to do a website for a new client who wishes to have a right/left menu with logo in the centre (not above).

    All current configurations within enfold do not allow for this. I’ve looked at the Full width Sub Menu, but this cannot be placed into any of the layout elements i.e. 2/5 (menu left) 1/5 (logo) 2/5 (menu right).

    I’ve tried to isolate the code for the Full width Sub Menu feature but I’ve not been able to, i.e. to place in a code block, configured as above.

    Can you help me here?

    Thanks, Silvio

    #544637

    Hey silviouk!

    You can do a logo center, menu below layout and then use CSS to split up the menu on either side. Send us a link to your page and we’ll take a look. You can set your reply as private if you wish.

    Best regards,
    Elliott

    #544751

    Hi Elliot, the link is below, thanks! This is a test domain/site to explore options before starting the full work, so if you can forward whatever the custom css is…Silvio

    • This reply was modified 9 years ago by silviouk.
    #545855

    Hi there,

    I’ve used this quick css, but unfortunatly it also affects the mobile menu alignment, is there a way to isolate the main menu to split left/right, but doesn’t affect the mobile menu?:

    strong.logo {
    top: 50px;
    }
    li#menu-item-47 {
    left: -200px;
    }
    li#menu-item-49 {
    left: -200px;
    }
    li#menu-item-53 {
    right: -300px;
    }
    li#menu-item-46 {
    right: -300px;
    }
    li#menu-item-45 {
    right: -300px;
    }

    #546100

    Hi!

    Yes, surround it all with this.

    @media screen and (max-width: 767px) {
    
    }

    And it will only be applied on screens larger than 767px.

    Regards,
    Elliott

    #546128

    This option doesn’t stop the MOBILE menu becoming out of line, as was my query.

    • This reply was modified 9 years ago by silviouk.
    #547038

    Hi!

    it does, if you do it correctly. As Elliott said surround your code with the media queries he provided to you. Something like this:

    @media screen and (max-width: 767px) {
    strong.logo {
    top: 50px;
    }
    li#menu-item-47 {
    left: -200px;
    }
    li#menu-item-49 {
    left: -200px;
    }
    li#menu-item-53 {
    right: -300px;
    }
    li#menu-item-46 {
    right: -300px;
    }
    li#menu-item-45 {
    right: -300px;
    }
    }
    

    This way your code will work for mobile screens only. Adjust as needed.

    Best regards,
    Andy

    #547099

    I forgot the final } !!! Thanks guys!

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘SPLIT MAIN MENU’ is closed to new replies.