How to create borders for sidebars and blog postings

Posted in: Newspaper
Post count: 11

Hi,

I need assistance!

I’m trying to make the borders of the sidebars and the blog posts like this one (highlighted in red)

image

Post count: 11

link to the photo

photo

Post count: 6600

Hi,

You could do something like this using css http://screencast.com/t/d1YWKCEh This is for the blog page and also single posts page articles and also single posts page sidebar, using this custom css:

article, .td-post-sidebar {
border: 2px solid red;
}

Modify the borders as you like.

For the sidebar on pages though it’s not so easy as you can’t target it properly via css and you will end up adding the borders on other elements on the page also.
Sorry for this.

Hope this helps!
Thanks for the message!

Post count: 1

This works great for post sidebars. Can I do it for all of my sidebars?

Post count: 11

Thank you Lucian. It somewhat helped me. I was able to get the desired outcome after experimenting with several css classes.

Post count: 3343

Hi,

@smythk
you need to inspect the sidebar where you want to add that borders and use the right selector. You can use inspector from Chrome or firefox.

Viewing 6 posts - 1 through 6 (of 6 total)
The forum ‘Newspaper’ is closed to new topics and replies.