Increase spacing between sidebar titles & content

So if you look at this page:

https://www.ohiocannabis.com/dispensaries/

If you look at the sidebar you’ll see the content section titles & their respective content need some spacing between them to look proper.

What’s the best way to do this?

Thanks!

Hello John,

Thanks for asking. :slight_smile:

Please remove following code from your CSS panel and spacing should get automatically adjusted.

.x-sidebar img, .x-sidebar .h-widget, .x-sidebar p{
margin: 0 auto !important;
}

Thanks.

Ok we had to add that code to help center images in the sidebars like the seal of Ohio at the top of the sidebar on this page:

https://www.ohiocannabis.com/doctors/

This was the full code I was told to add: .x-sidebar img, .x-sidebar .h-widget, .x-sidebar p{ margin: 0 auto !important; display: block !important; text-align: center !important; }

So if I just remove the margin: 0 auto !important; it does fix the spacing between the titles & content, but then it un-centers the logo on that page?

So how can I accomplish both without affecting the other?

Hi John,

We can update that CSS code to this;

.x-sidebar img {margin: 0 auto !important;}

So it will only apply specifically to the sidebar images.

Hope it helps,
Cheers!

Ok I added that to the CSS, thank you!

You’re welcome! :slight_smile:

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.