Support » Theme: Twenty Twenty-One » Unwanted Blank Space to the Right

  • Resolved profbakes

    (@profbakes)


    Hi,

    I am using the Twenty Twenty-One theme, and my Homepage has an extra blank space to the right side which shouldn’t be there. I edited the page only with the WordPress editor (I do not know CSS).

    How do I get rid of this blank space? It looks unsightly, especially when the website is loaded on mobile phones.

    Thank you.

    Regards
    P

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • @profbakes
    The problem is related to CSS
    .wp-block-search .wp-block-search__label
    The width is set at 100%, and that is causing the issue.

    So, one solution would be removing that width in Additional CSS like this:

    .wp-block-search .wp-block-search__label {
    width: auto;
    }

    P.S. If you don’t see results when adding this code at Additional CSS, add !important like width: auto!important;

    Thread Starter profbakes

    (@profbakes)

    This works great, thank you, Joel!

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