Champ Weblink et images

More
6 years 7 months ago - 6 years 7 months ago #69257 by Lelouch
Bonjour,

Je me permets d'ouvrir un sujet afin de poser une petite question.

Je souhaiterais utiliser le champ weblink, mais où au lieu d'un texte qu'une image soit affichée sur le site.

Je suis allé dans :
édition => champ de formulaire => Class CSS

Mais, que voulez-vous dire par :
valeur1::etiquette1%%

C'est valeur1 où je coince. J'ai essayé différentes configurations, mais à chaque fois le texte reste affichée.

Mon but étant d'éviter du texte pour, par exemple, les réseaux sociaux et affichés les logos.

Je vous remercie.
Last edit: 6 years 7 months ago by Lelouch.

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

More
6 years 7 months ago #69260 by ggppdk
Replied by ggppdk on topic Champ Weblink et images
Hello

value1 is the classname
and label1 is the friendly name that will be shown in the drop down selection (for selecting class) in the item form

you make it easy and use:
classname1::classname1 %%
classname2::classname2 %%
classname3::classname3


-- 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...
The following user(s) said Thank You: Lelouch

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

More
6 years 7 months ago #69263 by Lelouch
Replied by Lelouch on topic Champ Weblink et images
Thank you very much, it works !!

Too bad, I can't remove the text and replace it with an image.
But, it does not matter. I will try to find a solution. ^^

Thanks.

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

More
6 years 7 months ago #69264 by ggppdk
Replied by ggppdk on topic Champ Weblink et images
Hello

you can try CSS
- 1 px width (or zero) and add you image via
Code:
.classname { width: 1px; height: 32px; overflow: hidden; } .classname::after { width: 32px; height: 32px; /* add image / icon css here */ }


-- 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
6 years 7 months ago #69265 by Lelouch
Replied by Lelouch on topic Champ Weblink et images
I t does not work, but I will continue to search with what you have given me.. ^^

Thanks a lot for your help. ;)

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

More
6 years 7 months ago #69275 by ggppdk
Replied by ggppdk on topic Champ Weblink et images
Hello

you should be able to do this using CSS

if you want you can post a link to the frontend display of the page that has the weblink with the custom class


-- 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.443 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