Blogger Tutorial: How to Add Blocks of Color Behind Post Text
Hey Friends!Yesterday I figured out how to add different colours in behind blocks of text.
You can do this with blogger's highlight tool, but you don't end up with a nice rectangular box. Instead you get something like this! Yuck!
It was very easy to do and I think it looks super cool, so I thought I'd share the code with you.
Here's an example right here.
And here's another one with a heading font.
Isn't that neat?
It's so useful for highlighting blocks of text and looks much tidier and more professional.
<div style="background-color: #f93bc1; font-color: black; margin-left: 20px; margin-right: 20px; padding-bottom: 8px; padding-left: 8px; padding-right: 8px; padding-top: 8px;">
Here's an example right here.</div>
All you have to do is:
- copy the code
- go to your post
- go to html version (not compose)
- paste the code where you want it to be
- replace "here's an example right here" with your own text
- switch back to compose version and see your pink coloured background
You can find those HERE.
And if you'd like to adjust the spacing on either side of the boxes, just change the 20px in margin-left and margin-right to something else.
If you're looking for more blogger tutorials you can find them under my label "Blog it Pretty".
BTW, if you're interested in colour theory, you might enjoy reading this post about colour meaning, symbolism and psychology at Jen Reviews.
Thanks for reading!
This block of colour looks great and draws attention to the text inside. Thank you!
ReplyDeleteHey, you're very welcome! Thanks for stopping by :)
Delete