-
AuthorPosts
-
gregs2 Friend
gregs2
- Join date:
- February 2014
- Posts:
- 3
- Downloads:
- 0
- Uploads:
- 0
- Thanked:
- 1 times in 1 posts
February 13, 2014 at 4:36 pm #194756I’m using t3_bs3_blank with Joomla 3.2.2. I’m new to the t3 framework.
I wanted to have a custom.css file to override a couple of styles and added custom.css to the folder t3_bs3_blank/css/custom.css
But I don’t see it loading in the header. I thought if it was in that folder it would get added? what am I doing wrong?
Thanks.
swissa Friendswissa
- Join date:
- November 2011
- Posts:
- 1955
- Downloads:
- 7
- Uploads:
- 277
- Thanks:
- 175
- Thanked:
- 717 times in 572 posts
February 13, 2014 at 4:58 pm #522572Joomla 3.2.2 is causing some problems with T3 (until they update it).
You can see solution for that problem here. Maybe that solves it.
If not documentation for T3 css is here. Check in tpls/blocks/head.php that you have the css called – around line 26
[PHP]<!– CUSTOM CSS –><link href=”<?php echo T3V3_TEMPLATE_URL ?>/css/custom.css” rel=”stylesheet” /><!– //CUSTOM CSS –>
[/PHP]1 user says Thank You to swissa for this useful post
gregs2 Friendgregs2
- Join date:
- February 2014
- Posts:
- 3
- Downloads:
- 0
- Uploads:
- 0
- Thanked:
- 1 times in 1 posts
February 13, 2014 at 5:43 pm #522578Thank you.
After looking at tpls/blocks/head.php I don’t see what your example is but on line 48 I see
// CUSTOM CSS
if (is_file(T3_TEMPLATE_PATH . '/css/custom.css')) {
$this->addStyleSheet(T3_TEMPLATE_URL . '/css/custom.css');
}
?>
I still don’t see the custom css after doing the below step, but at least I can work with the template pages again.
I did have a problem when I upgraded to 3.2.2, the template pages went blank. I ended up replacing a line of code in plugins/system/t3/admin/default.php.
$canDo = version_compare( JVERSION, '3.2.2', 'ge' ) ? JHelperContent::getActions('com_templates') : TemplatesHelper::getActions();
Wall Crasher DeveloperWall Crasher
- Join date:
- December 2011
- Posts:
- 1113
- Downloads:
- 0
- Uploads:
- 15
- Thanks:
- 66
- Thanked:
- 361 times in 300 posts
February 14, 2014 at 2:39 am #522615Hi gregs2
Please check the document of custom.css here
http://t3-framework.org/documentation/bs3-customization#custom-cssRegards
Scott Lavelle FriendScott Lavelle
- Join date:
- November 2010
- Posts:
- 266
- Downloads:
- 16
- Uploads:
- 5
- Thanks:
- 6
- Thanked:
- 64 times in 27 posts
February 14, 2014 at 2:57 am #522624Greg,
I doubt this helps you, but I just wanted to let you know that I have the same combo on my site and the custom.css IS working as it has in previous versions of the framework. Do you have a URL for your site?
Scott Lavelle - Technical Resource Solutions, LLC
Certified Joomla Administratorgregs2 Friendgregs2
- Join date:
- February 2014
- Posts:
- 3
- Downloads:
- 0
- Uploads:
- 0
- Thanked:
- 1 times in 1 posts
February 14, 2014 at 1:20 pm #522707<em>@slavelle 411216 wrote:</em><blockquote>Greg,
I doubt this helps you, but I just wanted to let you know that I have the same combo on my site and the custom.css IS working as it has in previous versions of the framework. Do you have a URL for your site?</blockquote>
Its working now, my mistake, when I added the line of code to fix the blank templates I did a cut and paste and didn’t realize I had a + at the beginning of the line. The latest t3 updates corrected my mistake.
1 user says Thank You to gregs2 for this useful post
-
AuthorPosts
This topic contains 6 replies, has 4 voices, and was last updated by gregs2 10 years, 9 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum