-
AuthorPosts
-
October 13, 2011 at 11:18 am #169624
Hello,
I have a problem with “optimize CSS” option in Ja Social’s Template manager. The problem is when I set optimize CSS to “Join & Minify & Compress” my template broke and view as a attached screenshot.
Please help me to fix this problem because without this option, my site size is very large.
TomC ModeratorTomC
- Join date:
- October 2014
- Posts:
- 14077
- Downloads:
- 58
- Uploads:
- 137
- Thanks:
- 948
- Thanked:
- 3155 times in 2495 posts
October 13, 2011 at 4:51 pm #419118Hmmmm, this is an odd issue – though it looks like it has something to do with the RTL configurations.
Let me look into this and I will get back to you shortly.1 user says Thank You to TomC for this useful post
TomC ModeratorTomC
- Join date:
- October 2014
- Posts:
- 14077
- Downloads:
- 58
- Uploads:
- 137
- Thanks:
- 948
- Thanked:
- 3155 times in 2495 posts
October 13, 2011 at 5:14 pm #419122Here is something to try . . .
add the following to the end/bottom of your .htaccess file (within your site root folder) . . .
<IfModule mod_expires.c>
RewriteCond %{REQUEST_FILENAME} -f
RewriteCond %{REQUEST_FILENAME} Add RewriteCond %{REQUEST_FILENAME} !/templates/ja_social/template_css.css$
RewriteRule ^(.*.(js|css|html?|xml|txt))$ smartoptimizer/?$1
</IfModule>
you may need to leave out the smart optimizer code, unless installed
If this does not work, then you can remove the code and re-save your .htaccess file.
1 user says Thank You to TomC for this useful post
October 13, 2011 at 7:17 pm #419144Thanks a lot for your help,
I’ve tried this but get “500 Internal Server error” maybe because of I past the code in a wrong position. However I’ve attached my .htaccess file here to do this for me.
Thanks a lot for helping. 🙂
TomC ModeratorTomC
- Join date:
- October 2014
- Posts:
- 14077
- Downloads:
- 58
- Uploads:
- 137
- Thanks:
- 948
- Thanked:
- 3155 times in 2495 posts
October 13, 2011 at 7:20 pm #419146This was only a possible suggestion . . . you would paste the code at the very end of the .htaccess file.
I am going to discuss this issue further with my Support Team colleagues – and get back to you a.s.a.p.
1 user says Thank You to TomC for this useful post
October 13, 2011 at 8:00 pm #419153I’ve tried again but got a “500 Internal Server error” :((
n6rej Friendn6rej
- Join date:
- November 2006
- Posts:
- 1040
- Downloads:
- 0
- Uploads:
- 63
- Thanks:
- 79
- Thanked:
- 145 times in 90 posts
October 13, 2011 at 11:22 pm #419183the way T3 is designed any files in your theme are the “overriding” file. So you want the changes you’ve been making to your .css and such in a override. The issue your having is that when you are doing the joining the lower priority element style is winding up the top priority.
you might try copying your RTL css to your theme but I think that since it works fine normally it won’t change.So what I would do is be sure all “caching” is off then try turning on the optimization one level @ a time ( join, then minify, etc ) until it breaks. @ that point you’ll have a better idea… it looks like its simply losing a .css which would be because the changes were done in the wrong file to be extensible
1 user says Thank You to n6rej for this useful post
October 14, 2011 at 1:15 pm #419321Thanks n6rej, But I am not familiar with programming language and I can’t understand what you say. :((
how can I request support team to do this for me? :-[
TomC ModeratorTomC
- Join date:
- October 2014
- Posts:
- 14077
- Downloads:
- 58
- Uploads:
- 137
- Thanks:
- 948
- Thanked:
- 3155 times in 2495 posts
October 14, 2011 at 2:02 pm #419342<em>@hossein ri 275895 wrote:</em><blockquote>Thanks n6rej, But I am not familiar with programming language and I can’t understand what you say. :((
how can I request support team to do this for me? :-[</blockquote>
I submitted a Support Ticket Request for you1 user says Thank You to TomC for this useful post
n6rej Friendn6rej
- Join date:
- November 2006
- Posts:
- 1040
- Downloads:
- 0
- Uploads:
- 63
- Thanks:
- 79
- Thanked:
- 145 times in 90 posts
October 15, 2011 at 1:51 am #419429try reading through the wiki maybe that will make more sense… is there a reason you can’t understand my video?
AuthorPostsViewing 10 posts - 1 through 10 (of 10 total)This topic contains 10 replies, has 3 voices, and was last updated by n6rej 13 years ago.
We moved to new unified forum. Please post all new support queries in our New Forum
template’s css optimize problem
Viewing 10 posts - 1 through 10 (of 10 total)