Custom CSS classes for fields

More
10 years 10 months ago #43563 by gkhn
Hi there,

I have tried searching for this but couldnt find a proper answer.

I was just wondering if it is possible to add a custom css class to a field.

I have a text field called leadtext. I want to be able to add a class to this text so that it is nicely presented. Just like text field, I want to be able to add classes to image fields... Is this possible? I have checked the field options but cannot see any css options.
if this is not possible, how can I override this field's default css?

I have a template.css file that can override the flexicontent css files...

When I inspect this text field, I can see the css classes such as
Code:
<div class="flexi value field_text"
I can override this but if I add another text field, would that effect that text field also? I want each field to be styled independently in some cases.


Thank you.

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

More
10 years 10 months ago #43565 by igcorreia
Yes you can.

In FIELDs DETAILS you have 4 inputs in SUFFIX and PREFIX.

Read the description they help.

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

More
10 years 10 months ago #43584 by gkhn
Replied by gkhn on topic Custom CSS classes for fields
Yes this solved my problem! THank you for the reply.

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

More
10 years 10 months ago #43601 by micker
you can read this
www.flexicontent.org/site-conten ... ntent.html
;)

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.

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.453 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