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

Remove Sidebar Completley ?

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 03-18-2013, 07:33 AM
 
liamb2001 liamb2001 is offline
 

eXpert
  
Join Date: May 2006
Posts: 216
 

Default Remove Sidebar Completley ?

Can anyone tell me how i would remove the sidebar from all pages ? im using the ideal comfort theme and want the main area to take the full width of my page.
__________________
X-Cart Version 4.55
Reply With Quote
  #2  
Old 03-18-2013, 08:10 PM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,201
 

Default Re: Remove Sidebar Completley ?

look at the css - the class applied to this part has left/right margins
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote
  #3  
Old 03-19-2013, 03:14 AM
 
liamb2001 liamb2001 is offline
 

eXpert
  
Join Date: May 2006
Posts: 216
 

Default Re: Remove Sidebar Completley ?

i have removed them but but it messes the whole design up
__________________
X-Cart Version 4.55
Reply With Quote
  #4  
Old 03-19-2013, 04:22 AM
  ADDISON's Avatar 
ADDISON ADDISON is offline
 

X-Man
  
Join Date: Jan 2008
Posts: 2,613
 

Default Re: Remove Sidebar Completley ?

I suggest you using templates for categories/products/manufacturers. There is a good module supplied by WCM. If you don't want it, you have to use smarty templates for your categories. Imagine that left_bar has a space allocated. Once you remove the side bar you need to take this space and use it. It is not just simple, but it could be done with basic information about smarty, css and XC file structure.
__________________
X-Cart Next: Business 5.2 (learning and testing)
X-Cart Classic: Gold and Gold Plus 4.7
Lots of Modules and Customizations
OS in use: Red Hat Enterprise, Fedora, CentOS, Debian, Ubuntu, Linux Mint, Kali Linux
Ideas for Server configuration (basicaly): Nginx/Pound (reverse proxy), Apache/Nginx (webserver), Squid/Varnish (cache server), HHVM or (PHP-FPM + PHP 5.6 + opcache), MariaDB/Percona MySQL Server, Redis (storing sessions)

You can catch my ideas here: http://ideas.x-cart.com
Reply With Quote
  #5  
Old 03-19-2013, 04:24 AM
 
liamb2001 liamb2001 is offline
 

eXpert
  
Join Date: May 2006
Posts: 216
 

Default Re: Remove Sidebar Completley ?

yes i understand i just need to know what css to edit as its not as simple as making the sidebar width 0 or the main content 100%, im hoping someone who has done it can answer
__________________
X-Cart Version 4.55
Reply With Quote
  #6  
Old 03-19-2013, 04:27 AM
  ADDISON's Avatar 
ADDISON ADDISON is offline
 

X-Man
  
Join Date: Jan 2008
Posts: 2,613
 

Default Re: Remove Sidebar Completley ?

Firefox, Chrome and Opera - all have code inspectors. They will help you finding the right files you need to edit.
__________________
X-Cart Next: Business 5.2 (learning and testing)
X-Cart Classic: Gold and Gold Plus 4.7
Lots of Modules and Customizations
OS in use: Red Hat Enterprise, Fedora, CentOS, Debian, Ubuntu, Linux Mint, Kali Linux
Ideas for Server configuration (basicaly): Nginx/Pound (reverse proxy), Apache/Nginx (webserver), Squid/Varnish (cache server), HHVM or (PHP-FPM + PHP 5.6 + opcache), MariaDB/Percona MySQL Server, Redis (storing sessions)

You can catch my ideas here: http://ideas.x-cart.com
Reply With Quote
  #7  
Old 03-19-2013, 04:30 AM
 
liamb2001 liamb2001 is offline
 

eXpert
  
Join Date: May 2006
Posts: 216
 

Default Re: Remove Sidebar Completley ?

i have done mate, spent 2 hours yesterday tweaking different one, i managed to make it work on categories page but that messed up the products page ...which i didnt notice till later on...Im no stranger to CSS, i just find the way Xcart creates the layouts a little strange with names like page-container2 etc divs in divs in divs with percentages
__________________
X-Cart Version 4.55
Reply With Quote
  #8  
Old 03-19-2013, 04:40 AM
  ADDISON's Avatar 
ADDISON ADDISON is offline
 

X-Man
  
Join Date: Jan 2008
Posts: 2,613
 

Default Re: Remove Sidebar Completley ?

you need a tools collection to deal with XC: PHP, MySQL, CSS, JavaScript, JQuery, Smarty, XML, JSON, own XC functions.

the nice part of XC is the programming part is separately than design part. if you are not a programmer, you can deal only with smarty/html/css for different customization.

webmaster mode will help you identifying the templates and variables which are available for different pages. inspect code in browsers will help you see information about css, html.

you need also to know how to look over a code inside the whole XC directory. I do recommend Sublime Text 2 as default editor.

last but not the least make an effort to read the User Manual. just generate one from here in PDF: help.x-cart.com
__________________
X-Cart Next: Business 5.2 (learning and testing)
X-Cart Classic: Gold and Gold Plus 4.7
Lots of Modules and Customizations
OS in use: Red Hat Enterprise, Fedora, CentOS, Debian, Ubuntu, Linux Mint, Kali Linux
Ideas for Server configuration (basicaly): Nginx/Pound (reverse proxy), Apache/Nginx (webserver), Squid/Varnish (cache server), HHVM or (PHP-FPM + PHP 5.6 + opcache), MariaDB/Percona MySQL Server, Redis (storing sessions)

You can catch my ideas here: http://ideas.x-cart.com
Reply With Quote
  #9  
Old 03-19-2013, 04:58 AM
 
liamb2001 liamb2001 is offline
 

eXpert
  
Join Date: May 2006
Posts: 216
 

Default Re: Remove Sidebar Completley ?

ok interesting, thanks for the advice mate
__________________
X-Cart Version 4.55
Reply With Quote
  #10  
Old 03-19-2013, 05:03 AM
  ADDISON's Avatar 
ADDISON ADDISON is offline
 

X-Man
  
Join Date: Jan 2008
Posts: 2,613
 

Default Re: Remove Sidebar Completley ?

I see you are an old member of this forum. Older than me. You should have a solid relationship with XC by now.
__________________
X-Cart Next: Business 5.2 (learning and testing)
X-Cart Classic: Gold and Gold Plus 4.7
Lots of Modules and Customizations
OS in use: Red Hat Enterprise, Fedora, CentOS, Debian, Ubuntu, Linux Mint, Kali Linux
Ideas for Server configuration (basicaly): Nginx/Pound (reverse proxy), Apache/Nginx (webserver), Squid/Varnish (cache server), HHVM or (PHP-FPM + PHP 5.6 + opcache), MariaDB/Percona MySQL Server, Redis (storing sessions)

You can catch my ideas here: http://ideas.x-cart.com
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not 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 10:03 AM.

   

 
X-Cart forums © 2001-2020