Site logo

[Resolved] The X of the search box in a sticky logo with a menu

Home Forums Support [Resolved] The X of the search box in a sticky logo with a menu

Home Forums Support The X of the search box in a sticky logo with a menu

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

    Hi Tom,

    I have a bit of an issue with the search box in mobile. As soon as it gets sticky and only if there’s a logo in the sticky navigation, the search magnifying glass moves. That’s okay but then the search X ends up in the middle of the search area and it’s worst if you increase font size.

    I believe the X should be at the extreme-right of the navbar in any case.

    Do you have a trick for that? Here’s a screenshot.

    Still not sure if I am proud of my screenshot animation or not, lol.

    Have a nice weekend.

    #1530553
    Leo
    Staff
    Customer Support

    Hi there,

    I’m seeing a different mobile layout when using the Chrome simulation:
    https://www.screencast.com/t/TwRq5R36G

    Can you confirm?

    Can you also make sure this is done?
    https://www.screencast.com/t/etzzs9gs0Ir

    #1530558
    Mathieu

    This is not a caching matter, your screenshot is true but it changes once you scroll down and it gets sticky… Just scroll down

    #1530573
    Leo
    Staff
    Customer Support

    I’m not saying that the caching plugin is causing the issue – Disabling the caching plugin allows us to inspect the code better so we can determine the issue which is why we always ask for it.

    Can you please do that first?

    #1530583
    Mathieu

    I sent you a test version with no caching.

    #1530586
    Leo
    Staff
    Customer Support

    Give this CSS a shot:

    @media (max-width: 768px) {
        .search-item.close-search a {
            position: fixed;
            right: 0;
            top: 0;
        }
    }
    #1530589
    Mathieu

    And that was super super quick and efficient.

    Thanks Leo

    #1530590
    Leo
    Staff
    Customer Support

    No problem 🙂

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