[Resolved] Submenu Styling

Home Forums Support [Resolved] Submenu Styling

Home Forums Support Submenu Styling

Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #1625549
    Adrien

    Dear GP Team,

    I would need your help to style my submenu for the STREAM site library template.

    I have created one sub-menu under “FORMATION” main menu to show you my issue. The submenu is starting too close to the main menu.

    I’d like to have something like shown on the picture enclosed. Ideally perfectly aligned with the top of my main content (which on the home page is a banner).

    https://tinyurl.com/yycyq25l

    Appreciate your help. Best, Adrien.

    #1625576
    Leo
    Staff
    Customer Support

    Hi there,

    Would it work if you increase the menu item height?

    If this doesn’t work, can you disable all plugins except GP Premium and GenerateBlocks for me to take a closer look at the code?

    Thanks πŸ™‚

    #1625593
    Adrien

    Dear Leo, Thank you for your reply! I would not like to increase my many nav height.
    Hence, as requested i’ve disabled all plugin incl. caching in order for you to take a look.

    Appreciate your help.

    #1625627
    Adrien

    Hello, I can not leave all my plugins disabled for too long because my site is live.
    Could you advise if you will look into this today or tomorrow or later please?

    No rush. Best, Adrien

    #1625642
    Leo
    Staff
    Customer Support

    Just to confirm, you want to keep the current submenu height and width, but just move it away from the parent menu item a bit?

    #1625653
    Adrien

    Yes Leo. Exactly as show on the previously enclosed picture that I’m re-enclosing here.
    I’ve drawn where exactly the submenu should ideally start:

    https://tinyurl.com/yycyq25l

    #1625686
    Leo
    Staff
    Customer Support
    #1625710
    Adrien

    Hello Leo, Thank you but it did not work for me ;-(

    #1625757
    Elvin
    Staff
    Customer Support

    Hello Leo, Thank you but it did not work for me ;-(

    On David’s part of the code which is this one:

    .main-navigation .main-nav ul ul {
            margin-top: 10px;
        }

    You can increase the margin-top to the value of your preference. This one sets the distance between the parent and the sub-menu.

    Here’s a demo: https://share.getcloudapp.com/v1u4ZBRx

    try using 40px or 35px.

    A wise man once said:
    "Have you cleared your cache?"

    #1625805
    Adrien

    Hello Alvin ! Hello Leo, Thank you so much to both of you. Your combined force solved my issue πŸ˜‰
    Appreciate your time and help.

    #1625808
    Elvin
    Staff
    Customer Support

    Nice one. We’re glad you got it sorted. πŸ™‚

    A wise man once said:
    "Have you cleared your cache?"

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