Support Offline : Mon - Fri / 10am - 6pm (GMT +6)

Your Time: Our Time:

custom css/less

Featured Lock Resolved Issue
Hey,

I would like to brainstorm about the following. We often add our own css and our own less file to the templates to style things differently.

We do this in the index.php of the template, by inserting it with a line:
$ this-> helix3-> addCSS ('ourstyle.css');
And the same for .less files.

The problem is that with an update of the template we have to do this every time. And if a customer updates his website himself this does not happen.

What else could we do to put this "fixed" in the template so that it does not disappear?


Hope someone has an idea!

6 Answers

Toufiq - Staff

More than a month ago #Permalink
Hi there,

Just create a custom.css file inside on your css folder. No need to linked with any file.

-Thanks

Toufiq - Staff

More than a month ago #Permalink
Hi there,

Please use the custom.css file inside the css folder instead of your process.

-Thanks

L. Leijen

More than a month ago #Permalink
Hi,

My other answer was for this subject...

There is no custom.css file in my css folder.

And i'm afraid all the css put in the custom CSS code area it will be added as inline style.
Please, tell me we can make custom.css and let it load in the header.

L. Leijen

More than a month ago #Permalink
Sanks!

Toufiq - Staff

More than a month ago #Permalink
Sanks!


Hi there, You are most welcome & Thanks


There are no replies made for this post yet.
Be one of the first to reply to this post!

Leaderboard (30 days)

Paul Frankowski

Paul Frankowski

Total Accepted Answers: 110
Sifat

Sifat

Total Accepted Answers: 61
Toufiq

Toufiq

Total Accepted Answers: 47
Mehtaz Afsana Borsha

Mehtaz Afsana Borsha

Total Accepted Answers: 14
Rashida Rahman

Rashida Rahman

Total Accepted Answers: 12

118

Templates

303054

Community Users

Newsletter

Don’t miss any updates of our new templates and extensions and all the astonishing offers we bring for you.
We never spam

Joomla! ® name is used under a limited license from Open Source Matters in the United States and other countries. JoomShaper.com is not affiliated with or endorsed by Open Source Matters or the Joomla! Project.

Connect Us