Tags:
create new tag
view all tags

SID-02415: PatternSkin H2 Refuses Modification

Status: Asked 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

      Change status to:
ALERT! 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.
SupportForm
Status Asked
Title PatternSkin H2 Refuses Modification
SupportCategory PatternSkin
TWiki version 6.0.2
Server OS Linux 2.6.32
Web server Apache
Perl version 5.10.1
Browser & version Firefox 69.0.1 64-bit
Topic attachments
I Attachment History Action Size Date Who Comment
Cascading Style Sheet filecss style.css r1 manage 0.1 K 2019-09-30 - 17:16 PeterThoeny  
Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r3 - 2019-10-09 - DetlefMarxsen
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.