× Please select the right Template below! And please insert a live URL where we can see what do you mean. A screenshot is helpful too.

file [SOLVED] Override module

  • Posts: 29

Override module was created by nohart

Hi
I would like to add my style sheet as external class to any module (shortcodes included).
Is the component.PHP that I have to add my call to my class?

$doc->addStyleSheet($this->baseurl . '/my-file.css');

thank you
Tony
Last edit: 1 year 4 months ago by nohart.
1 year 4 months ago #1

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

  • Posts: 8260

Replied by joomlaplates on topic Override module

Hello, no sorry.
If you want to add a new css file to the theme you have to edit the file
..\templates\jp-time\layouts\theme.config.php

Attachment add-css.jpg not found

1 year 4 months ago #2
Attachments:

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

  • Posts: 29

Replied by nohart on topic Override module

Thank you!!!
I got it.
Have you nice day.
Tony
1 year 4 months ago #3

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

  • Posts: 29

Replied by nohart on topic [SOLVED] Override module

Problem solved.
1 year 4 months ago #4

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

Moderators: joomlaplates

Outstanding Support

24/7 Personal Email & Forum Support

Joomlaplates/Theme-Point is not affiliated with or endorsed by Open Source Matters or the Joomla! Project

Copyright © 2022 JoomlaPlates | Professional Joomla Templates with Uikit 3

Disclaimer & Privacy | License