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 have a question you asked answered by someone - please remember to edit the page and set the status to answered. The status is in a drop-down list 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 Action Size Date Who Comment
elsecss h3.css manage 0.1 K 10 Apr 2008 - 21:35 EnriqueCadalso  
Topic revision: r3 - 10 Apr 2008 - 22:12:27 - PeterThoeny
 
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback