Now, updated for Tiki 8!
Now accepting new user registrations! Become a contributor.
| More
Join Print Print multiple pages Convert to PDF

Which CSS Style to Edit


If you review the HTML source of a Tiki site, you'll see that it uses hundreds of CSS styles for everything from the title of a blog post to a wiki page description to a module title. Additionally, the average Tiki site may use styles from multiple CSS files.

When customizing your Tiki theme, how can you determine which styles to change? By using a web browser utility such as Firebug(external link) (for Firefox) or IE Developer Tools(external link)(for Internet Explorer).
TipTip:
You can use the Tiki CSS Assistant to modify CSS styles using a simple point-and-click environment.


For example, assume that you wanted to customize the size, color and font of the default Tiki h2 heading:
Default heading
The default H2 heading.

  1. Using Firebug for FireFox (or the Developer Tools for Internet Explorer), select the element on the page that you want to customize. In this example, we'll select the heading text Congratulations.
  2. When you select the item in your browser, the Firebug console displays the HTML element information for the selected item, including its styles. Notice that the Congratulations text is defined by the h2 element.
    Firebug console
    The Firebug console displays the selected item's element and attributes.

    Notice, too, that the element gets some attributes from the fivealive.css stylesheet and others from the lite.css stylesheet.
  3. Using one of the methods described previously, create a new definition for the h2 element:
    Customizing the H2 element
    h2 {
         font-size:3.0em;
         color:#ffff00;
         font-family: serif;
         }
  4. Reload the HomePage of your Tiki. The headings are now larger, yellow, and in a serif font.
    Customized heading
    Your new, customized heading.
NoteNote:
You may need to clear the Tiki cache and your browser's cache in order to see the new style.






Contributors to this page: Rick Sapir .
Page last modified on Monday, April 25, 2011 12:36:21pm EDT by Rick Sapir.
The content on this page is licensed under the terms of the Copyright Information.

Buy the Books

Tiki Essentials & Tiki for Smarties -- Buy the Books.
Available from Amazon, LuLu, and more as paperback or ebook...

What do you think?

What do you think of this project?



Anti-Bot verification code image Try another code



View Results
(Votes: 20)

"..very good as a starter..."

Is Essentials helpful?

Essential Readers



Advertising



Powered by Tiki Wiki CMS Groupware
Creative Commons Copyright. Some rights reserved.
Tiki Essentials (this site) is © 2011-2012 by Rick Sapir, published by KeyContent.org, and is licensed
under a Creative Commons Attribution-Share Alike 3.0 United States License. Some rights reserved. Privacy Policy.
Permissions beyond the scope of this license may be available at http://twessentials.keycontent.org/Copyright Information.
Questions, comments, or concerns about this site or the guide? Let me know.
New to Tiki? Try Tiki for Dummies Smarties: A beginner's guide to using Tiki Wiki CMS Groupware.


Feedback Form
Feedback Analytics