CSS layout issues in RedShop/boutique template

GK User
Mon Oct 17, 2011 10:21 pm
Hello,

I have JCH Optimize plugin installed to optimize my site, but that plugin gives me big problems with the RedShop component and the boutique template

As you can see here the style is missing for the add to cart button http://www.queermagazineonline.com/qmo-book-cafe and it's the same on the product info page.

I have added all RedShop Css file to Exclude CSS Files in JCH Optimize plugin parameters, but that doesn't help at all.

Would really appreciate some assistance here.
User avatar
Senior Boarder

GK User
Wed Oct 19, 2011 6:07 am
Can you add following css codes in override.css and see if that passes jch optimize plugin, if it does use it like that. Make sure CSS Override is enabled.

Code: Select all
.product_addtocart .cart-link a { background: #689fd8 url('../images/redshop/shopping_cart.png') no-repeat 14px 50%; padding: 1px 14px 1px 42px !important; font-size: 12px !important }
.product_addtocart .cart-link a:hover { background-color: #151515; }
.product_addtocart p { float: left; margin: 0 12px 0 0; }
User avatar
Platinum Boarder

GK User
Wed Oct 19, 2011 6:24 am
normanUK wrote:Can you add following css codes in override.css and see if that passes jch optimize plugin, if it does use it like that. Make sure CSS Override is enabled.

Code: Select all
.product_addtocart .cart-link a { background: #689fd8 url('../images/redshop/shopping_cart.png') no-repeat 14px 50%; padding: 1px 14px 1px 42px !important; font-size: 12px !important }
.product_addtocart .cart-link a:hover { background-color: #151515; }
.product_addtocart p { float: left; margin: 0 12px 0 0; }


Thank you so much for your reply.

Tried your suggestion, but didn't work.
User avatar
Senior Boarder

GK User
Wed Oct 19, 2011 6:29 am
Ok i ll try installing JCH optimize and see if there is anything that can be done...
User avatar
Platinum Boarder

GK User
Wed Oct 19, 2011 6:38 am
normanUK wrote:Ok i ll try installing JCH optimize and see if there is anything that can be done...


The guys who optimized our website added some lines to the htaccess file

Here is what they added

Code: Select all
<IfModule mod_gzip.c>
    mod_gzip_on       Yes
    mod_gzip_dechunk  Yes
    mod_gzip_item_include file      .(html?|txt|css|js|php|pl)$
    mod_gzip_item_include handler   ^cgi-script$
    mod_gzip_item_include mime      ^text/.*
    mod_gzip_item_include mime      ^application/x-javascript.*
    mod_gzip_item_exclude mime      ^image/.*
    mod_gzip_item_exclude rspheader ^Content-Encoding:.*gzip.*
</IfModule>
<ifmodule mod_deflate.c>
AddOutputFilterByType DEFLATE text/text text/html text/plain text/xml text/css application/x-javascript application/javascript
</ifmodule>
## EXPIRES CACHING ##
<IfModule mod_expires.c>
ExpiresActive On
ExpiresByType image/jpg "access 1 year"
ExpiresByType image/jpeg "access 1 year"
ExpiresByType image/gif "access 1 year"
ExpiresByType image/png "access 1 year"
ExpiresByType text/css "access 1 month"
ExpiresByType application/pdf "access 1 month"
ExpiresByType text/x-javascript "access 1 month"
ExpiresByType application/x-shockwave-flash "access 1 month"
ExpiresByType image/x-icon "access 1 year"
ExpiresDefault "access 2 days"
</IfModule>
## EXPIRES CACHING ##


Can this be the issue?
User avatar
Senior Boarder

GK User
Wed Oct 19, 2011 6:41 am
Can you please check following file permissions ( you can use ftp program ) and change it to 755 if its 644 and test again...
Code: Select all
/plugins/system/JCH_Optimize/jscss.php


Using default Quickstart with JCH optimize default install and settings i can see button is working fine. So if above does not work can you post a screenshot of your settings for JCH optimize...
User avatar
Platinum Boarder

GK User
Wed Oct 19, 2011 6:52 am
normanUK wrote:Can you please check following file permissions ( you can use ftp program ) and change it to 755 if its 644 and test again...
Code: Select all
/plugins/system/JCH_Optimize/jscss.php


Using default Quickstart with JCH optimize default install and settings i can see button is working fine. So if above does not work can you post a screenshot of your settings for JCH optimize...


No changes after I tried your suggestion.
Here is screenshots of settings for JCH optimize.
User avatar
Senior Boarder

GK User
Wed Oct 19, 2011 7:36 am
I have tried your settings and everything is working as it is... So it is really difficult suggesting anything where i cannot reproduce the error.

Only thing i can suggest is clear your joomla cache and any SEF url cache see if that helps if it doesnt then backup your website then uninstall JCH optimize and reinstall the plugin incase it is a file permission problem...
User avatar
Platinum Boarder

GK User
Wed Oct 19, 2011 2:18 pm
normanUK wrote:I have tried your settings and everything is working as it is... So it is really difficult suggesting anything where i cannot reproduce the error.

Only thing i can suggest is clear your joomla cache and any SEF url cache see if that helps if it doesnt then backup your website then uninstall JCH optimize and reinstall the plugin incase it is a file permission problem...


I really appreciate your help normanUK but I have tried everything now and it's still not working.
I uninstalled/reinstalled the plugin, uploaded the template again and now I have run out of ideas.
Everything is working with RedShop default template so I guess I have to use that one.
User avatar
Senior Boarder

GK User
Thu Oct 20, 2011 11:48 am
Well lets have a look again , few css files itself is working and few dont.

Can you try viewing your website in other browsers?
Did you edit any css files yourself?

If you have then it could be that you left a extra space somewhere so when it compress the css it could cause an error and thus not showing up.
Create a backup of your css files and try copying from template files again untouched and see if that works.

This is of course if you have edited any css files.

Also backup your old htaccess file try using a default htaccess file. You just have to narrow down the list tbh...
User avatar
Platinum Boarder

GK User
Thu Oct 20, 2011 2:18 pm
normanUK wrote:Well lets have a look again , few css files itself is working and few dont.

Can you try viewing your website in other browsers?
Did you edit any css files yourself?

If you have then it could be that you left a extra space somewhere so when it compress the css it could cause an error and thus not showing up.
Create a backup of your css files and try copying from template files again untouched and see if that works.

This is of course if you have edited any css files.

Also backup your old htaccess file try using a default htaccess file. You just have to narrow down the list tbh...


We had several issues with the boutique template so we had to change template to The World News II yesterday.

Thank you so much for all your help normanUK.
User avatar
Senior Boarder


cron