• 0

Change colour of just header text


Question

Posted · Report post

1st: I'm a newbie.

2nd: I've worked out how to use the styling class to create: "my-red-text" and then in the custom code area I've got: ".my-red-text {color:#ff0000;}" - so that's all good.

 

problem:

How do I change just the header text. The problem with my-red-text is that it changes all the text in the section. Do I need to do this "#h4 .my-red-text"?? Any help appreciated.

 

Share this post


Link to post
Share on other sites

1 answer to this question

  • 0

Posted · Report post

You can wrap text in its own div, if the text is in a text widget.  Else, you can inspect the site in another browser, with a tool such as a Firebug for Firefox. That will let you see if there's a unique class or ID for the text you want to change.  Likely there will be.  You can then apply changes to that specific class or ID to color the text, resize it, etc.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now