End of Support for Joomla 3 - Forum closed

[SOLVED] Override module

  • nohart
  • nohart's Avatar Offline Topic Author
  • Junior Boarder
  • Junior Boarder
  • Posts: 29
  • Thank you received: 1

Override module was created by nohart

Posted 3 years 3 weeks ago #28720
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:3 years 3 weeks ago by nohart
Last edit: 3 years 3 weeks ago by nohart.

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

Replied by joomlaplates on topic Override module

Posted 3 years 3 weeks ago #28721
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

Attachments:

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

  • nohart
  • nohart's Avatar Offline Topic Author
  • Junior Boarder
  • Junior Boarder
  • Posts: 29
  • Thank you received: 1

Replied by nohart on topic Override module

Posted 3 years 3 weeks ago #28730
Thank you!!!
I got it.
Have you nice day.
Tony
by nohart

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

  • nohart
  • nohart's Avatar Offline Topic Author
  • Junior Boarder
  • Junior Boarder
  • Posts: 29
  • Thank you received: 1

Replied by nohart on topic [SOLVED] Override module

Posted 3 years 3 weeks ago #28731
Problem solved.
by nohart

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

Moderators: joomlaplates

Installations-Service

Don´t waste your time, we install your purchased Template
with the "Demo Content" within the next 24 hours.

Buy Now - 59€

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