[Support request] Mobile Navigation Search Order

Home Forums Support [Support request] Mobile Navigation Search Order

Home Forums Support Mobile Navigation Search Order

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1976801
    _blank

    Hi,

    I have a search button in my primary navigation, which in mobile header shows on the left by default:
    https://1drv.ms/u/s!Ajkoo-gGVQk2iKpYMdzJUc0ziMcD4Q?e=77aiOC

    Thus, when clicked, the X button shows in the middle of the search field. I’d prefer to have the search icon on the right in the mobile header, like this:
    https://1drv.ms/u/s!Ajkoo-gGVQk2iKpZb_nN259ZyhWXtw?e=LKzhc1
    so that the X button is on the right as well.

    I thought about flex-direction: row-reverse, but I’m not sure to which container that could go.

    Thanks.

    #1976822
    Leo
    Staff
    Customer Support

    Hi there,

    Any chance you can link us to the site in question?

    You can use the private information field:
    https://docs.generatepress.com/article/using-the-premium-support-forum/#private-information

    Let me know 🙂

    #1978220
    _blank

    Unfortunately the site is offline. Maybe at least a screen with the elements structure view would help.

    #1978805
    David
    Staff
    Customer Support

    Hi there,

    try this CSS:

    .main-navigation .menu-bar-items {
        order: 3;
    }
    #1979938
    _blank

    Yes, that works. Thanks!

    #1980195
    David
    Staff
    Customer Support

    Glad to hear that!

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