• 0
Sign in to follow this  
Followers 0

Styling headers in DMS2


Question

Posted · Report post

Hi again,

 

So I'm a little lost here. I'm trying to find the place I assign a colour style to h1, h2 etc and think I read that I need to declare it as custom CSS, is that right?

 

I'd like to set a different color for different headers...

 

Sorry for my ignorance but I am learning, albeit slowly ;)

 

Cheers

 

Barney

Share this post


Link to post
Share on other sites

3 answers to this question

  • 0

Posted · Report post

Hi Barney

 

That's correct, so for example if you were styling the h tag of a box, you'd use something like this.

 

.ibox .ibox-text h4 {
    color: #25E622;
}
 
To find the code to use, you'd use a web inspector like firebug or Chrome's inbuilt web inspector tool. See a screencast of how I got the above using firebug here - http://screencast.com/t/pRUj2BPEpl

 

If you want to set the colors for all h tags you'd do something like -

 

h4 {
    color: #56569D;
}
 
Just copy paste the code you find directly into your custom css and save.
2 people like this

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

Perfect! Many many thanks :)

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

Thanks for informing us the issue has been resolved.

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
Sign in to follow this  
Followers 0