how to fix wrong spacing in title h2, h3... when on 2 lines

Discussion in 'BlackBird WordPress Theme' started by titnz, Feb 3, 2013.

  1. titnz

    titnz New Member

    Joined:
    Nov 11, 2012
    Messages:
    19
    Likes Received:
    0
    Hi
    how you can see on the attachment, I have some problem for the spacing between the first and the second line of title (not h1 but other h2, h3...I think). they are too close each of other :(
    where can i fix that in the styles css ?
    it's look to be in "article" and not in "pages"
    thanks a lot

    Thierry
     

    Attached Files:

  2. Gourav

    Gourav Support Staff

    Joined:
    Oct 19, 2012
    Messages:
    7,728
    Likes Received:
    207
    Please share the link of your website.
     
  3. titnz

    titnz New Member

    Joined:
    Nov 11, 2012
    Messages:
    19
    Likes Received:
    0
  4. Piyush

    Piyush Support Staff

    Joined:
    Dec 8, 2012
    Messages:
    4,745
    Likes Received:
    107
    Paste the following code in your custom css
    Appearance -> theme options -> styling options -> custom css
    Code:
    .post_content h3 span {
    line-height: 30px;
    }
    
    This will solve your issue.

    Thanks.
     
  5. titnz

    titnz New Member

    Joined:
    Nov 11, 2012
    Messages:
    19
    Likes Received:
    0
    Hi Piyush
    i'm sorry but it doesn't work properly unfortunatly :(
    i'm sure to have properly the code in the custom css
     
  6. titnz

    titnz New Member

    Joined:
    Nov 11, 2012
    Messages:
    19
    Likes Received:
    0
  7. Nitesh

    Nitesh Support Staff

    Joined:
    Oct 19, 2012
    Messages:
    5,165
    Likes Received:
    160
    Paste this code in Custom CSS
    Appearance > Theme Option > Styling Option > Custom CSS

    Code:
    .post_content h2 {
    line-height:115%;
    }
    You can increase and decrease it according to your requirement.
     
  8. titnz

    titnz New Member

    Joined:
    Nov 11, 2012
    Messages:
    19
    Likes Received:
    0
    thanks, it works but take care there is a small error on your code : lline with one l and not 2 :)

    have a nice day
     
  9. Nitesh

    Nitesh Support Staff

    Joined:
    Oct 19, 2012
    Messages:
    5,165
    Likes Received:
    160
    Ok,
    Thanks titnz, It was by mistake. :)
     

Share This Page