T3 Community Discussion & Support

Let's build the best free Joomla template framework, together!
  1. Florencia
  2. General Discussion
  3. Tuesday, September 29 2015, 03:47 PM
  4.  Subscribe via email
Hi folks, I'm seeing that my custom.ccs is not loaded even if the file exists.
If I change
this:


// CUSTOM CSS
if (is_file(T3_TEMPLATE_PATH . '/css/custom.css')) {
$this->addStyleSheet(T3_TEMPLATE_URL . '/css/custom.css');
}


to this


// CUSTOM CSS
//if (is_file(T3_TEMPLATE_PATH . '/css/custom.css')) {
$this->addStyleSheet(T3_TEMPLATE_URL . '/css/custom.css');
//}



Note: The if returns false...
The file is loaded, but isn't a good practice...
I don't know how to solve this without checking if the file is correct. I've created the file multiple times and on different folders:
templates/t3_bs3_blank/local/css/themes/mytheme/custom.css
templates/t3_bs3_blank/css/custom.css
templates/t3_bs3_blank/local/css/custom.css

But without results. This is important for me since I do the final touches through developer tools.
I used T3 several times but this is the first time I have this issue. And I always work with the local folder since I know that my files might be overwritten, and helps me keep everything clean.

Thank you in advance, for now I'm using the commented solution, but I want to know what I'm doing wrong, or if this is a bug.

Regards
Florencia
Comment
There are no comments made yet.
Gardner Luna Accepted Answer Pending Moderation
0
Votes
Undo
Hi,

So the file is not working when you changed the custom.css calling function from the layout file? or it does not work with default function?
If possible, please pm me your site url, admin account and FTP info, I will have closer check.

Regards.
Comment
There are no comments made yet.
  1. more than a month ago
  2. General Discussion
  3. # 1
  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.