Information Technology Reference
In-Depth Information
IV
With CSS, you create all your common formatting (headers, footers, navigation, and the like) on your
style sheet once, and apply it on every page. Write once, or change once, and you're done. This is
why all your WordPress pages have the same general look when you apply a theme to your site.
What Is a Style Sheet?
A style sheet is a reference document for presentation of web pages, such as WordPress blogs. You
link to it from the main page and it handles the rest.
Finding a style sheet to look at is easy once you've set up WordPress. Look in your WordPress\
wp-content\themes folder. There you'll find your initial two options, the Default (Kubrick) theme
and the Classic theme. If you've installed any other themes, these will also be located here. Some
themes have more than one file with the .css extension (a popular one is ie6.css , to specifically
address how pages should look in Internet Explorer 6.x), but you will always find style.css as
your primary style sheet.
Even WordPress.com users can look at (and save) an existing theme's style sheet without the CSS
upgrade. Follow these steps:
1. Log in to your account and open the Dashboard.
2. Click on Appearance in the navigation bar on the left.
3. Select Edit CSS. The WordPress.com Style Sheet Editor (Figure 14.3) appears.
Figure 14.3
WordPress
.com users
can view the
Cascading
Style Sheet
for their
theme, but
cannot edit it.
4. (Feel free to read the helpful comments in the editor screen before proceeding.) Below the editor
is a line reading “Do you want to make changes to your current theme's stylesheet, or do you
want to start from scratch?” Just below that, click the View Original Style Sheet link.
Search WWH ::




Custom Search