End of Support for Joomla 3 - Forum closed

increase line hight in <li>

  • rast537
  • rast537's Avatar Offline Topic Author
  • Junior Boarder
  • Junior Boarder
  • Posts: 36
  • Thank you received: 0

increase line hight in <li> was created by rast537

Posted 6 years 3 months 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 6 years 3 months ago #19364
Use this code below:

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

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

  • rast537
  • rast537's Avatar Offline Topic Author
  • Junior Boarder
  • Junior Boarder
  • Posts: 36
  • Thank you received: 0

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

Posted 6 years 3 months 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 6 years 3 months 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.

  • rast537
  • rast537's Avatar Offline Topic Author
  • Junior Boarder
  • Junior Boarder
  • Posts: 36
  • Thank you received: 0

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

Posted 6 years 3 months 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 6 years 3 months 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/Theme-Point is not affiliated with or endorsed by Open Source Matters or the Joomla! Project

Copyright © 2022 JoomlaPlates | Professional Joomla Templates with Uikit 3

Disclaimer & Privacy | License