-
AuthorPosts
-
January 30, 2019 at 5:56 pm #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.
January 31, 2019 at 4:35 am #1060704Hey 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,
VinayJanuary 31, 2019 at 5:18 am #1060740Hi 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?
February 1, 2019 at 9:59 pm #1061723Hi radnerreyes,
https://cl.ly/174763683a93 Are you referring to these?
Can you disable caching and minification for now?
Best regards,
VictoriaFebruary 2, 2019 at 4:42 am #1061835Hi 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?
February 3, 2019 at 5:50 pm #1062308Hi 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,
VictoriaFebruary 3, 2019 at 8:30 pm #1062393Hi Victoria,
Thank you very much – it worked with just putting it in the Quick CSS.
Much appreciated!
February 4, 2019 at 12:06 pm #1062624Hi,
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,
RikardFebruary 4, 2019 at 6:10 pm #1062771I think we can close it – thank you!
February 5, 2019 at 11:03 am #1063112 -
AuthorPosts
- The topic ‘Line-Height for Grid Row’ is closed to new replies.