[Answered] Multibox - affichage loupe MagIcon

More
11 years 11 months ago #25322 by Medlinya
Bonjour,

J'ai créé un champ image avec pour type de pop-up multibox.

En front-end, sur l'image miniature est affichée une petite loupe bleue (MagIcon). Je souhaite ne pas afficher cette petite loupe, mais je ne trouve pas comment faire pour la désactiver.

J'ai vu que dans le répertoire ...\librairies\multibox\Images\mb_Components il y avait plusieurs "couleurs" de cette image.
Si je modifie les fichiers multiBox.css et multiBoxIE6.css en enlevant la partie Overlay icon, qu'adviendra-t-il à la prochaine mise à jour du composant ? Devrais-je à nouveau modifier ces fichiers css ?

Je dois avoir loupé un paramètre quelque part...

Merci de votre aide.

Joomla! 2.5.4
com_flexicontent_v2.0_RC5_r1316

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

More
11 years 11 months ago #25329 by ggppdk
We don't have a parameter for this and not sure if there is a multibox setting for this, maybe you will have to hack multibox files.

If this is not important maybe not change it?


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

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

More
11 years 11 months ago #25338 by micker
si tu uitlise un display none dans ton template.css ca n'aura aucun impact lors d'update non ?

FLEXIcontent is Free but involves a very big effort on our part.
Like the our support? (for a bug-free FC, despite being huge extension) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing reviews. Thanks![/size]

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

More
11 years 11 months ago #25355 by Medlinya
C'est vraiment dommage qu'il n'y ait pas de paramètre sur multibox ; d'autant plus que je ne comprends pas pourquoi l'image MagIcon est déclinée en plusieurs couleurs dans le répertoire ..\librairies\multibox\Images\mb_Components
Pourtant, j'ai vu qu'avec JCE Mediabox, il était possible de paramétrer l'affichage de cette loupe (paramètre présent dans le plug-in System - JCE MediaBox - Options Pop-up - Icône Zoom/Popup - sélectionner "Non").
Il aurait été génial qu'un paramètre similaire soit disponible pour multibox.

La personne pour qui je construit ce site ne voulait pas voir s'afficher ces petites loupes miniatures sur chacune des images (surtout en bleu, couleur qui ne correspond pas du tout avec le "design" du site), il est donc important que je les enlève.

J'ai donc résolu le problème en remplaçant l'image de base "MagIcon.png" par "MagIcon(grayscale).png" (qui est présente dans le répertoire des images) et cela n'affiche plus la loupe bleue sur mes images miniatures (cela n'affiche d'ailleurs plus aucune loupe !)

Je pense que ce n'est pas la solution idéale, mais au moins ça marche...Je bidouille comme je peux avec les maigres connaissances que j'ai.

J'ai fais cela dans les deux fichiers css "multiBox.css" et "multiBoxIE6.css" présents dans le répertoire ..\librairies\multibox\Styles

multiBox.css - ligne 154 :
Code:
/* Overlay icon - - - - */ .OverlayIcon{ background:transparent url(../Images/mb_Components/MagIcon(grayscale).png) no-repeat; position:absolute; right:-5px; top:-5px; width:17px; height:17px; }

multiBoxIE6.css - ligne 33 :
Code:
/* Overlay icon - - - - */ .OverlayIcon{ background:none; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader (src='/Images/mb_Components/MagIcon(grayscale).png', sizingMethod='image'); }

Du coup, à chaque mise à jour de FlexiContent, je devrait aller modifier ces lignes.. !

Micker, je ne comprend pas pourquoi utiliser un display none dans mon tempalte.css.
Pour moi l'affichage de cette loupe vient des fichiers cités ci-dessus et non pas de mon template.css.

Joomla! 2.5.4
com_flexicontent_v2.0_RC5_r1316

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

More
11 years 11 months ago #25369 by micker
Code:
.OverlayIcon{ display:none; }
theoriquement si tu mets ca dans le template.css ca le cachera car le template est charger apres le multibox donc apres quand tu fais des mises a jour no soucis
a tester
a+

FLEXIcontent is Free but involves a very big effort on our part.
Like the our support? (for a bug-free FC, despite being huge extension) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing reviews. Thanks![/size]

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

More
11 years 11 months ago #25388 by ggppdk
Yes the icon is placed inside a div box with OverlayIcon CSS class, so micker suggestion will work,

also maybe add !importantto id
so the
Code:
.OverlayIcon{ display:none !important; }


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

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

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.413 seconds
Save
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline