Printable Version of Topic

Click here to view this topic in its original format

HTMLHelp Forums _ Cascading Style Sheets _ Wordpress post title color change

Posted by: Jsheff Dec 3 2018, 11:29 AM

How would I change the color of this post title?:

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

Thank you for the help

Posted by: Christian J Dec 3 2018, 12:06 PM

In your CSS, you could try

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 (a little old, but the basics still apply).

Powered by Invision Power Board (
© Invision Power Services (