[Resolved] Again help with mobile header

Home Forums Support [Resolved] Again help with mobile header

Home Forums Support Again help with mobile header

Viewing 15 posts - 1 through 15 (of 17 total)
  • Author
    Posts
  • #2282924
    Leonardo

    Hello how are you?

    I had to make some corrections to the header of the site I’m looking for parts and I’m, again, finding it difficult to adjust the header on mobile.

    The elements are there, but unconfigured. The way I want to leave them, snug next to each other, is:

    hamburger menu / logo / user and cart

    Is it possible to help me?

    I am sending the link and data for access.

    #2282954
    Ying
    Staff
    Customer Support

    Hi there,

    The URL you attached doesn’t link us to the login page, can you check?

    #2283009
    Leonardo

    Sorry

    #2283010
    Leonardo

    Sent again!

    #2283084
    Fernando
    Customer Support

    Hi Leonardo,

    In your Block Element, set the view to mobile, and try setting the Container Width of the columns to 50% or less. They’re currently set to 100%: https://share.getcloudapp.com/kpu8lJyR

    Try setting the horizontal spacing through the Grid’s Block settings instead as well: https://share.getcloudapp.com/o0uGJRk2

    Kindly let us know how it goes.

    #2283971
    Leonardo

    Fernando, you again =D

    It’s true, I had forgotten about those other adjustments.

    I did and now I would need to change them, leaving:

    menu / logo / icons

    #2284046
    Ying
    Staff
    Customer Support

    Try to add this CSS:

    #mobile-header button.menu-toggle {
        order: -1;
    }
    #2284741
    Leonardo

    Thanks!!!

    #2284762
    Leonardo

    Hello, I would like to try the topic to see is it possible to throw the logo to the left and the menu to the right to change the image I am sending)

    https://formuladiecast.com.br/wp-content/uploads/2022/07/stick_menu.png

    NOTE: this setting will only be for the fixed menu desktop.

    Login and password also sent.

    #2285507
    Ying
    Staff
    Customer Support

    Add this CSS:

    @media (min-width: 769px) {
        #sticky-navigation .navigation-branding {
            position: relative;
            transform: none;
            left: auto;
            order: -1;
            margin-right: auto;
        }
    }
    #2286081
    Leonardo

    Hello, ying!

    It almost did… However, the logo is on the right and I would like to place it exactly the other way around, that is, on the left side of the menu.

    https://drive.google.com/file/d/1zKqla7-6Iw3jqAXzbiqgMkZV262-PQf8/view?usp=sharing

    #2286089
    Leonardo

    A second question…

    How do I change the css from the sticky menu to links when “mouse over” and “links active”?

    I was able to change only the “default” color.

    #2286497
    Ying
    Staff
    Customer Support

    I’ve updated the CSS here:https://generatepress.com/forums/topic/again-help-with-mobile-header/#post-2285507

    For the hover color, try this:

    .main-navigation.navigation-stick .main-nav ul li:not([class*="current-menu-"]):hover > a {
        color: black;
    }
    #2286857
    Leonardo

    Thank you, Ying.

    Now the following remains:

    modify the color of the active link in the sticky menu

    Thank you very much!

    #2286859
    Fernando
    Customer Support

    Hi Leonardo,

    You can try this CSS:

    nav#sticky-navigation.is_stuck .main-nav ul li.current_page_item a {
        color: rgba(255,255,255,0.6)
    }

    Hope this helps!

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