• Resolved dietredthunder

    (@dietredthunder)


    Hi,

    Is there a way to move the primary navigation menu block to the very top of the page in Storefront or more specifically the Storefront Boutique. (in RED)

    Also, is there a way to reduce the gaps above the menu items in the Primary Nav window. (in Yellow)

    Best regards,

    RT

    View post on imgur.com


    [img]https://imgur.com/TiIyU89[/img]
    [img]https://i.imgur.com/TiIyU89.jpg[/img]

    • This topic was modified 2 years, 7 months ago by dietredthunder. Reason: more info

    The page I need help with: [log in to see the link]

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter dietredthunder

    (@dietredthunder)

    .boutique-primary-navigation {
    position: relative;
    margin-left: .874em;
    margin-right: .874em;
    padding: 0 1.874em;
    display: none;
    background-color: blueviolet;

    Makes my site look like this now.

    https://www.jomcallister.co.uk

    • This reply was modified 2 years, 7 months ago by dietredthunder. Reason: Possible update

    Hi there,

    Were you able to achieve what you wanted? I see that the menu is right in between the logo and the search bar now. (Secondary menu location)

    The CSS that you’ve applied has the line display: none; which hides the Primary menu altogether.

    I’d suggest removing that CSS code block and unchecking the Primary Menu under Appearance > Menu for the menu that is hidden.

    Thread Starter dietredthunder

    (@dietredthunder)

    @kaushiksomaiya

    Thanks for the reply. Yes I have been playing since my orginal post.

    I have put the site back as above on the orginal post.

    Trying to get the Main Menu in the dark box put to the very top of the page and reduce the line height a bit. As per the screen grab.

    Thought I had it solved yesterday, but it removed my burger menu on the mobile.

    Best regards,

    DiRT

    Hi there,

    Thanks for getting back.

    Thought I had it solved yesterday, but it removed my burger menu on the mobile.

    You can try applying @media rule on your CSS code to make sure it doesn’t apply on the mobile view. You can find more about @media rules here.

    I hope this helps. Please don’t hesitate to reach out if you have any further questions.

    Cheers!

    Thread Starter dietredthunder

    (@dietredthunder)

    Hi, I have solved the colour problem. In another thread and marked solved ??

    Next
    Trying to put the menu at the top of the page.
    And hope to reduce the gaps above and below the words in the menu would be nice.

    Any thoughts.

    Best regards,

    DiRT

    Praveen a11n

    (@spraveenitpro)

    Automattic Happiness Engineer

    Hi @dietredthunder

    >Trying to put the menu at the top of the page.
    And hope to reduce the gaps above and below the words in the menu would be nice.

    Some CSS code should definitely help here. Some references to help:

    1. https://developer.mozilla.org/en-US/docs/Web/CSS/top
    2. https://developer.mozilla.org/en-US/docs/Web/CSS/padding
    3. https://developer.mozilla.org/en-US/docs/Web/CSS/margin

    Cheers!

    Hi @dietredthunder,

    Hope the menus now appear as expected! We haven’t heard back from you for a while, so I’m going to mark this post as resolved.

    If you need any further help here, please let us know. Or, if you need additional help with the Storefront theme, please start a new thread and we’ll be able to help you out there.

    Thank you!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Moving Nav Menu to very top of page ?’ is closed to new replies.