• [ Moderator note: moved to Fixing WordPress. ]

    Hello!
    Help stretch the button across the width of the sidebar.
    The telegram button turned out to be very small, I need to smooth it over the width of the side panel.
    You can see for yourself https://hyipgang.org/
    Theme Generatepress. help me please
    screenshot – https://hyipgang.org/41-2/

    • This topic was modified 7 years, 8 months ago by hyipgang.
    • This topic was modified 7 years, 8 months ago by Jan Dembowski.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Hello,

    The width of the button you have highlighted is already the full width of the container it’s in. If you need it to go to the edges of the widget you will need to adjust the padding defined by the following style in your CSS:

    .widget-area .widget {
        padding: 40px 40px 40px 40px;
    }

    ~ Steven

    Thread Starter hyipgang

    (@hyipgang)

    Steven. I inserted your code in a simple css, nothing happened

    Adding in the code I provided wont do anything. I was highlighting the section of code you need to edit to fit what you want to achieve.

    For example, this will remove the padding from the left and right of widgets so elements touch the side of the box:

    .widget-area .widget {
        padding: 40px 0;
    }

    If you remove the padding you’ll need to re-add it to the areas that still need it.

    ~ Steven

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Help stretch the button’ is closed to new replies.