End of Support for Joomla 3 - Forum closed

increase line hight in <li>

increase line hight in <li> was created by rast537

Posted 8 years 1 month ago #19359
Hi there,
for better readability, I increased the line-height for <p> in custom css. If I use in the article a bullet or numbered lists the line height is very narrow (or let's say normal because that's how it looked before I changed the line height for <p>
here is an example: www.gabineurohr.com/index.php/colt-start...ing-accept-the-rider
I tried to change that but the line height in my sidebar menu is changing too (what I don't want).
How can I change the line-height only for the lists in my articles?
Thanks for your help
Thomas
by rast537

Please Log in or Create an account to join the conversation.

Replied by joomlaplates on topic increase line hight in <li>

Posted 8 years 1 month ago #19364
Use this code below:

.tm-content li {line-height:1.6}

Please Log in or Create an account to join the conversation.

Replied by rast537 on topic increase line hight in <li>

Posted 8 years 1 month ago #19367
Thanks for the answer.
Unfortunately, the code doesn't work. Can it be that I have a problem with my custom css?
by rast537

Please Log in or Create an account to join the conversation.

Replied by joomlaplates on topic increase line hight in <li>

Posted 8 years 1 month ago #19368
Hi there,
1.) Disbale the gzip compression
2.) Clean the Joomla and your Browser Cache

Please Log in or Create an account to join the conversation.

Replied by rast537 on topic increase line hight in <li>

Posted 8 years 1 month ago #19370
sorry, still doesn't work. gzip is disabled and checked the result in different browser. Some custom css work others not. I have no clue why. Could you check it out or do you know somebody who could fix my problems which let my hair grow grey in no time :)
by rast537

Please Log in or Create an account to join the conversation.

Replied by joomlaplates on topic increase line hight in <li>

Posted 8 years 1 month ago #19372
Hi again,
1.) Please disable the gzip because I couldnt analyze your site
2.) There is a script error too > see image

Please Log in or Create an account to join the conversation.

Moderators: joomlaplates

Installations-Service

Don´t waste your time, we install your purchased Template
with the "Demo Content" within the next 24 hours.

Buy Now - 59€

JoomlaPlates

Professional Joomla Templates with rich documentation and support since 2008. 60+ templates for Joomla 5 & 6.

Joomla 4 Joomla 5 Joomla 6
Contact & Legal
  • support@joomlaplates.com
  • Support Team
  • Mon-Fri: 9:00-18:00 CET

© JoomlaPlates. All rights reserved. 2008 - 2026

JoomlaPlates is not affiliated with or endorsed by the Joomla! Project. Joomla! is a registered trademark of Open Source Matters, Inc.