Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls

Remove blank space on left - one category

 
Reply
   X-Cart forums > X-Cart 5 > Dev Questions (X-Cart 5)
 
Thread Tools Search this Thread
  #1  
Old 03-09-2014, 10:36 AM
 
mworsnop mworsnop is offline
 

Senior Member
  
Join Date: Mar 2014
Posts: 140
 

Default 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.
__________________
Mark Worsnop

vers 5.3.3
Reply With Quote
  #2  
Old 03-10-2014, 11:56 AM
  RichieRich's Avatar 
RichieRich RichieRich is offline
 

X-Adept
  
Join Date: Sep 2004
Location: London, England
Posts: 750
 

Default Re: Remove blank space on left - one category

Same as previous post if you rebuild the cache this likely fixes the issue.
__________________
Richard


Ultimate 5.4 testing
Reply With Quote
  #3  
Old 03-10-2014, 12:11 PM
 
mworsnop mworsnop is offline
 

Senior Member
  
Join Date: Mar 2014
Posts: 140
 

Default 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?
__________________
Mark Worsnop

vers 5.3.3
Reply With Quote
  #4  
Old 03-10-2014, 12:35 PM
  RichieRich's Avatar 
RichieRich RichieRich is offline
 

X-Adept
  
Join Date: Sep 2004
Location: London, England
Posts: 750
 

Default 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.
__________________
Richard


Ultimate 5.4 testing
Reply With Quote

The following user thanks RichieRich for this useful post:
qualiteam (03-11-2014)
  #5  
Old 03-11-2014, 12:17 AM
  qualiteam's Avatar 
qualiteam qualiteam is offline
 

X-Guru
  
Join Date: Dec 2010
Posts: 6,373
 

Default 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.
__________________
Alex Solovev,
Qualiteam

---

User manual Video tutorials X-Cart FAQ

You are welcome to press "Thanks" button
if you find this post useful

Click here to learn how to apply patches

X-Cart Extensions
Reply With Quote
Reply
   X-Cart forums > X-Cart 5 > Dev Questions (X-Cart 5)


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


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

   

 
X-Cart forums © 2001-2020