Css et champs personnalisé

5 years 1 month ago #38776 by manubelin
Bonjour

je suis en train de construire un site avec flexi

je n'arrive pas à comprendre comment appliquer un style css à un champs personnalisé que j'ai créé.

Il s'agit d'un champs texte de base "chapeau" pour afficher avant le texte complet.

dans firebug je ne vois pas son nom, je sais qu'il s'agit du champs "field17" et son nom est "chapeau" mais ou et comment le déclarer ?

Merci pour votre aide


Hello

I am trying to build a site with flexible

I do not understand how to apply a css style to a custom field that I created.

It is a text database fields "hat" to appear before the full text.

in firebug I do not see his name, I know that this is the field "field17" and his name is "hat" but where and how to report it?

Thank you for your help

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

5 years 1 month ago #38777 by ggppdk
Replied by ggppdk on topic Css et champs personnalisé
Hello,

Hello which FLEXIcontent template are you using and you speak of item view or category view (aka the item layout of the template or the category layout of the template)

when a field is displayed via a template position then, it should be inside something like this:
<div class="flexi value field_field17">
[i]... the field display HTML[/i]
</div>

so you can use a CSS rule like:
.flexi.value.field_field17 {
  // ...
}
or to style something inside it:
.flexi.value.field_field17  span.someclass {
  // ...
}


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

5 years 1 month ago #38794 by micker
Replied by micker on topic Css et champs personnalisé
I think i will start a tutorial about templating for september...
1 presentation of file
2 adding position in xml and php
3 customise css
4 renderonly position
5 translation in template
What do you think ?

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.

5 years 1 month ago #38795 by manubelin
Oui un tuto serait bienvenue, j'ai eu un peu de mal à trouver des infos pour ce type de problème !!

je fais des essais !!

merci

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

Moderators: vistamediajoomlacornerggppdk
© 2018 Flexicontent. All Rights Reserved.