Styling text within the tooltip

More
12 years 7 months ago #2140 by hbcrosby
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.

More
12 years 7 months ago #2141 by ced1870
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

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

More
12 years 7 months ago #2143 by hbcrosby
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.

More
12 years 7 months ago #2145 by ced1870
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

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

More
12 years 7 months ago #2199 by lenamtl
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

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

More
12 years 7 months ago #2200 by ced1870
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

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

Time to create page: 0.238 seconds

Fast and powerful creation, customizable and responsive.

Read More

We have 668 guests and one member online