Login  Register

<h5>

classic Classic list List threaded Threaded
5 messages Options Options
Embed post
Permalink
Reply | Threaded
Open this post in threaded view
| More
Print post
Permalink

<h5>

Harvey
In our magazine I am using the h5 tag for photo captions.

Like this:

<h5 style="text-align: center; font-size: .9em;">Caption</h5><br/>

I want to change the font, color and boldness of the h5 across the entire app.

Can you show me how to do it? Is it in the CSS?
HTTPS Please!
Reply | Threaded
Open this post in threaded view
| More
Print post
Permalink

Re: <h5>

Pedro
I think the best option here is make a css like this:
div.root-text h5 {
  font-family:  ____ ;
  color: _____ ;
  font-weight: _____ ;
}
My test forum.
Reply | Threaded
Open this post in threaded view
| More
Print post
Permalink

Re: <h5>

Harvey
This is working except that the h5 remains BOLD which I think is built into it.

even if I do font-weight normal in the CSS.

Any way around that?
HTTPS Please!
Reply | Threaded
Open this post in threaded view
| More
Print post
Permalink

Re: <h5>

Pedro
You can use:  
font-weight: normal !important ;
The code that are making your h5 bold is somewhere else.
My test forum.
Reply | Threaded
Open this post in threaded view
| More
Print post
Permalink

Re: <h5>

Harvey
Pedro <Nabble> wrote
You can use:  
font-weight: normal !important ;
The code that are making your h5 bold is somewhere else.
Turns out I had spelled "weight" wrong. It works without !important.
HTTPS Please!