[Resolved] How to remove the padding of just one widget in the sidebar

Home Forums Support [Resolved] How to remove the padding of just one widget in the sidebar

Home Forums Support How to remove the padding of just one widget in the sidebar

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #487936
    Satori

    I’m using the widget text in the sidebar to add my AdSense code. Anyway the widget area has some padding assign, which is great for other widgets. But for this particular use case I need to completely remove it from this one, so AdSense can display a much more appealing ad block.

    Is there some way to do this?

    #487977
    Leo
    Staff
    Customer Support

    Hi there,

    Try this CSS:

    .widget-area #text-4.widget {
        padding: 0;
    }
    #489106
    Satori

    Thank you Leo, this does the trick.

    #489532
    Leo
    Staff
    Customer Support

    No problem!

    #665029
    Dominique

    Hi,
    I try the code but it do nothing, it’s specific to his widget?

    It’s possible to deactivate padding to all text widget?

    #665112
    David
    Staff
    Customer Support

    Hi there,

    can you raise a new topic please. It makes it easier for us to track and follow up. 🙂

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