In order to make any adjustments to the HTML of your new WordPress site and Theme, you have to find the references to the styles in the php code of each page section. In WordPress 1.2, this was easy because most of the information was found in the index.php
page. With WordPress 1.5, everything is divided up among the different sections with the new modular template files. One CSS style will start in one template file and end in another, passing through two other template files on their way to the closing tag. This can make it difficult to track down your WordPress Theme CSS styles.
I’ve gone through the list of php files in the Classic Theme and Default Themes and used those as a base from which to modify my web page styles. Every WordPress Theme should have these base core CSS styles, but they might not be the same, and they might not be in the same template file. But this list may help you track them down.
Here are the php WordPress template files in which you will find the following styles:
- index.php
- H2
post
H3
storytitle
meta
storycontent
feedback - header.php
- rap – begins
H1 header
content – begins - sidebar.php – dependent upon theme
- menu
categories
search
archives
meta - footer.php
- credit
cite - comments.php
- comments
postcomments
commentlist
author
email
url
comment - comments-popup.php
- comments-popup
H1 header
all comment styles (see above)
credit
cite
One Trackback
[…] I’m currently in the process of redesigning my blog, what can I say, the monkey doesn’t really captivate me that much. I found this link quite useful […]