CSS classes / Smarty Variables
This will contain items from http://www.s9y.org/forums/viewtopic.php?t=2463&highlight=.
CSS Classes
.serendipity_entry
Contains the entry
.serendipity_title
Style for the title for each entry
.serendipity_date
Style for the date of each entry
.serendipity_commentsTitle
Style used for the "Trackback", "Comments" and "Add Comments" titles in the extended entry view
.serendipitySideBarTitle
Style for the Titles of the sidebar plugins
Smarty Variables
$raw_data
If a theme with an old-style "layout.php" is used, this contains the output from that layout.php code.
Plugin Hooks
Most plugin hooks can be found in the Plugin API? documentation, section "Event plugins".
frontend_header
Plugins can emit HTML which is put in the header.
frontend_footer
Plugins can emit HTML which is put in the footer.
This list gives a quick overview of the Classes and IDs used in the default theme. More can be generated from several plugins or by adjusting the .tpl files to your needs, but these are the ones you have to deal with in the first place.
The indentation represents the nesting of the HTML elements which use these classes/IDs. This should help you to use the inheritance of formats to your advantage when styling your own template.
- #serendipity_banner - Container for the top banner
- .homelink1 - Style for the first link in the banner
- .homelink2 - Style for the second link in the banner
- .homelink1 - Style for the first link in the banner
- #mainpane - Table containing the Sidebars and the main content
- #content - Table-Cell for the main content (the entries)
- .serendipity_Entry_date - Container for all entries of one day
- .serendipity_date - Style for the date display
- .serendipity_title - Style for the title for each entry
- .serendipity_entry - Container for the each entry
- .serendipity_entry_body - Container for the body of each entry
- .serendipity_entryFooter - Container for the footer of each entry
- .serendipity_entry_body - Container for the body of each entry
- .serendipity_date - Style for the date display
- .serendipity_Entry_date - Container for all entries of one day
- #serendipityRightSideBar - Container for the right Sidebar
- .serendipitySideBarItem - Container for each Sidebar item (normally a plugin)
- .serendipitySideBarTitle - Style for the title of each Sidebar item
- .serendipitySideBarContent - Style for the content of each Sidebar item
- .serendipitySideBarTitle - Style for the title of each Sidebar item
- .serendipitySideBarItem - Container for each Sidebar item (normally a plugin)
- #content - Table-Cell for the main content (the entries)
