Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #1060570

    Hi,

    Is there a way to change the line height of text blocks in a specific grid row?

    Specifically the section on my website with the 5 rows on my website.

    • This topic was modified 5 years, 10 months ago by radnerreyes.
    #1060704

    Hey radnerreyes,

    Please add a custom developer ID to the grid element or enable custom CSS class name from Enfold > Layout Builder > Developer Options

    Give the grid element a custom ID or a class name and use the below CSS format.

    #top #custom-ID p {
      line-height: 0.05em !important;
    }

    or

    #top .custom-class p {
      line-height: 0.05em !important;
    }

    Best regards,
    Vinay

    #1060740

    Hi Vinay,

    Thank you, I used the custom ID option and it worked.

    What about for bullet points? I noticed the list/bullet points didn’t adjust even though it is in the same developer ID. What code can I add in the CSS to adjust those?

    #1061723

    Hi radnerreyes,

    https://cl.ly/174763683a93 Are you referring to these?

    Can you disable caching and minification for now?

    Best regards,
    Victoria

    #1061835

    Hi Victoria,

    Yes, I am referring to those.

    I’m not familiar with caching and minification but I think my plugin Autoptimize does that. I have disabled the plugin for now.

    What would the next step be?

    #1062308

    Hi radnerreyes,

    Thank you.

    Here is the code you can put in Enfold > General Styling > Quick Css,  if it does not work, put into themes/enfold/css/custom.css

    
    #custom-panels .av_textblock_section li {
        line-height: 20px;
    }
    

    If you need further assistance please let us know.

    Best regards,
    Victoria

    #1062393

    Hi Victoria,

    Thank you very much – it worked with just putting it in the Quick CSS.

    Much appreciated!

    #1062624

    Hi,

    Great, glad you got it working. Please let us know if you should need any further help on the topic or if we can close it.

    Best regards,
    Rikard

    #1062771

    I think we can close it – thank you!

    #1063112

    Hi,

    Thanks for letting us know, I’ll close this for now then. Please open a new thread if you should have any further questions or problems.

    Best regards,
    Rikard

Viewing 10 posts - 1 through 10 (of 10 total)
  • The topic ‘Line-Height for Grid Row’ is closed to new replies.