X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Remove Sidebar Completley ? (https://forum.x-cart.com/showthread.php?t=66439)

liamb2001 03-18-2013 07:33 AM

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.

cflsystems 03-18-2013 08:10 PM

Re: Remove Sidebar Completley ?
 
look at the css - the class applied to this part has left/right margins

liamb2001 03-19-2013 03:14 AM

Re: Remove Sidebar Completley ?
 
i have removed them but but it messes the whole design up

ADDISON 03-19-2013 04:22 AM

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.

liamb2001 03-19-2013 04:24 AM

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

ADDISON 03-19-2013 04:27 AM

Re: Remove Sidebar Completley ?
 
Firefox, Chrome and Opera - all have code inspectors. They will help you finding the right files you need to edit.

liamb2001 03-19-2013 04:30 AM

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

ADDISON 03-19-2013 04:40 AM

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

liamb2001 03-19-2013 04:58 AM

Re: Remove Sidebar Completley ?
 
ok interesting, thanks for the advice mate :)

ADDISON 03-19-2013 05:03 AM

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.


All times are GMT -8. The time now is 02:24 AM.

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