-
AuthorPosts
-
riwaa Friend
riwaa
- Join date:
- June 2014
- Posts:
- 11
- Downloads:
- 1
- Uploads:
- 1
- Thanks:
- 2
- Thanked:
- 1 times in 1 posts
August 1, 2014 at 9:16 pm #200186Hi
I would like to add custom css file to JA Zite 3.2 template, but where should I do that? I tried to add it to the css folder of Zite template folder but it doesn’t work. any suggestions please
Thanks
TomC ModeratorTomC
- Join date:
- October 2014
- Posts:
- 14077
- Downloads:
- 58
- Uploads:
- 137
- Thanks:
- 948
- Thanked:
- 3155 times in 2495 posts
August 1, 2014 at 9:17 pm #544221The file path should be —> /templates/ja_zite/css/custom.css
riwaa Friendriwaa
- Join date:
- June 2014
- Posts:
- 11
- Downloads:
- 1
- Uploads:
- 1
- Thanks:
- 2
- Thanked:
- 1 times in 1 posts
August 2, 2014 at 6:55 am #544239Hi tom
I tried to create custom.css file in that path but it doesn’t work
regards
chavan Friendchavan
- Join date:
- October 2014
- Posts:
- 4612
- Downloads:
- 0
- Uploads:
- 110
- Thanked:
- 1440 times in 1290 posts
August 2, 2014 at 7:30 am #544243can you please post your admin details in PM
TomC ModeratorTomC
- Join date:
- October 2014
- Posts:
- 14077
- Downloads:
- 58
- Uploads:
- 137
- Thanks:
- 948
- Thanked:
- 3155 times in 2495 posts
August 4, 2014 at 5:39 pm #544495<em>@riwaa 439162 wrote:</em><blockquote>Hi tom
I tried to create custom.css file in that path but it doesn’t work
regards</blockquote>
What element(s) are you trying to work with? – There are some modules/extensions for which the custom.css option will not work properly. Can you clarify as to what element(s) on your site you are wanting to modify?
riwaa Friendriwaa
- Join date:
- June 2014
- Posts:
- 11
- Downloads:
- 1
- Uploads:
- 1
- Thanks:
- 2
- Thanked:
- 1 times in 1 posts
August 5, 2014 at 3:25 pm #544664it is simple elements, background image or font size colors, logo positions, shadows and radius.
their are no complex css code will be usedTomC ModeratorTomC
- Join date:
- October 2014
- Posts:
- 14077
- Downloads:
- 58
- Uploads:
- 137
- Thanks:
- 948
- Thanked:
- 3155 times in 2495 posts
August 5, 2014 at 4:13 pm #544671<em>@riwaa 439680 wrote:</em><blockquote>it is simple elements, background image or font size colors, logo positions, shadows and radius.
their are no complex css code will be used</blockquote>Please advise exactly what is the file path you have set up for your custom.css file.
Also, please cut and paste the CSS you have within your custom.css file.
Nazario A FriendNazario A
- Join date:
- April 2013
- Posts:
- 1183
- Downloads:
- 0
- Uploads:
- 406
- Thanks:
- 91
- Thanked:
- 284 times in 263 posts
August 6, 2014 at 3:19 am #544731JA Zite is base on T3v2 Framework. Because of that, if you want to customise the CSS on your site, you can use the class suffixes then find and change the value of code or add your custom code at the end of file /templates/your_template_name/css/template.css
Let me know if this helps
TomC ModeratorTomC
- Join date:
- October 2014
- Posts:
- 14077
- Downloads:
- 58
- Uploads:
- 137
- Thanks:
- 948
- Thanked:
- 3155 times in 2495 posts
August 6, 2014 at 3:58 pm #544834<em>@Nazario A 439761 wrote:</em><blockquote>@riwaa ,
JA Zite is base on T3v2 Framework. Because of that, if you want to customise the CSS on your site, you can use the class suffixes then find and change the value of code or add your custom code at the end of file /templates/your_template_name/css/template.css
</blockquote>Also, in order to protect your changes from future core template upgrades/updates, you will want to utilize – which function much like the custom.css file does for pre-T3V2 templates.
riwaa Friendriwaa
- Join date:
- June 2014
- Posts:
- 11
- Downloads:
- 1
- Uploads:
- 1
- Thanks:
- 2
- Thanked:
- 1 times in 1 posts
August 6, 2014 at 8:00 pm #544889Hi Tom
the path I tried for css is : .. /templates/ja_zite/css/custom.css
and I started with change the logo potion with floating (some thing wrong with the site i have error 404, but it was working) i copied the code from inspect elements and just change the valuesI will setup the project again and send the code as it to you
thanks
TomC ModeratorTomC
- Join date:
- October 2014
- Posts:
- 14077
- Downloads:
- 58
- Uploads:
- 137
- Thanks:
- 948
- Thanked:
- 3155 times in 2495 posts
August 6, 2014 at 8:06 pm #544894<em>@riwaa 439953 wrote:</em><blockquote>Hi Tom
the path I tried for css is : .. /templates/ja_zite/css/custom.css
and I started with change the logo potion with floating (some thing wrong with the site i have error 404, but it was working) i copied the code from inspect elements and just change the valuesI will setup the project again and send the code as it to you
thanks</blockquote>
See Nazario A’s comment in Post #8 above . . . followed by my additional comment.
Nazario A FriendNazario A
- Join date:
- April 2013
- Posts:
- 1183
- Downloads:
- 0
- Uploads:
- 406
- Thanks:
- 91
- Thanked:
- 284 times in 263 posts
August 7, 2014 at 5:41 am #544980@riwaa,
As I mentioned in my previous reply, JA Zite is based on old JAT3v2 framework and it will not automatically load custom.css file as the new T3 framework, you need to call it via head block of this templateYou can go to file: /templates/your_template_name/tpls/blocks/head.php
Add this line of code:
[PHP]<link rel=”stylesheet” href=”templates/<?php echo T3_ACTIVE_TEMPLATE; ?>/css/custom.css” type=”text/css” />[/PHP]
Let me know if this helps
1 user says Thank You to Nazario A for this useful post
jurgeng Friendjurgeng
- Join date:
- December 2010
- Posts:
- 77
- Downloads:
- 56
- Uploads:
- 12
- Thanks:
- 7
- Thanked:
- 6 times in 3 posts
January 20, 2016 at 10:45 pm #863599This didn’t solve my issue trying to customize the CSS for
<sub>
and<sup>
No way to add a class suffix there.Edit: modifying the block file did.
jurgeng Friendjurgeng
- Join date:
- December 2010
- Posts:
- 77
- Downloads:
- 56
- Uploads:
- 12
- Thanks:
- 7
- Thanked:
- 6 times in 3 posts
January 20, 2016 at 10:58 pm #863608Okay… small addition. The annoying bold red sub- and superscript were not part of the template, but part of the JA Typo plugin. Fix should happen there.
-
AuthorPosts
This topic contains 14 replies, has 6 voices, and was last updated by Saguaros 8 years, 10 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum