SID-02415: PatternSkin H2 Refuses Modification
| Status: |
Asked |
TWiki version: |
6.0.2 |
Perl version: |
5.10.1 |
| Category: |
PatternSkin |
Server OS: |
Linux 2.6.32 |
Last update: |
6 years ago |
I want to modify the formatting of the headers to an IMHO more consistent appearance.
I have been mostly successful but one annoying formatting quirk is left:
All headers h1 to h6 behave the same but h2 still shows the known colour gradient in the background. What is really strange is that when I let the page reload, the page shows up absolutely perfect, continues with some data transfer, and when the last transfer is done, the h2 heading changes its appearance and gets the colour gradient.
So, to me, it seems that the color.css and style.css are obeyed on and some final action messes up the h2 format.
Any hints?
--
Detlef Marxsen - 2019-09-30
Discussion and Answer
You can customize the
PatternSkin. See
PatternSkinCssCookbook,
PatternSkinCss
Test case:
- Set USERSTYLEURL = /p/pub/Support/SID-02415/style.css
The
style.css attachment removes the gray background from the H2 header.
H1 Heading
Blah
H2 Heading
Blah
H3 Heading
Blah
H4 Heading
Blah
H5 Heading
Blah
H6 Heading
Blah
--
Peter Thoeny - 2019-09-30
... well, it works on twiki.org ... but ...
I inserted the definition into our style.css just before the Links section.
No change.
The page still builds up correctly and with the last data transfer the style of h2 changes back to a line with a gradient.
To me it seems that style.css is not the cause but something that happens after its definitions have been applied. Can it be that some plugin or whatever has final command over the styles?
--
Detlef Marxsen - 2019-10-09
If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.