Jump to content
Sign in to follow this  
manojgupta26

Change font size and line height for H1 and H2 title tag

Recommended Posts

manojgupta26    2
manojgupta26

Is there any way to conveniently change font size and line height for H1, H2, H3 and H4 title tag separately. I tried using firebug but they all interfere with each other. For example when I change H4 title (used in sidebar), it changes H2 tag properties of homepage.

Please suggest how can I handle this..

/*Change Font Size for H4 Title Headings*/

h4, .entry-title, .entry-title a {

color: #222222;

font-size: 15px;

text-shadow: 0 1px 0 rgba(255, 255, 255, 0.15);

}

/*Change Font Size for H1 Title Headings*/

h1, .entry-title, .entry-title a {

color: #222222;

font-size: 26px;

line-height:1.0em;

text-shadow: 0 1px 0 rgba(255, 255, 255, 0.15);

}

/*Change Font Size for H2 Title Headings*/

h2, .entry-title, .entry-title a {

color: #222222;

font-size: 26px;

line-height:1.0em;

text-shadow: 0 1px 0 rgba(255, 255, 255, 0.15);

}

Share this post


Link to post
Share on other sites
catrina    103
catrina

Your CSS has a comma and spacing error for each heading you're trying to adjust:

h4, .entry-title, .entry-title a
You have a comma and a space immediately after h4 when there shouldn't be either of them at all. Correct like this:
h4.entry-title, .entry-title a[/code]


Please read the docs before posting. Please do not private message me unless I ask you to.

Designer | Catrina Dulay

Founder | Catrina and Mouse

Share this post


Link to post
Share on other sites
manojgupta26    2
manojgupta26

LOL..How can I miss that :(

Thanks Catrina :)

Share this post


Link to post
Share on other sites
mackenzie    12
mackenzie

The topic was marked as resolved.


Mackenzie - PageLines Help Desk

The Centsible Family - Writer, Photographer and Coffee Addict

---------------------------------------------------

Kindly search this forum and read the documentation before posting. It will help you resolve many issues.

For CSS help be sure to check out W3Schools first and be sure to download FireBug for FireFox for troubleshooting.

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  

  • Similar Content

    • dawsonbarber
      By dawsonbarber+
      Scratch this topic: the usual way does work. I think I need sleep.
       
      (Couldn't prefix the topic with iblogpro6 because it's not in the topic prefix dropdown).
       
      Anyway, I've tried the usual way, with Danny's Skeleton theme, but it's not working.
       
      Could someone let me know what I need to do?
       
      Thanks
       
      Dawson
    • darcythe2nd
      By darcythe2nd
      I don't want to keep the pagelines, html5, or css3 icons in the solid footer. I don't see how to get rid of them. They're there even if I leave the website address blank. How to get rid of them??
    • darcythe2nd
      By darcythe2nd
      I installed this but am unable to find where I can change the color of the solidfooter to anything other than the original white! Please help!
    • hypman
      By hypman
      Hi
       
      I thought i had installed this properly a few days ago but now im not sure as i ve seen 2 versions of frameowrk in my themes. (see image)
       
      if i activate the multi coloured fromawork theme i see no error messages, but when i activate the other framework theme i see this again:
       
      Install Error!
      PageLines Framework must be installed in a folder called 'pagelines' to work with child themes and extensions.

      Current path: /home/stopsmok/public_html/ripley-hypnotherapy.co.uk/wp-content/themes/PageLines
       
       
      Will the ilblog not run correctly if i ignore this? i cant see nay issues with the theme?
       
      thanks
       
      ps the site is ripley-hypnotherapy.co.uk
    • hypman
      By hypman
      Hi guys
       
      Ive just installed framework then i added iblog pro 5 and the site seems ok but i ve got an error message:
       
      Install Error! PageLines Framework must be installed in a folder called 'pagelines' to work with child themes and extensions.

      Current path: /home/warringt/public_html/wp-content/themes/PageLines-Framework-master
       
       
      Im not sure how to correct this, but as i say the site looks ok anyway
       
      waringtoncycles.com
       
      Any ideas? ive read a little but im still confused lol
×