Lesson: Using Divider Icons in Selected Themes
-
Now that there’s a rockin new Theme Switcher that lets any visitor to your site change from one to another of the themes you have provided, let’s talk about how we can customize those themes.
I like to use divider images between posts, and between comments. But not all designs are going to require them. You can always put the code in that will call the divider element from the stylesheet:
<div id="divider"></div>
in your template. If you want a different (usually smaller) divider between your comments, you’d place similar code there:
<div id="comments-divider"></div>
So that it’s always available. But what about instances where you don’t want a divider in your design? Simple. Don’t edit the template (if your template serves to drive all or most of your styles). Just edit your stylesheet:
#divider, #comments-divider {
display: none;
}And the stylesheet will happily ignore that portion of your template.
- The topic ‘Lesson: Using Divider Icons in Selected Themes’ is closed to new replies.