X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Dev Questions (X-Cart 5) (https://forum.x-cart.com/forumdisplay.php?f=56)
-   -   Theme Tweaker does not work (https://forum.x-cart.com/showthread.php?t=68904)

taponitrof 03-20-2014 03:51 PM

Theme Tweaker does not work
 
I have theme tweaker enabled but when I add css, the rules are not added.

What do I have to do.

Here is my config on theme tweaker:

http://grab.by/vkUC

xanadude 03-21-2014 12:26 AM

Re: Theme Tweaker does not work
 
hi
try this for the powered by

http://forum.x-cart.com/showthread.php?t=68887&highlight=remove+powered+by

I cant remove it from the CSS tweak either

tony_sologubov 03-24-2014 04:43 AM

Re: Theme Tweaker does not work
 
Hi guys!

The problem you faced is caused by the CSS code you are inputting. Let me explain. The skins/default/en/css/theme.css file already contains the following code:

Code:

.powered-by p {
 margin: 0 0 7px;
 display: inline;
 width: 45%;
 white-space: nowrap;
}


and if you simply put .powered-by {display: none;} code into Custom CSS field, it will not work because according to CSS rules the code above has higher priority. At least, this way my Google Chrome displays things.

What you can do in order to work around this issue is to specify your code like this:
Code:

.powered-by .powered-by-label {
  display: none;
  }


and it will work as you need.

Tony.

taponitrof 03-24-2014 08:52 AM

Re: Theme Tweaker does not work
 
Thanks for your response. You are correct. I did not enter the correct css code.


All times are GMT -8. The time now is 06:39 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.