Search…

X3 Photo Gallery Support Forums

Search…
 
elpd
Experienced
Topic Author
Posts: 55
Joined: 02 Sep 2008, 06:30

Subheader uppercase issue

12 Dec 2014, 05:14

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:
 
User avatar
mjau-mjau
X3 Wizard
Posts: 14469
Joined: 30 Sep 2006, 03:37

Re: Subheader uppercase issue

13 Dec 2014, 05:59

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;
}