How do I create a color block underneath a section of text?
-
I write a food blog and want to highlight the recipes by using a block of color underneath that portion of text. My theme is Pilcrow. Do I need custom CSS for that or is there a tool to put in a block of color?
Blog url: http://50years50recipes.wordpress.com/ -
You could possibly do this with the HTML editor and adding code like this:
<p style="background-color:#f1f1f1">This is a test.</p>However, the best way to do it would be with a custom design upgrade. By doing it with custom CSS you wouldn’t have to manually change the color should you decide to have it look different in the future.
- The topic ‘How do I create a color block underneath a section of text?’ is closed to new replies.