Home Forums Arnold WordPress Theme Font line height?

This topic contains 5 replies, has 2 voices, and was last updated by  BWSM 5 months, 2 weeks ago.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #12802

    blacktip
    Participant

    Hi. Is there an easy way for me to play around with the line height in the typography? I especially want to adjust (reduce) the line height of the H1, since it’s way too big in my opinion. Since I don’t know any css, a super simple example would be awesome (if I just perhaps can add some custom code somewhere)

    #12803

    BWSM
    Keymaster

    Hi,
    I don’t know which page with the H1 you mentioned(is single gallery post?). Please leave the page url with H1, I’ll give your some custom css to change the line-height.
    thanks!

    Cheers!
    Bwsm – uiueux.comTwitterFacebook

    #12810

    blacktip
    Participant
    This reply has been marked as private.
    #12813

    BWSM
    Keymaster

    Please paste the style code to Custom Css(Appearance / Theme Options / Custom Css):

    .ux-portfolio-template-intro > h1 {
    line-height: 1.5;
    }

    change as the value as yours.

    #12847

    blacktip
    Participant

    Thanks. It somewhat works (looks okay when viewing on desktop-width, but the breakpoints on mobile/tablet looks very different = still too high)

    #12858

    BWSM
    Keymaster

    please use the css for mobile/tablet:

    @media (max-width:767px) {
     .ux-portfolio-template-intro > h1 {
      line-height: 1.2;
     }
    }
Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.