[Resolved] Change Width of Single Sidebar Widget

Home Forums Support Change Width of Single Sidebar Widget

This topic contains 3 replies, has 2 voices, and was last updated by  Tom 2 weeks, 2 days ago.

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

    Rylan Urban

    I’m wondering the best way to set a max width for a single sidebar widget.

    For example, here, the third right-sidebar widget houses a response ad which fills the entire space of my widget area. However, I prefer the max width to be closer to the image in the first widget (300px).

    Without changing the adsize (it doesn’t work for mobile when I do that), how can I set a max width for this widget and keep the contents centred.

    Thank you!

    Rylan

    #1279986

    Tom Lead Developer

    Hi Rylan,

    I’m not sure it’s possible to manipulate the sizes of those ads.

    You could try adding padding to the widget:

    #custom_html-3 {
        padding-left: 20px;
        padding-right: 20px;
    }
    #1280680

    Rylan Urban

    Thanks Tom, exactly what I was looking to use. For some reason I can never guess the correct element when I’m trying to edit CSS. I “inspect it” but then never know which one to use.

    Rylan

    #1281232

    Tom Lead Developer
Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.