[EXPLAINED] Remove class "fc_field_image" in image of related Field

More
9 years 2 months ago - 9 years 2 months ago #61289 by cmaciasg
Hi all,
I have a image/gallery field and I want to remove the class "fc_field_image" which FC add to all images , How I can accomplish this?
Thnak you in advanced
Last edit: 9 years 2 months ago by ggppdk.

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

More
9 years 2 months ago #61291 by ggppdk
Hello

of course for almost all classes we do not have parameters to do this,
- now about your question

- IF you want to override the CSS , then please do not do it this way !!,
it is better to just add the CSS style that you need

- if you start removing CSS classes things might break with a future version,
and then you may post here saying reporting a bug

ok, the above will propably not happen with particular class but if people start removing class , and of course later the forget about it, things may start breaking

example of using javascript to remove the class
Code:
jQuery(document).ready(function () { jQuery(".fc_field_image").removeClass(".fc_field_image"); });


-- 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.633 seconds
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
Save