Champ Weblink et images

7 months 2 weeks ago - 7 months 2 weeks 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.

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

7 months 2 weeks ago #69260 by ggppdk
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 review. Thanks!
The following user(s) said Thank You: Lelouch

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

7 months 2 weeks ago #69263 by Lelouch
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.

7 months 2 weeks ago #69264 by ggppdk
Hello

you can try CSS
- 1 px width (or zero) and add you image via
.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 review. Thanks!

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

7 months 2 weeks ago #69265 by Lelouch
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.

7 months 2 weeks ago #69275 by ggppdk
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 review. Thanks!

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

7 months 2 weeks ago #69278 by Lelouch
Thanks a lot for your help. ;)

Finally, I used the champ : Text (number/time/etc/custom validation).

With opening text :
<a href="

And closing text :
"> <img src="link img"></a>

I created 3 champ : Facebook, Twitter and Instagram.
Just, I will not have the number of clicks. But, It's not really serious. :)

Finaly, I have my 3 champ and in my field, I just have to add the web address.

For me it's more simple. ^^

Thanks again for your help.

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

Moderators: vistamediajoomlacornerggppdk
© 2018 Flexicontent. All Rights Reserved.