2

I am using a module called JM - Inrto Articles which in short allows you to add little preview tiles of other blog articles that have been posted. Problem is, I want to edit this using my own css. I have tried editing the style.css of the whole website, but the styling does not take effect on the module css.

Is it possible to edit the css of modules?

1
  • When you search for add css on this site you will surely find some suitable advice. Commented Oct 17, 2018 at 10:21

1 Answer 1

2

Joomla Monster seem to have added their css in a non-standard way by uploading it to the modules rather than media folder. This means the usual css overrides will not work.

However, in the module, there is an option called "module theme". Set this to "Override from template" and it will remove all their default styles.

You can find their styles under modules/mod_jm_articles_category/assets/default.css should you then want to copy these into your template's style sheet and edit them from there.

However, looking at their stylesheet, you should just be able to make small overrides in your template's style without replacing the whole thing - I suspect your previous edits might just need to be a bit more specific so that they take precedence over the module's default styles (or just whack in an !important if you are happy with lazy code).

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.