× Support forum for jmootips packgage

Image not 100%

7 years 2 weeks ago #972 by jochen
Replied by jochen on topic Image not 100%
hi,

you may change/use your own styling for tips (e.g. change max-width, or colors, or..).
If you want to use your own styles for tooltips, you should not change or edit jmootips' CSS-files as a software update may overwrite your changes. Better copy content from "../plugins/system/jmootips/jmootips.css" e. g. into one of your template's CSS-files and then change styles for your needs. To activate your changes you will have to set parameter "jmootips CSS File" via Admin Backend to "No.

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

7 years 2 weeks ago - 7 years 2 weeks ago #971 by Gosa
Image not 100% was created by Gosa
Hi,

First of all I want to thank you for developing this extension.

I'm trying to add a tooltip that shows an image and I'm doing it with the use of id.
So the image is in an article but because there is a max-width of 500px the picture looks smaller and in my case the text on the image is almost unreadable.

Is there a way to circumvent this?

Maybe pass a class to withing
{tip class="custom-tooltip-image" id="147"}

And the class would the be added to:
<div class="jmootips" style="position: absolute; top: 225px; left: 711px; opacity: 0; z-index: -10000; visibility: hidden; display: block;">

So that it becomes:
<div class="jmootips custom-tooltip-image" style="position: absolute; top: 225px; left: 711px; opacity: 0; z-index: -10000; visibility: hidden; display: block;">

It's just an idea.
It's only when the content is an image that I want it to be as big as the image not when it's text.

Any help is highly appreciated.
Thanks in advance!

Greetings

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

Time to create page: 0.098 seconds
Powered by Kunena Forum

Visitors

Today: 3
Yesterday: 45
This Week: 560
Last Week: 849
This Month: 2,575
Last Month: 2,574
0183689
United States 28.1% USA
Germany 22.7% Germany
Russia 4.2% Russia
France 3.2% France
Italy 2.7% Italy
Indonesia 2.5% Indonesia
Poland 2.1% Poland

Total:

205

countries

We use cookies on our website. Some of them are essential for the operation of the site, while others help us to improve this site and the user experience (tracking cookies). You can decide for yourself whether you want to allow cookies or not. Please note that if you reject them, you may not be able to use all the functionalities of the site.