Css et champs personnalisé

More
11 years 3 months 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.

More
11 years 3 months 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:
Code:
<div class="flexi value field_field17"> [i]... the field display HTML[/i] </div>

so you can use a CSS rule like:
Code:
.flexi.value.field_field17 { // ... }
or to style something inside it:
Code:
.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...

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

More
11 years 3 months 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.

More
11 years 3 months 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
Time to create page: 0.392 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