Tags:
create new tag
view all tags

Question

I would like to change the background bar color of my level 3 heading. Is there a way to do that on just my page (which is a subpage of a main website) versus changing it in the website preferences ccs file? If I understand how the preferences file works, if I change it there, it will chage it on all the pages, not just a specific one.

Environment

TWiki version: TWikiRelease04x01x00
TWiki plugins: Plugin API version 1.11
Server OS:  
Web server:  
Perl version:  
Client OS:  
Web Browser:  
Categories: Forms

-- TWikiGuest - 10 Apr 2008

Answer

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.

Make a css h3.css with this content

h3 {
   background-color: #FF0000;
}

Attach the file to your topic and insert this text on your topic

<!--
      * Set USERSTYLEURL = %PUBURLPATH%/%WEB%/%TOPIC%/h3.css
-->


You will have h3 headers like this

My header

-- EnriqueCadalso - 10 Apr 2008

You can do that also for the whole TWiki site. See PatternSkinCustomization.

-- PeterThoeny - 10 Apr 2008

Change status to:
Topic attachments
I Attachment History Action Size Date Who Comment
Cascading Style Sheet filecss h3.css r1 manage 0.1 K 2008-04-10 - 21:35 UnknownUser  
Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r3 - 2008-04-10 - PeterThoeny
 
  • 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.