Help - Search - Members - Calendar
Full Version: Wordpress post title color change
HTMLHelp Forums > Web Authoring > Cascading Style Sheets
Jsheff
How would I change the color of this post title?:

<h2 class="entry-title" itemprop="headline"><a href="http:/xxxxx.com/electrician-services/" rel="bookmark">Scarborough Electrician Services</a></h2>

Thank you for the help
Christian J
In your CSS, you could try

CODE
h2.entry-title {color: red; background: white;}

The above will style all H2 elements with the CLASS "entry-title". If other CSS already exists (templates etc) they may or may not interefere with the above.

See also http://htmlhelp.com/reference/css/structure.html (a little old, but the basics still apply).
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2019 Invision Power Services, Inc.