End of Support for Joomla 3 - Forum closed
increase line hight in <li>
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
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.
- joomlaplates
- Offline
- Moderator
- Posts: 8807
- Thank you received: 1732
Use this code below:
.tm-content li {line-height:1.6}
Dokumentation:
www.joomlaplates.de/dokumentation.html
www.joomlaplates.de/dokumentation.html
by joomlaplates
Please Log in or Create an account to join the conversation.
Thanks for the answer.
Unfortunately, the code doesn't work. Can it be that I have a problem with my custom css?
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.
- joomlaplates
- Offline
- Moderator
- Posts: 8807
- Thank you received: 1732
Hi there,
1.) Disbale the gzip compression
2.) Clean the Joomla and your Browser Cache
1.) Disbale the gzip compression
2.) Clean the Joomla and your Browser Cache
Dokumentation:
www.joomlaplates.de/dokumentation.html
www.joomlaplates.de/dokumentation.html
by joomlaplates
Please Log in or Create an account to join the conversation.
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.
- joomlaplates
- Offline
- Moderator
- Posts: 8807
- Thank you received: 1732
Hi again,
1.) Please disable the gzip because I couldnt analyze your site
2.) There is a script error too > see image
1.) Please disable the gzip because I couldnt analyze your site
2.) There is a script error too > see image
Dokumentation:
www.joomlaplates.de/dokumentation.html
www.joomlaplates.de/dokumentation.html
by joomlaplates
Please Log in or Create an account to join the conversation.
Moderators: joomlaplates