Understanding Joomla Mambo Css In 5 Minutes

background image

Understanding Joomla / Mambo CSS in 5 minutes

Contributed by Administrator
Thursday, 16 June 2005
Last Updated Sunday, 15 January 2006

This tutorial will give you an overview of Joomla / Mambo CSS styling. All of the basic css elements of Mambo is put into
a clean and easy-to-read picture which will help you to remember in a quickest time. The CSS elements here are
updated with the latest version of Joomla / Mambo and I strongly believe that they can be applied in coming Joomla
1.0.X / Mambo 4.5.X releases.

1. Picturize the CSS

The below diagram displays most basic css elements of the latest Mambo version (4.5.x) using the default template
(rhuk_solarflare_ii).

2. Where to find this CSS

Each Joomla / Mambo template has a CSS file named " template_css.css" located in

%installdir%/templates/template_name/css folder. Location structure of a template is as follows:

installdir/templates/
|
+- template_name/
|
+- index.php
|
+- template_thumbnail.png
|
+- templateDetails.xml
|
+- css/
| |
| +- template_css.css
|
+- images/

{mosgoogle center}

{mospagebreak title= Break down a little further}

{mosgoogle center}

3. Break down a little further

By now, you have had an overview of Joomla / Mambo CSS, I list here all the CSS elements of Joomla 1.0.X / Mambo
4.5.X with detail explanation so that you can understand further. This is a blank (no style is set) but totally complete css
file of a standard Joomla / Mambo template.

You can highlight and copy then paste into your text editor or download the sample CSS file (right click >> save target

Joomla Templates Club - Professional - High quality Joomla template

http://www.joomlart.com

Powered by Joomla!

Generated: 5 April, 2006, 03:07

background image

as). Most of css files of many templates do not include all Joomla / Mambo CSS elements (even the default ones). So my
Mambo standard css file will be a good place for you to start from.

/* STANDARD COMPLETE CSS FOR JOOMLA 1.0.X and MAMBO 4.5.X TEMPLATES */
/* By Dinh Viet Hung (C) http://www.joomlart.com: Free templates and Professional Templates Club */

/* DEFAULT SETTINGS */
/* Below are default settings are used when no other style has been defined.*/
body {}/*Style for the body tag of your website, controls font family page background, etc.*/
p {} /*formatting all (division) items. This is a catch-all that only applies when no other
style has been defined.*/
td {} /*formatting all
items. This default setting is used when no other style has been defined.*/
tr {} /*formatting all
items. This default setting is used when no other style has been defined.*/
ul {} /*formatting all UL (unordered list) items. This default setting is used when no other style
has been defined.*/
a:link {} /* general links style*/
a:visited {}
a:hover {}
hr {} /* horizontal line in your template*/
hr.separator {}

/* FORMS SETTINGS */
.button {}
.inputbox {}
.search {} /*formatting the which holds search items: inputbox, search button...*/

/* NAVIGATION/MENU SETTINGS */

a.mainlevel{} /* this styling is for the MAIN items in the menu */
a.mainlevel:link {}
a.mainlevel:visited {}
a.mainlevel:hover {}

#active_menu {} /* this styling is for the menu item when it is active, even in main/sub position*/

ul#mainlevel-nav {}
ul#mainlevel-nav li{}
#mainlevel-nav a:link {}
#mainlevel-nav a:visited{}
#mainlevel-nav a:hover {}

a.sublevel{} /* this styling is for menu items that HAS A PARENT */
a.sublevel:link {}
a.sublevel:visited {}
a.sublevel:hover {}

.pagenavbar {} /*Sets the style for the footer navigation (" End >>")
when they do not appear as hyperlinks (when only a few articles exist).*/
.pagenavbar:link {} /*Style for the footer navigation (" End >>") when
they become hyper links*/
.pagenavbar:visited {}

.pagenav {} /* as the name implies, this is for formatting texts for those
" End >>" links */
a.pagenav:visited {}
a.pagenav:hover {}

a.readon:link {} /*Style for the "Read More" link that is displayed for large content items*/
a.readon:hover {}
a.readon:visited {}

Joomla Templates Club - Professional - High quality Joomla template

http://www.joomlart.com

Powered by Joomla!

Generated: 5 April, 2006, 03:07

background image

.back_button {} /*Style for the "BACK" button*/
.pagenav_prev {} /*Style for the PRE button*/
.pagenav_next {} /*Style for the NEXT button*/

.latestnews ul {} /*Style for latest news list - by default, latest news is user1 module*/
.latestnews li {}

.mostread ul{} /*Style for most popular list - by default, most popular is user2 module*/
.mostread li{}

/* CONTENT PAGE SETTINGS */
a.category:link {}
a.category:hover {}
a.category:visited {}

.blogsection {} /* Formatting the links in Blog section */
.blog_more {} /*The "More" text in blog section*/
a.blogsection:link {} /* set the link format */
a.blogsection:visited {} /* same as above, but to set the visited link format */
a.blogsection:hover {} /* same as above, but for links with mouse pointer over it */

.componentheading {}/* Title of the component being used to display the content.*/
.contentheading {} /* Title of the content, article, etc. being displayed.*/
.contentpane {} /* Table that holds all non-article information (components,
category lists, contact forms, etc).*/
.contentpaneopen {} /* Table that holds the actual text for an article.*/
.contentpagetitle {} /*Title of articles*/

a.contentpagetitle:hover {} /*Title of articles when appeare as links */
a.contentpagetitle:link {}
a.contentpagetitle:visited {}

.contentdescription {} /* Formating the "DESCRIPTION" of sections, categories
(News/Weblinks/Latest news...) */
table.contenttoc {} /* Formating the table of the Tables of Contents for multiple
pages content or article */
table.contenttoc td {} /* same as above, used to format the td and able cells */
table.contenttoc th {} /* same as above, used to format the th of "Tables of
Content" ( normally Article Index)*/
table.contenttoc td.toclink {} /* same as above, used to format toc link texts*/
a.toclink:link {} /* same as above, used to format toc link text status*/
a.toclink:visited {}
a.toclink:hover {}

/* JOOMLA - MAMBO SECTIONS LISTINGS */
.sectiontableheader {} /* This is for styling the section table headers on a
SECTION's page. Example: table header of "Date", "Item Title", "Author" and "Hits"? */
.sectiontableentry1 {}
.sectiontableentry2 {}

/* JOOMLA - MAMBO MODULES FORMATTING */
table.moduletable {} /* Formatting the module table */
table.moduletable th {} /* Formatting the module header, and the module titles */
table.moduletable td {} /* Formatting the table cells of the module table */

/* MISCELLANEOUS */

/* Dates , Authors*/
.createdate {} /* For styling the date the content/articles are created under contents title */
.modifydate {} /* Formating "Last updated on" text at the end of articles/contents */
.small {} /* Formating "Written by:...." text */
.smalldark {}/*Found in poll result page, for " Number of Voters".. text */

Joomla Templates Club - Professional - High quality Joomla template

http://www.joomlart.com

Powered by Joomla!

Generated: 5 April, 2006, 03:07

background image

/* Polls */
.poll {} /* format the td of poll table */
.pollstableborder {} /* set the border properties of the polls voting table */

/* Weblinks */
.weblinks{} /* well.. to format the link's titles under the "Weblinks"
section on the frontend */
a.weblinks:hover {} /* same as above, but for link with mouseover */

/* Newsfeeds */
.newsfeedheading {} /* The newsfeed title. NOTE: This will not affect the newsfeed's
news title! */
.newsfeeddate {} /* yeah.. the date on the newsfeed */
.fase4rdf {} /* this is the body text of the newsfeed */

/* Search page */
table.searchintro {} /* This is for formatting the box with "Search Keyword: test
returned 4 matches" box that appears after you have entered a search value.
It appears on the mainbody with the search results */

/* JOOMLA - MAMBO TABBED FRONTEND ADMIN INTERFACE */
/* The CSS below efines how the frontend admin interface when logged in */

.ontab {}/* For styling of the "Tab" buttons when editing contents through the
frontend as admin.
This .ontab is the styling for the tab when it is active or after its "clicked" */
.offtab {} /* Same as above, used for styling of the "Tab" buttons when editing
contents through the frontend.
This the styling for the tab when it is NOT active or when it is NOT "clicked" */
.tabpadding {} /* this style is used set the size of the tab in the above */
.tabheading {} /* Not too sure what this is used for. Couldn't find anything
related to it yet at the moment */
.pagetext {} /* this style is used to style the content of the editing form
contents (where HTMLArea sits and all its forms + contents) in the frontend
Administration interface */

{mospagebreak title= Tweaking and Tuning}

{mosgoogle center}

4. Joomla / Mambo Template CSS: Tweaking and Tuning

Normally, you tend to make your template look match with your site contents or just want to make it distinguished from
the others. Therefore, playing around with your css file is the most popular practice of Joomla / Mambo users. The file
you have just download is not filled with any style at all. If you do not want to start from scratch or feel un familiar with css
styling, you can open another template_css.css file of any existing templates for css reference, copy and paste, make
some changes and refresh to see how they affect your Jooma / Mambo site.

5. Is that all?

template_css.css is just a part of Joomla / Mambo templating job. CSS defines content elements your Joomla / Mambo
pages. Layout and modules navigation of your template are also important. Details of Joomla / Mambo layout are also
picturized and well explained in this tutorial: Joomla / Mambo layout and navigation guides.

Joomla Templates Club - Professional - High quality Joomla template

http://www.joomlart.com

Powered by Joomla!

Generated: 5 April, 2006, 03:07

background image

Hope you enjoy reading.

Joomla Templates Club - Professional - High quality Joomla template

http://www.joomlart.com

Powered by Joomla!

Generated: 5 April, 2006, 03:07


Wyszukiwarka

Podobne podstrony:
Ross Jeffries How To Induce A Hypnotic Trance In 3 Minutes Or Less And Never Get Caught
Voice Control Robot in 7 Minutes
Joomla Mambo Professional Templates Club Mambo Layout
Joomla i Mambo
Buteyko Breathing in 3 Minutes drs Eduard Reuvers
Paper 3 English in Use, Paper 3 English in Use (1 hour 30 minutes)
This page explains what atomic orbitals are in a way that makes them understandorbitale
NLP in 10 minutes id 320418 Nieznany
LearningExpress Reasoning Skills Success in 20 Minutes a Day 2nd
Research shows CPR?n? learned in just minutes
Dane Rudhyar THE PRACTICE OF ASTROLOGY AS A TECHNIQUE IN HUMAN UNDERSTANDING
LearningExpress Reading Comprehension Success in 20 Minutes a Day 3rd
Free Guide To Joomla Css
Critical Thinking Skills Success in 20 Minutes a Day
False belief understanding in 2and5 year olds Evidence from two novel verbal spontaneous response ta
40 Berlitz Hindi in 60 Minutes
Gronlie, Reading and Understanding The Miracles in Thorvalds thattr
King, Stephen Writing Successfully in 10 Minutes
False belief understanding in 2and5 year olds Evidence from violation of expectation change of locat

więcej podobnych podstron