Page 1 of 1

Subheader uppercase issue

Posted: 12 Dec 2014, 05:14
by elpd
Hi,

I found out that if I apply the uppercase style element to the header, it will also apply to the subheader. Is there a way to avoid this?
I tried this already:
Code
header:uppercase|subheader:lowercase
Code
header:uppercase|subheader:normal
Code
header:uppercase|subheader:

Re: Subheader uppercase issue

Posted: 13 Dec 2014, 05:59
by mjau-mjau
These things are still a bit in limbo ... basically the subheader is also a header, and therefore will inherit values applied to header. Setting subheader:normal basically means non-bold, so that will not reset the uppercase setting applied to headers ...

To be honest, if you need better control of these elements, you should add some rules to the custom/css/ section in your panel. You will need to familiarize yourself with basic CSS, but it gives more control. Basically leave your font-settings string quite simple, and try to add this instead to custom/css in your panel:
Code
h1, h2, h3, h4 {
  text-transform: uppercase;
}
h2.subheader {
  text-transform: none;
}