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)
-   -   Removing box around body on pages (https://forum.x-cart.com/showthread.php?t=43522)

ewalk 11-08-2008 08:28 AM

Removing box around body on pages
 
We have a box border showing around the main body area on all of our pages including category, static and the description/details/sections product description pages. How can I get rid of it?
Thanks in advance for your help.

balinor 11-08-2008 08:32 AM

Re: Removing box around body on pages
 
All the borders, colors, etc are controlled via your main skin1.css file. Find the class controlling it by using Firebug, and edit accordingly.

JWait 11-08-2008 09:31 AM

Re: Removing box around body on pages
 
Look at skin1/dialog.tpl. That is what defines the "box" that contains almost everything in the center section of x-cart.

ewalk 11-08-2008 02:07 PM

Re: Removing box around body on pages
 
Thanks JWait. I had looked at "dialog.tpl." previously and did not see anything there which looked like it controlled a border except Cellspacing. In my limited knowledge of html, cellspacing does not control a border. But, just on a whim, I changed the cellspacing here to "0" and poof! It magically disappeared. :-) BTW, commenting it out did not work.

Thanks Padraic, I will download the Firebug program and try that out, too. I assume because you recommended it that it is better than x-cart's debugging mode?

balinor 11-08-2008 03:33 PM

Re: Removing box around body on pages
 
Different tools - Firebug tells you what css classes are what - the debug console just tells you what template.

JWait 11-09-2008 03:37 AM

Re: Removing box around body on pages
 
What I meant was, if you look in dialog.tpl you will find the classes of what does what. For example, in dialog.tpl "<td class="DialogTitleBg">" states that the class "DialogTitleBg" controls that table cell, defining height, width, background color, etc. Look in skin1.css and find DialogTitleBg and you will see what I mean.

ewalk 11-11-2008 11:58 PM

Re: Removing box around body on pages
 
This classes thing is still driving me nuts! Every little thing in this cart has its' own class. I am still trying to figure out how to change the H1 on the customer side from gigantic, scary unreadable to something more manageable. :-)

JWait 11-12-2008 03:59 AM

Re: Removing box around body on pages
 
http://www.w3schools.com/css/default.asp may help.


All times are GMT -8. The time now is 03:49 AM.

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