Okay
  Public Ticket #2252300
typography
Closed

Comments

  •  1
    johnson started the conversation

    Happy new year 

    I want to know to increase the space between the rows in posts and portfolios,  they are too close now (see attachment).

    My website is Chinese 

    Thanks!
    Johnson 

  • [deleted] replied

    Hi Johnson,

    Can you please add the code below to your Custom CSS area:

    p {
    margin: 0 0 15px;
    }

    Have a nice day!

  •  1
    johnson replied

    Hi, Ylli,

    something like that? 

    but sorry there is no effect. 

  • [deleted] replied

    The code is working for me, please add !important rule and check if it works

    Example:

    p {
        margin: 0 0 45px !important;
    }

    Have a nice day!

  •  1
    johnson replied
    p {
        margin: 0 0 45px !important;
    }

    it works for paragraph, but I want to change the spaces between sentences. 

    thanks

  • [deleted] replied

    Hi John,

    Thanks for your clarification, wo you want to change the line height, to do that please use this CSS code:

    body, p, .section-title p, .single-portfolio-holder .details .project-description p {
        line-height: 24px;
    }

    Example: https://d.pr/v/uLZAot

    Happy New Year!

  •  1
    johnson replied

    Hi, Ylli

    It works, thanks. 

    If I want to increase the line-height anytime,  just change the number(24px)?

    Johnson.  

  • [deleted] replied

    Hi Johnson,

    Suresmile.png

    Have a nice day!

  •  1
    johnson replied

    Hi, Ylli

    But when I change the NO. it does't work, as the attachment. 

  •  1
    johnson replied

    see the attachment !

  • [deleted] replied

    You have added an invalid character in your CSS or are doing something wrong as the error description says.

    Please share your Wordpress credentials because I need to login to your site and test this issue. Your information is safe here (private) in this thread.

    To include your credentials click Insert Credentials button in editor toolbar (see how)

    Thanks!

  •   johnson replied privately
  • [deleted] replied

    Hi,

    Code is applied as it should (see video) but maybe you didn't see changes immediately because you are using a caching plugin to cache your site, you must disabled that plugin or clear the cache every time that you are working in your site.

    Thanks!

  •  1
    johnson replied

    Hi, Ylli

    Thanks for your help.

    Johnson 

  • [deleted] replied

    Happy to hear thatsmile.png

    Have a nice day!