-
AuthorPosts
-
carlucci Friend
carlucci
- Join date:
- November 2006
- Posts:
- 509
- Downloads:
- 195
- Uploads:
- 108
- Thanks:
- 172
- Thanked:
- 17 times in 3 posts
July 16, 2015 at 10:49 am #208864I want insert one custom.css in index.php.
Where is this index.php?pavit Moderatorpavit
- Join date:
- September 2007
- Posts:
- 15749
- Downloads:
- 199
- Uploads:
- 2274
- Thanks:
- 417
- Thanked:
- 4028 times in 3778 posts
July 16, 2015 at 11:16 am #577659Hi
You cannot add a css file into an index.php fileThe index.php file for joomlart templates loads only the t3 framework plugin if you can give us more details on what are you trying to do we can be more helpful
pavit Moderatorpavit
- Join date:
- September 2007
- Posts:
- 15749
- Downloads:
- 199
- Uploads:
- 2274
- Thanks:
- 417
- Thanked:
- 4028 times in 3778 posts
July 16, 2015 at 11:16 am #643953Hi
You cannot add a css file into an index.php fileThe index.php file for joomlart templates loads only the t3 framework plugin if you can give us more details on what are you trying to do we can be more helpful
pavit Moderatorpavit
- Join date:
- September 2007
- Posts:
- 15749
- Downloads:
- 199
- Uploads:
- 2274
- Thanks:
- 417
- Thanked:
- 4028 times in 3778 posts
July 16, 2015 at 11:16 am #742588Hi
You cannot add a css file into an index.php fileThe index.php file for joomlart templates loads only the t3 framework plugin if you can give us more details on what are you trying to do we can be more helpful
carlucci Friendcarlucci
- Join date:
- November 2006
- Posts:
- 509
- Downloads:
- 195
- Uploads:
- 108
- Thanks:
- 172
- Thanked:
- 17 times in 3 posts
July 16, 2015 at 5:28 pm #577688<em>@pavit 483305 wrote:</em><blockquote>Hi
You cannot add a css file into an index.php fileThe index.php file for joomlart templates loads only the t3 framework plugin if you can give us more details on what are you trying to do we can be more helpful</blockquote>
The right thing would be placed in:
see attachmentBut not work!!
pavit Moderatorpavit
- Join date:
- September 2007
- Posts:
- 15749
- Downloads:
- 199
- Uploads:
- 2274
- Thanks:
- 417
- Thanked:
- 4028 times in 3778 posts
July 16, 2015 at 5:34 pm #577692Hi
What you are doing is not needed , custom.css is already loaded by templatesja_teline_vtplsblockshead.php at line 56
<?php
// CUSTOM CSS
if (is_file(T3_TEMPLATE_PATH . '/css/custom.css')) {
$this->addStyleSheet(T3_TEMPLATE_URL . '/css/custom.css');
}
?>
So if you need to add a custom style you need to create a new file named custom.css into this folder templatesja_teline_vcss and add your style inside that file
Take a look at the documentation HEREcarlucci Friendcarlucci
- Join date:
- November 2006
- Posts:
- 509
- Downloads:
- 195
- Uploads:
- 108
- Thanks:
- 172
- Thanked:
- 17 times in 3 posts
July 16, 2015 at 5:52 pm #577696<em>@pavit 483352 wrote:</em><blockquote>Hi
What you are doing is not needed , custom.css is already loaded by templatesja_teline_vtplsblockshead.php at line 56
<?php
// CUSTOM CSS
if (is_file(T3_TEMPLATE_PATH . '/css/custom.css')) {
$this->addStyleSheet(T3_TEMPLATE_URL . '/css/custom.css');
}
?>So if you need to add a custom style you need to create a new file named custom.css into this folder templatesja_teline_vcss and add your style inside that file
Take a look at the documentation HERE</blockquote>custom.css, I have placed in /template /ja_ teline_v / css
It’s enough?
Do not I have to do anything else?pavit Moderatorpavit
- Join date:
- September 2007
- Posts:
- 15749
- Downloads:
- 199
- Uploads:
- 2274
- Thanks:
- 417
- Thanked:
- 4028 times in 3778 posts
July 16, 2015 at 5:59 pm #577698<blockquote>It’s enough?
Do not I have to do anything else?</blockquote>If you added already that file than it is enough , you do not need to add anything else , later if you need to add new css code that will be not overrided by template updates then you need to add the code to the custom.css file
1 user says Thank You to pavit for this useful post
carlucci Friendcarlucci
- Join date:
- November 2006
- Posts:
- 509
- Downloads:
- 195
- Uploads:
- 108
- Thanks:
- 172
- Thanked:
- 17 times in 3 posts
July 16, 2015 at 6:20 pm #577700<em>@pavit 483359 wrote:</em><blockquote>If you added already that file than it is enough , you do not need to add anything else , later if you need to add new css code that will be not overrided by template updates then you need to add the code to the custom.css file</blockquote>
Thank very much!
-
AuthorPosts
This topic contains 9 replies, has 2 voices, and was last updated by pavit 9 years, 4 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum