Padding in Posts

Posted in: Newspaper
Post count: 41

I have lovely borders in my newly updated website, but the text is jammed up against them. Is there a way that I can add padding so that the posts are easier to read? Thanks.

https://www.vegaswineaux.com/

Post count: 20688

Hi,

You mean in the post page, I see you have set a border around the post content. You could also add a padding, like this maybe
http://prntscr.com/kr7sql
Or test with other values as well.

Post count: 41

When it comes to CSS, I’m very tentative. I copied the code exactly as written, and it does a great job of putting the padding exactly the way I wanted. If I want to change the border from solid black to a hex color, however, I’m a little more cautious. How would I do that? If I can get that locked, I’m about 90% there! Thanks for your great support, by the way!

Post count: 20688

That is possible. There are even tools to choose the colors
https://www.w3schools.com/colors/colors_picker.asp
Maybe choose a color similar to the block headers for example
https://www.screencast.com/t/YJ78QpVD

You could also experiment with shadows, there are plenty of generators available
https://html-css-js.com/css/generator/box-shadow/
https://www.screencast.com/t/nibOPkNb

A small guide here – https://forum.tagdiv.com/create-custom-code-using-the-browsers-inspector/

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