Site logo

[Resolved] footer widgets unequal width

Home Forums Support [Resolved] footer widgets unequal width

Home Forums Support footer widgets unequal width

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #1736590
    mohinish

    I have an embarrassing problem on my website: https://mohinishnirwal.com/

    There’s a wide gap between Footer Widget #1 and Footer widget #2.

    I’ve tried all sorts of things I know but the problem persists.

    Thanks

    #1736685
    David
    Staff
    Customer Support

    Hi there,

    go to Customizer > Additional CSS and remove this:

    /* footer widget area custom widths */
    @media (min-width: 1025px) {
      .footer-widgets .footer-widget-1 {
        width: 45%;
        padding-right: 20px
      }
    
      .footer-widgets .footer-widget-2 {
        width: 30%;
        text-align: center;
      }
    
      .footer-widgets .footer-widget-3 {
        width: 25%;
        text-align: center;
      }
    }
    #1737548
    mohinish

    thank you.

    #1737751
    David
    Staff
    Customer Support

    You’re welcome

    #2413554
    melonbird

    Same problem, but I don’t have that CSS. This just started after I switched from the Classic Widgets plugin to using the Gutenberg ones, and then removed and replaced a legacy Search widget with the new one. I’ve shrunk the search box, but it isn’t causing the first footer widget to go back to normal size.

    [removed site name]

    #2413910
    David
    Staff
    Customer Support

    Hi there,

    the GP Footer uses CSS Flexbox for its grid, which allows for columns to reflow if there contents require it.
    In this case you search block wants more space. You can fix its width using this CSS:

    
    .inside-footer-widgets .wp-block-search {
        max-width: 300px;
    }
    #2414691
    melonbird

    Thank you!

    #2414714
    David
    Staff
    Customer Support

    You’re welcome

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