1. Ravasio
  2. Sherlock Holmes
  3. Commercial Templates
  4. Saturday, 08 April 2017
  5.  Subscribe via email
Template London. I customized the template london inserting css code in custom.css. The customization does not take effect even if I enabled the loading of custom.css file (see screeshot). Customization is effective only if I enter the code directly into the template settings. Perhaps there is some error in styles.php or variables.php file.
Accepted Answer Pending Moderation
0
Votes
Undo
Solution:
In /templates/j51_london/inc/style.php
line 301: custom_sw replaced with customcss_sw


// Custom.css
$document->addStyleDeclaration($this->params->get('custom_css'));
if($this->params->get('customcss_sw') == "1") {
$document->addStyleSheet('templates/'.$this->template.'/css/custom.css');
}
  1. more than a month ago
  2. Commercial Templates
  3. # 1
Accepted Answer Pending Moderation
0
Votes
Undo
Hello

If you have a number of template styles created (Extenisons -> Templates), please ensure that you have added the Custom CSS to the correct template style.

Ciarán
  1. more than a month ago
  2. Commercial Templates
  3. # 2
Accepted Answer Pending Moderation
0
Votes
Undo
I have added custom.css in folder template/j51_london/css (see image). No effect. :(
Attachments (1)
  1. more than a month ago
  2. Commercial Templates
  3. # 3
Accepted Answer Pending Moderation
0
Votes
Undo
Hello

Thank you for bringing this to our attention. This issue has been resolved in the latest download of the template. For details on updating your template may I suggest the following article... http://joomla51.com/tutorials/item/updating-your-template

Ciarán
  1. more than a month ago
  2. Commercial Templates
  3. # 4
  • 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.