Frequently Asked Questions using Joomla content articles. iFAQ (former MooFAQ) is a FAQ Component for Joomla!™ which uses jQuery and Bootstrap to load Joomla Articles in Accordion format.

Product Page | Documentation Page

Is there a way to use template's custom.css

More
9 years 5 months ago #20190 by support
Dear lmbhssp,

I see. All you need to do in this case is add a prefix to the CSS rules. For example:
Code:
.ifaq.ifaq-tpl-basic .collapse-close{} .ifaq .ifaq-collapsible{}

Not there there is no space between .ifaq and .ifaq-tpl-basic, however there's a space .ifaq and all other CSS rules.

Another, not so elegant, alternative is to add !important at the end of each property;

Best regards,

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

More
9 years 5 months ago - 9 years 5 months ago #20189 by lmbhssp
But it does not work. Rules in custom.css always gets overridden by rules in ifaq.css. As you can see in the attached screenshot.

BTW, I am using iFAQ as modules.
Attachments:
Last edit: 9 years 5 months ago by lmbhssp.

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

More
9 years 5 months ago #20185 by support
Dear lmbhssp,

Yes, it shouldn't be a problem at all, just add the override CSS rules to your custom.css file in your template directory.

Add the same CSS rules to your templates custom.css file that you would add to the custom.css file in iFAQ directory. There's no change.

Let me know if you need any further assistance.

Best regards,

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

More
9 years 5 months ago #20180 by lmbhssp
Hello,

I want to override default iFAQ css rules. Is there a way I can do it in the custom.css file from the Joomla template I use? Yes, I have read through most of the threads in the forum and seen your suggestions to use custom.css or ifaq.css files in the component folder but that is just not an option for me. I really need to override css rules via template's custom.css file. Is there a way to do it?

Thanks.

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

Time to create page: 0.324 seconds

Our Partners

For your web hosting needs we recommend Hostinger. Save 20% on any plan using this link.