| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
quick question about welcome message alignment | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() This SHOULD be easy...but I've tried for 2 days and I know I'm probably just missing something.
If you go to my shop you can see how my welcome message goes past the table container background image. I've tried adding a padding and a margin to the right but both mess up the site...so I'm figuring I'm just adding it in the wrong spot on the css. I've tried to add a margin or padding both to the BODY,DIV,TH,TD,P,INPUT,SELECT,TEXTAREA,TT (does the trick on the welcome message but that makes the header not centered) and to the HTML,BODY but nope...not working. Any suggestions??? www.blueowlstudio.com/shop Thanks in advance
__________________
xcart ver. 4.1.11 gold |
|||||||
#2
|
|||||||||
|
|||||||||
![]() One possible solution is to put a div inside the td of your central space. In home.tpl look for the comments that say "central space". After the first td add a new div:
Code:
then close the div where the central space /td is: Code:
__________________
X-CART (4.1.9,12/4.2.2-3/4.3.1-2/4.4.1-5)-Gold (CDSEO, Altered-Cart On Sale, BCSE Preorder Backorder, QuickOrder, X-Payments, BCSE DPM Module) |
|||||||||
#3
|
|||||||||
|
|||||||||
![]() I usually name that TD main and use CSS to style it.
<td id="main">
__________________
xcart 5.1.2 |
|||||||||
#4
|
|||||||
|
|||||||
![]() Quote:
So...this worked for my main page...but then when you go to product pages my header and my footer are not centered anymore. How do I keep them from moving on the subsequent pages???
__________________
xcart ver. 4.1.11 gold |
|||||||
#5
|
|||||||
|
|||||||
![]() figured it out...just had to mess with the padding on vert menus to get everything where it needed to be.
Thanks bunches. ![]()
__________________
xcart ver. 4.1.11 gold |
|||||||
#6
|
|||||||||
|
|||||||||
![]() why are you using inline styles. us the stylesheet.
__________________
xcart 5.1.2 |
|||||||||
#7
|
|||||||
|
|||||||
![]() Quote:
ummm....cuz I'm still kinda learning all this stuff as I go so ??? How would I just use the stylesheet? I use that for a lot of the stuff but not sure how to add something to it so I can achieve what I want. I keep saying when I quit my "real job" I'm going to just learn this all from top to bottom. But as it is I'm learning what I can when I have the time to play with it. I wish I knew a lot more than I do. ![]()
__________________
xcart ver. 4.1.11 gold |
|||||||
#8
|
|||||||||
|
|||||||||
![]() MAKE A BACKUP!!!
open the skin1.css in the skin1 folder. I usually make a comment at the top called custom styles to kep them separate from the original styles. you can make a comment like this. /* Custom styles */ to make a custom class use this .customClass{ color:#66000; fontweight:bold; line-height:1.5em; } to call the class use this <div class="customClass">my content</div> - this an have any name that is not already used in the style sheet. Classes can be used repeatedly in the .tpl files. to make a custom ID use this #customId{ color:#66000; fontweight:bold; line-height:1.5em; } to call the class use this <div id="customClass">my content</div> - id should only be used once per page so use them sparingly. hope this helps
__________________
xcart 5.1.2 |
|||||||||
|
|||
X-Cart forums © 2001-2020
|