[Resolved] Horizontal scroll on mobile (homepage only)

Home Forums Support [Resolved] Horizontal scroll on mobile (homepage only)

Home Forums Support Horizontal scroll on mobile (homepage only)

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1642525
    Karl

    Hi, as the topic title says. I cant figure out why the homepage has a small horizontal scroll on mobile.

    My site: https://gavekongen.no

    Any suggestions?

    Thanks,
    Karl

    #1642761
    David
    Staff
    Customer Support

    Hi there,

    its the WP Search Block – they add 100% width to the invisible label which can cause this problem.
    Add this CSS to fix that:

    .site-main .wp-block-search .wp-block-search__label {
      width: unset;
    }
    #1642862
    Karl

    That worked! Thanks man.

    #1643101
    David
    Staff
    Customer Support

    Glad to hear that!

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