1. wallis
  2. Sherlock Holmes
  3. Commercial Templates
  4. Thursday, 11 September 2014
  5.  Subscribe via email
Hi Clarián
I need more help please. My template custom css field is growing fast with so many adjustments. Is it better to pass all the code to a sort of override css file? What is read last in the css process? That file or the template field? How do you see the need to use the !important statement? Trial and error?
Thanks
Accepted Answer Pending Moderation
0
Votes
Undo
Hello

If you wish you can add your Custom CSS to the end of your templates nexus.css to the same effect as this is the last CSS file to be loaded (../templates/[YourTemplate]/css/nexus.ss).

Ciarán
  1. more than a month ago
  2. Commercial Templates
  3. # 1
Accepted Answer Pending Moderation
0
Votes
Undo
In an eventual future update of the template that nexus.css file is going to be replaced? Is it better to save the modified file and use it after that upgrade? Any awy I'm used to take notes of all my adjustments and save them together with replaced files, etc.
Thanks
  1. more than a month ago
  2. Commercial Templates
  3. # 2
Accepted Answer Pending Moderation
0
Votes
Undo
Yes your nexus.css would replaced if you were to update your template in the future. It is for this reason the Custom CSS field is a better option to store your CSS. Alternatively you can create a new CSS file and link it up using your templates ../php/styles.php..

<l-ink rel="stylesheet" href="/<?php echo $this->baseurl ?>/templates/<?php echo $this->template?>/css/custom.css" type="text/css" />


Ciarán
  1. more than a month ago
  2. Commercial Templates
  3. # 3
Accepted Answer Pending Moderation
0
Votes
Undo
Thank you very much, Ciarán.
Best regards
wallis
  1. more than a month ago
  2. Commercial Templates
  3. # 4
Accepted Answer Pending Moderation
0
Votes
Undo
Most Joomla templates already have a reference to a custom.css file built in. Please add this function to updated and new templates, as it is kind of standard practice.
  1. more than a month ago
  2. Commercial Templates
  3. # 5
Accepted Answer Pending Moderation
0
Votes
Undo
Hello

As requested we have added a custom.css option to our templates. To avoid excess stylesheets been loaded we have added an option within the templates parameters to enable/disable this feature. For the moment this update has been added to all templates released since and including our 'Privilege' template.

Ciarán
  1. more than a month ago
  2. Commercial Templates
  3. # 6
Accepted Answer Pending Moderation
0
Votes
Undo
Very nice, thank you!
  1. more than a month ago
  2. Commercial Templates
  3. # 7
  • Page :
  • 1


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

Join Our Newsletter

* indicates required
We respect your privacy and do not tolerate spam and will never sell, rent, lease or give away your information (name, email, number, etc.) to any third party. Nor will we send you unsolicited email.
Joomla51 - Mullaghmore, Co. Sligo, Ireland
Joomla51.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by
Open Source Matters
the trademark holder in the United States and other countries.

We use cookies on our website. Some of them are essential for the operation of the site, while others help us to improve this site and the user experience (tracking cookies). You can decide for yourself whether you want to allow cookies or not. Please note that if you reject them, you may not be able to use all the functionalities of the site.

Ok