Keyword

Text overlapping

More
12 years 10 months ago #59156 by Dave
Text overlapping was created by Dave
In my item page, I have a table. In one of the cells of the table I have text. I changed the size of the text to 18px. When the text gets bigger, the lines overlap each other as pictured below


Attachment not found



But then when I click on the plus next to the font on the toolbar, the text spreads out to how it should look .

How can I set it to look normal without having to hit the plus button ?
Attachments:

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

More
12 years 10 months ago #59157 by Tracey
Replied by Tracey on topic Re: Text overlapping
Hi,

In the same css rule declaration that you changed the font size in you should also adjust the line height, eg.. " line-height:21px; " Judging by your pic a line height may already be set and may be represented as % instead of px. If it is already set, just increase the number to suit your needs.

Joomla! v3.5.1
Gantry5 - Hydrogen Template
k2 v2.7.0

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

More
12 years 10 months ago #59158 by Dave
Replied by Dave on topic Re: Text overlapping
Ahhhh, line-height...Thanks !!

Also, I finally realized that using the css editor in k2, I had to highlight what I wanted adjusted, then click on the css button. Otherwise it didnt work.

I tried adding bullets to a list, but that didnt work....Not sure why not. I will keep playing with it.

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


Powered by Kunena Forum