-
▼
2012
(336)
-
▼
January
(28)
- How to Display Custom Post Types in Wordpress 3.0
- How to Import iCal to WordPress
- How to Design a WordPress Header
- How to Increase the Header Height in WordPress
- How to Merge Widgets in WordPress
- How to Remove Navigation on Certain Wordpress Page...
- How to Embed SWF in WordPress Posts
- How to Upload a Video With a WordPress Plugin
- How to Find and Replace the Domain URL for a WordP...
- How to Install a New WordPress Template
- How to Transfer WordPress to Bluehost
- How to Move Your WordPress Blog if You Use StartLo...
- How to Customize a New User Registration Email in ...
- How to Convert a Weebly Theme to Wordpress
- How to Insert a Line After Each Blog Post on WordP...
- How to Use PHP Scripts in WordPress Posts or Pages
- How to Hide a Tagline in the WordPress Headway Theme
- How to Install and Debug a WordPress Developer Theme
- How to Configure Adobe Contribute for Wordpress
- How to Use Ajax in WordPress
- How to Find Default.CSS of Thematic WordPress
- How to Migrate From ASP to WordPress
- How to Merge Tags in Wordpress
- How to Make Boldface Headlines in WordPress and Th...
- How to Place Photos Side by Side in WordPress
- How to Add a Header to a Wordpress Blog
- How to Use WordPress for an Online Auction
- How to Use View Source to Figure Out Wordpress Sty...
-
▼
January
(28)
adsense
How to Use View Source to Figure Out Wordpress Style Rules
1. Open your blog in a browser window.
2.
Pick out something in the regular browser view that you want to change. Here's an image of a post from my blog. Suppose I want to change the way the headings look. The heading in this post is: 'WCAG 2.0 released as Candidate Recommendation: Test Drivers Wanted.'
3. Use the browser menu to view the page source. This is an option under the View menu in most browsers. Select the menu command that says 'View Source.'The page source will open, showing you the underlying HTML that built the page.
4.
Find a heading in the Source. The easiest way to skip through all that code is to find some particular text, say 'WCAG 2.0 released as Candidate.' Using the menu you can select Edit > Find and then type in the phrase you're looking for to skip immediately to that part of the page.
5. Here's what I found in my blog: From the source I learn a number of things about the heading and the styles. I learn that it's an h2, so perhaps changing the h2 rules will do what I want. I also see that the h2 is assigned to the class 'entry-title,' so that may be the rule I want to look for. Those two clues should be enough to help me quickly find what I'm looking for.
6.
For a Wordpress blog the styles are found in wp-content > themes > yourthemename > styles.css. Open the styles.css page and look for the clue words you found in the page source. In this example I looked for 'entry-title.' The styles I found in the rule you see in the image look like just what I need to make changes to the appearance of my headings. The rule in this example controls two different headings. If I didn't want to change them both, I would need to separate the styles into two different rules.
12:35 AM | Filed Under | 0 Comments
Comments
Popular Posts
-
1. Log in to your Weebly account. 2. Click 'Theme Editor.' 3. Click on the 'Design' tab. 4. Select 'Edit CSS/HTM...
-
1. Sign up for a publisher account at Bidvertiser. Submit basic contact information and confirm your email address to get started. 2. Lo...
-
1. Log in to your WordPress dashboard. 2. Open the 'Appearance' section on the left side of the WordPress dashboard and then cli...
-
1. Open your WordPress Dashboard in your preferred browser. It is accessed at the '/wp-admin' location of your site. For example, ...
-
Facebook Widget 1. Create a Facebook fan page for your blog, if you don't already have one. You will have to manually share content wi...
-
1. Download and install the WordPress for BlackBerry app via BlackBerry App World. Download the version that corresponds with your BlackBe...
-
1. Go to your WordPress blog's administrative control panel. 2. Click the 'Settings' button on the left-side navigation menu...
-
1. Click the 'Add Contact' button on the 'Add New Post' page. This opens the 'Add a Contact Form' page. 2. Click...
-
1. Register an account with Amazon Web Services Cloud. If you have an existing Amazon account, enter your email address in the appropriate...
-
1. Log into your WordPress.com account using your user name and password. 2. Hover your cursor over the 'My Blogs' tab at the to...
Post a Comment