Okay
  Public Ticket #2146982
changing line-height
Closed

Comments

  • BigEyes-Design started the conversation

    How do I change the line-height property for the whole site?
    Editing line-height on elementor for portfolio items didn't work.

    I want to set the default line-height to 140%.

  •  675
    Neuron replied

    Hi,

    Please change the line height of the body that will affect the whole page.

    body {
        line-height: 1.4;
    }

    Kind Regards


    Subscribe to our newsletter to get the latest updates about NeuronThemes and join our community Facebook Group.

  • BigEyes-Design replied

    Thanks, but where should I add it?
    I tried putting it on additional CSS tab on appearance ->customise and it does not affect the portfolio items titles and text.

  • BigEyes-Design replied

    Oh, it did when I put: 

    body p {
        line-height: 1.4;
    }

    but how do I affect the portfolio item subtitle?

  •  675
    Neuron replied

    Good to know, it seems like the subtitle is created through Elementor. You can check on the global settings of the typography.

    - https://prnt.sc/p4r4kt

    - https://docs.elementor.com/article/303-default-colors-fonts-and-color-picker

    Feel free to ask for anything you need.

    Kind Regards


    Subscribe to our newsletter to get the latest updates about NeuronThemes and join our community Facebook Group.

  • BigEyes-Design replied

    The default fonts settings there don't include line height. I know I can apply a CSS rule on this title by giving it a span HTML tag, but that will require editing all portfolio items severally and apply the span tag dozens of times. I am looking for a way to apply it sweepingly.

  •  675
    Neuron replied

    Hi,

    Have you checked the global settings? From there you can edit the line height for the body text and that will be applied to all your pages created with Elementor.

    Kind Regards


    Subscribe to our newsletter to get the latest updates about NeuronThemes and join our community Facebook Group.

  • BigEyes-Design replied

    did you mean the global settings on the screenshot? Nothing about typography there. And as I wrote earlier - Appearance->Customize does have line-height options but when I change settings there it affects the the font size but not the line height.