The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Wordpress post title color change, Change post title color
Jsheff
post Dec 3 2018, 11:29 AM
Post #1





Group: Members
Posts: 1
Joined: 3-December 18
Member No.: 26,768



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

This post has been edited by Jsheff: Dec 3 2018, 11:30 AM
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Christian J
post Dec 3 2018, 12:06 PM
Post #2


.
********

Group: WDG Moderators
Posts: 9,630
Joined: 10-August 06
Member No.: 7



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).
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 28th March 2024 - 04:40 AM