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)
-   -   Remove blank space on left - one category (https://forum.x-cart.com/showthread.php?t=68799)

mworsnop 03-09-2014 10:36 AM

Remove blank space on left - one category
 
Using version 5.0.11
I have used
.block-top-categories {display: none;}
I only have one category so no point it having then listed,

And now the block is missing, this is good. But there is a huge space on the left. I dont seem to be able to find anything that lets me edit the page.

How can I change this dead space?

I tried adding this to CSS

.sidebar {
width: 60px;
}

.one-sidebar {
width: 60px;
}

It seems to work ONE refresh and then it goes back to whatever it was before. I am guessing its reading some other CSS file and overriding the custom CSS.

RichieRich 03-10-2014 11:56 AM

Re: Remove blank space on left - one category
 
Same as previous post if you rebuild the cache this likely fixes the issue.

mworsnop 03-10-2014 12:11 PM

Re: Remove blank space on left - one category
 
Yes I figured that out after you said to rebuild the cache. But how on earth am I supposed to design a web site without having to build cache after ever change?

RichieRich 03-10-2014 12:35 PM

Re: Remove blank space on left - one category
 
Ctrl + f5 usually refreshes the page you are on with a hard-refresh.

Otherwise you can design the site in your chosen software and then copy all the css at once.

Another option if you want to keep updating it to see it within x-cart is to turn off cahce css, until you are finished or go live.

qualiteam 03-11-2014 12:17 AM

Re: Remove blank space on left - one category
 
You don't need to rebuild the cache of PHP classes if you just update an existing CSS file. CTRL+R or CTRL+F5 will work in most cases.


All times are GMT -8. The time now is 02:46 PM.

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