WordPress - Creating and Using Your Own CSS Style in a Theme
By Jasmine Starr, published May 02, 2006
Published Content: 1,020 Total Views: 1,296,114 Favorited By: 54 CPs
Creating Your Own CSS Style
Login in to your WordPress Admin Panel. Then click on Presentation > Theme Editor. When the Theme Editor page loads, look for the style.css sheet on that page. Usually when the Theme Editor page loads it is already on the CSS Styles page. When the CSS style page loads scroll down to the end of the page. This is where you will add your new CSS Style.
I will give you an example of a style but of course, you can change it to what ever you wish. You will need to type or copy and paste the following code in to your CSS Style Sheet.
.mytitle {
color: #ff5500;
background-color: transparent;
font-family: verdana;
font-size: 14px;
font-weight: bold;
}
That is your basic CSS. You can add a border to place a line under your title or choose a color for the background instead of it being transparent. The possibilities are endless with CSS. Also you can name it what you like but name it something easy to remember. Once you have created the style the way you want it, go to the bottom of your WordPress page and click Update File. That saves your new CSS Style you just created.
Using Your New CSS Style
You may also like...
- The Wordpress.org and Hot Nacho Scandal: A Tale of SEO, Hidden Links and Google AdSense
- How to Use CSS Styles in Dreamweaver
- Dreamweaver Makes CSS Easy
- Creating Solid Rollover Buttons in Dreamweaver Using CSS
- Creating & Customizing Drop Down List in Dreamweaver 8 Using CSS
- Launching Your Web Comic
- Creating Image Rollover Buttons in Dreamweaver Using CSS
- The Da Vinci Code Dazzles the Box Office
- Google Code Search: Google's Newest Venture
- Grand Theft Auto: Vice City - Invisible Car Code
Takeaways
- WordPress uses themes and templates for the layout.
- You can add a border to place a line under your title.
- New CSS Styles in WordPress are often used in Static Pages.
Did You Know?
Many people these days use WordPress as a CMS.
Resources
Most Commented On


sezer
Add a Comment
Posted on 06/27/2008 at 11:06:08 AM
:-: S€zær -->>
Add a Comment
Posted on 05/14/2008 at 1:05:47 AM
Nick Gross
Add a Comment
Posted on 12/25/2006 at 11:12:00 AM