[Resolved] Search box problem on mobile side bar

Home Forums Support [Resolved] Search box problem on mobile side bar

Home Forums Support Search box problem on mobile side bar

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #1524222
    Sebastian

    Hi! I’m using the search block on the right side bar of my blog. On mobile version, the search bar and the button are align horizontaly with no padding between them.

    Please can you provide some information to add padding between those two elements so they don’t look agglutinated.

    #1524307
    Leo
    Staff
    Customer Support

    Hi there,

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

    You can use the private information field.

    Let me know ๐Ÿ™‚

    #1524309
    Sebastian

    Here you have the link of the site
    Thank you!

    #1524346
    Leo
    Staff
    Customer Support

    This is what I’m seeing using the browser mobile simulator:
    https://www.screencast.com/t/NxjrjVUVlXn8

    Is that what you are seeing?

    #1524479
    Sebastian

    This is what I see Leo.

    #1524556
    Leo
    Staff
    Customer Support

    Looks like the issue is only on super small mobile screens.

    Try this CSS:

    @media (min-width: 330px) {
        .wp-block-search .wp-block-search__button {
            margin-left: 0px;
            margin-top: 10px
        }
    }

    Adding CSS: https://docs.generatepress.com/article/adding-css/

    #1524560
    Sebastian

    Thank you so much Leo!! It worked perfectly!

    #1524563
    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.