Styling text within the tooltip

Styling text within the tooltip was created by hbcrosby

Posted 12 years 3 weeks ago #2140
Thank you for a wonderful plugin!

It seems that all text between {tooltip} and {end-tooltip} is italicized. Is that something I'm doing or is this something the plugin is doing? Here's the code I'm using:

Thursday, Oct. 11<br /> &nbsp;{tooltip}<span style="font-size: 8pt;">•&nbsp;7:00p - Boney James (CHHS)</span>{end-link}<span style="font-size: 8pt; font-family: arial">7:00p - Boney James<br />Entertainer of the Year Artist TBA<br />Cape Henlopen High School<br /><a href="index.php?option=com_content&amp;view=article&amp;id=65&amp;Itemid=106" style="cursor: pointer;">Purchase Tickets</a></span>{end-tooltip}

I was able to add "font-style:normal" in the second <span> to remove the italicized font int the tooltip.

Thoughts?

Thank you!

bing

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

Replied by ced1870 on topic Re: Styling text within the tooltip

Posted 12 years 3 weeks ago #2141
hi
yes the plugin has a css stylesheet that you can find in the plugin folder. Here is defined the italic :)
CEd

PS : if you are using tooltipgc, you can vote for it on the JED
extensions.joomla.org/extensions/news-di...ements/tooltips/9488

Joomlack Webmaster and Developer

by ced1870

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

Replied by hbcrosby on topic Re: Styling text within the tooltip

Posted 12 years 3 weeks ago #2143
Thank you for the quick reply....

I have previous found tooltipgc.css, tooltipgc_style1.css & tooltipgc_style2.css, but for the life of me, I have not seen in any of these files where you're calling the italics. Am I looking in the correct files?

bing

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

Replied by ced1870 on topic Re: Styling text within the tooltip

Posted 12 years 3 weeks ago #2145
yes right ! my bad :)
in fact it is because it uses a tagf "<cite>" that is by default in italic. You should add some css to tell it to not be in italic
CEd

Joomlack Webmaster and Developer

by ced1870

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

Replied by lenamtl on topic Re: Styling text within the tooltip

Posted 12 years 2 weeks ago #2199
Hi,

I'm using the old version for Joomla 1.5.

I want to apply this plugin on text and I don't want the plugin css overide the existing text css.

I have done a lot of test without success, the text still kept your css italic.

Could you explain all those 3 css are doing what, and how can I keep existing css for the text and use your css plugin for displaying the tooltip only.

Thanks
by lenamtl

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

Replied by ced1870 on topic Re: Styling text within the tooltip

Posted 12 years 2 weeks ago #2200
there is no css that force italic, only the html tag that is by default italic. Add this into your css :
cite { font-style:normal; }

Joomlack Webmaster and Developer

by ced1870

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

Time to create page: 0.705 seconds

Fast and powerful creation, customizable and responsive.

Read More

We have 1328 guests and no members online