Sep | 17 | 2006

Checking out style.css on your WordPress blog

Posted by Professor as Blog Tutorial, Blog Tutorials News, Design and Themes, Templates

theme editor

If you have a WordPress blog, you could easily customize it and look like a pro ;) You have to know where to look and what to tweak. Today let’s take a quick look at the style.css file of your WordPress theme.

How to locate your style.css file

From the Dashboard go click Presentation then proceed to Theme Editor. You could select the particular theme you want to tweak. Hmmm. Maybe if you’re using the White As Milk Theme, you might want some color changes. If you like the way that it is minimal but, say, you don’t really like the color scheme, you could change it to fit your needs.

For example, you already have the theme file open and you would like to save it, make sure that the update file button is there, otherwise, any changes you make would not be added. You might have to save the customizations on your computer then upload the file later on. In case you do that, name the file as style.css, as is customary.

Anyhow, if you already have the style.css of the theme open, you could try changing some stuff like the color of the header text link. It’s #header a and the information in the curly braces would be the stuff to edit. In case you want it to be some funky kind of orange, you could try having the color set from #3b6ea5 to #ff7b01. There’s also a value for margin which you could edit.

A part of style.css
#header a{
font-size:2em;
color:#3b6ea5;
margin-left:220px;
}

which could be changed to:
#header a{
font-size:2em;
color:#ff7b01;
margin-left:120px;
}

In case you’d like all your links to have this particular shade of orange, you’d have to look for the a tags in your style.css file and change them accordingly. You could even set the colors for a:hover and a:visited.

I like the White as Milk theme but I wish that the links on my sidebar would be aligned to the left instead of the right. Hmmm. Where could it be changed?

/* Begin Sidebar */
#sidebar {
width:180px;
float:left;
text-align:right;
}

It makes sense to find it there in the #sidebar section. If you don’t like the text to be aligned to the right, you could remedy that by changing it to be text-align:left :)

Those are just minor changes, really. But if you feel better by those minor changes on your blog, then why not do them? Sometimes you just have to go with your ‘design eye’ so to speak. Learning some basic CSS would be awesome too. You don’t have to be a geek to learn but it would certainly require some time and effort.

[tags]wordpress,themes,templates,css[/tags]

Related Articles

Comments are closed.

  
Our Features
  • Design and Themes

    Is Your Blog W3C Compliant?

    Last night I checked my personal blog’s code hoping I can proudly display the W3C Validated Button. Since I use Blogger and do not really do anything to clean up the code (beyond adding Alt-tags to the images I embed) I wasn’t surprised at all to find that my blog contained lots of errors - [...]

    Read on
    More Design and Themes Features
  • Software and Widgets

    Wordpress Plug-ins

    If you blog using Wordpress and can’t do something that you want done like adding Sphere-related content at the end of your blog posts you might be surprised to find out that there are already plug-ins available that make it happen.
    To find good Wordpress plug-ins all you need to do is search for “wordpress [...]

    Read on
    More Software and Widgets Features
  • Reviews

    A Friend In Need

    I’m helping out my friends from the UA&P - IShareHappiness Blog Team.
    Whenever you feel pessimistic, angry, troubled, frustrated, and depressed – what have you – you need someone to talk to. Someone who could help you be more optimistic and help make you feel that there is hope. Sometimes it’s hard to talk to someone [...]

    Read on
    More Blog Reviews
  • Monetization

    Making Money Through Consumer Generated Ads

    As I mentioned in my previous post today I will be suggesting some ways you can still profit by joining programs such as Pay Per Post and yet ensure that your readers don’t get turned off.
    In my opinion the only way to really do this is by making sure that your blog entries stay [...]

    Read on
    More Monetization Features
  • Marketing and Search Optimization

    Building your blog brand step by step

    Building your blog’s brand does not need to be difficult. However, when it comes to branding you should always remember to exert effort to be consistent with the image you wish to portray or you’ll end up with confused, turned-off, and/or skeptical readers. Branding inconsistencies will make it obvious that the image you’re putting up [...]

    Read on
    More Marketing and SEO Features
  • Blog Resources

    WordPress Themes Blog Hoster
    Performancing Metrics
Payu2blog

SUBSCRIBE

CATEGORIES

Sponsors

CONTRIBUTORS

RESOURCES

BLOG METRICS