Jump to content

Custom CSS in Addon Modules


mojowill

Recommended Posts

I don't know if it's the best way to do it, but the way that I tried and works fine is to add at the top of your template file:

<link rel="stylesheet" type="text/css" href="mystyle.css" />

 

Please note that the css link is relative to your php file and NOT to template file. So if you want to add your stylesheet in the templates directory you must change the link to href="templates/default/mystyle.css" or href="templates/portal/mystyle.css"

 

Hope that it helps.

Maria

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated