Jump to content
Sign in to follow this  
chanchal

How to reduce Post Title Size

Recommended Posts

chanchal

How to reduce post title size. I am very less efficient in code things, I have also tried firebug and can see the desired changes in FireBug view, but while implementing such changes in actual CCS in Theme Editor in WP admin panel, it doesnt reflect the changes. It will be very much helpful, if you can provide me the line numbers where changes being done.... I am adding the size screenshot below..... 437891.jpg

Share this post


Link to post
Share on other sites
cshoffmann

Cut the code below and paste it into Pagelines>Theme Settings>Custom Code. You don't want to try and put it in the WP-Editor. It is easiest done in the Theme Settings Custom Code section. h1{font-size: 1.7em;} h2 {font-size: 1.5em;} h3{font-size: 1.3em;} h4{font-size: .7em;} h5{font-size: .7em;} h6{font-size: .7em;} 1 em = 10 pt font. So the h1 tag above is 17pt font. The h1 tag is used on the Post titles. You can adjust it to the size desired. You don't need the line numbers if you use the Custom Code section the Theme Settings. Once again, the WP-editor does not need to be used in this element change.

Share this post


Link to post
Share on other sites
chanchal

Not working... As you say that h1 tag is used here for post title, but firebug highlights the h2 tag section.... I have tried changing values of h1 tag from 1.7em to .7em, but no changes.... :( should I place the code inside the body tag? Please help me, pls....

Share this post


Link to post
Share on other sites
kastelic

Try:

.post-title h2 a{font-size:20px}

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×