This topic has 7 replies, 2 voices, and was last updated 9 years by broadsword.

  • Author
  • #59929
     broadsword
    Participant

    Hi there,

    We just tried to change the line-height of the basic body copy in our ‘theme options’ panel, but it didn’t seem to have any actual effect on the body copy as it renders in a browser.

    Wondering if there’s a way we can force that in CSS?

    I think the default is 20, we’d like to change it to say…32.

    #59995
     sharmstr
    Moderator

    Works for me. Perhaps you need to clear your cache.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    #59996
     sharmstr
    Moderator

    See attached.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    Attachments:
    You must be logged in to view attached files.
    #60003
     broadsword
    Participant

    Yeah, I get the same thing – the line height preview shows up just fine, but the on-page text doesn’t reflect the change. We ARE using WPEngine, which has a CDN cache which only updates every 24 hours, so we’ll flush that and see what happens.

    #60263
     broadsword
    Participant

    @sharmstr – yeah, that totally didn’t work. We re-set all caches on WPEngine, nothing, nada – it had no effect.

    Screenshot attached – still wondering if there’s a way to force this with CSS?

    Attachments:
    You must be logged in to view attached files.
    #60265
     sharmstr
    Moderator

    body {
    line-height: 32px;
    }

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    #60267
     sharmstr
    Moderator

    I think you might be better containing it to the article div though

    COPY CODE
    
    article {
      line-height: 32px;
    }
    
    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    #60333
     broadsword
    Participant

    Ok, superb. I promise to learn CSS next 😉

Viewing 8 posts - 1 through 8 (of 8 total)

The forum ‘General questions’ is closed to new topics and replies.

Log in with your credentials

Forgot your details?