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

Lower right background missing in checkout

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 05-14-2010, 05:09 AM
 
PeggiF PeggiF is offline
 

Advanced Member
  
Join Date: Mar 2010
Location: Rochester, NY
Posts: 48
 

Default Lower right background missing in checkout

I'm using neon lights skin but have modified it considerably. It looks fine until checkout and then lower right background is missing. I did increase the height of the the header but it seemed to be a problem beforehand. Does anyone know how to fix this?
http://www.sailorbags.com
Thanks,
Peggi
__________________
X-Cart 4.3.1
Reply With Quote
  #2  
Old 05-14-2010, 09:57 PM
  gb2world's Avatar 
gb2world gb2world is offline
 

X-Wizard
  
Join Date: May 2006
Location: Austin, TX
Posts: 1,970
 

Default Re: Lower right background missing in checkout

On all your other pages, your header and footer divs are contained within the page-container-2 div - which is providing your blue background on the right.
On your checkout page - page-container-2 is above the footer, so you don't have anything setting that background at the bottom of your page.
I suspect this is not deliberate? If you do a W3C validation of that page - it says you are missing a <body> tag and has errors for misplaced divs.

You might be able to get away with just adding the bg_right.gif background to your page-container or flc-container div, but it might be a good idea to clear up those W3C errors - they can come back and bite you on different browsers and browser versions.
__________________
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)
Reply With Quote
  #3  
Old 05-15-2010, 04:50 AM
 
PeggiF PeggiF is offline
 

Advanced Member
  
Join Date: Mar 2010
Location: Rochester, NY
Posts: 48
 

Default Re: Lower right background missing in checkout

Thanks for your response gb2world. What tpl file would I go to to change that?
__________________
X-Cart 4.3.1
Reply With Quote
  #4  
Old 05-15-2010, 11:35 AM
  gb2world's Avatar 
gb2world gb2world is offline
 

X-Wizard
  
Join Date: May 2006
Location: Austin, TX
Posts: 1,970
 

Default Re: Lower right background missing in checkout

You can probably take care of the white box by adjusting css in main.cc or altskin.css by adding this:
background url("images/neon_lights/bg_right.gif") repeat-y scroll right top transparent;
to #page-container or.flc-container

But - if you want to fix the W3C errors, you need to use webmaster mode to find the templates. Adding a <body> tag is important - that should be in skin1/customer/home.tpl
__________________
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)
Reply With Quote
  #5  
Old 05-17-2010, 08:18 AM
 
PeggiF PeggiF is offline
 

Advanced Member
  
Join Date: Mar 2010
Location: Rochester, NY
Posts: 48
 

Default Re: Lower right background missing in checkout

Thanks gb2world. But I haven't been able to get rid of the white box in the lower right when I get to checkout. I tried adding the background css you suggested but it didn't go away. I've looked at the composite html of the page and see a closing body tag. The Fast lane checkout module is enabled and is kicking in at this stage. I think it has something to do with the problem since the page looks fine i=until you get to the checkout stage. Any other thoughts?
http://www.sailorbags.com/cart.php?mode=checkout
Thanks,
Peggi
__________________
X-Cart 4.3.1
Reply With Quote
  #6  
Old 05-17-2010, 10:12 PM
  gb2world's Avatar 
gb2world gb2world is offline
 

X-Wizard
  
Join Date: May 2006
Location: Austin, TX
Posts: 1,970
 

Default Re: Lower right background missing in checkout

Hi Peggie -

Your W3C errors are not unique to the FLC pages. So - I am not sure you can hack the css to get rid of that white box. (But I would not advise not fixing them - but that is your call)
W3C is not reporting the error in the closing body tag, it is the opening <body> tag that is reported missing.

Quote:
document type does not allow element "div" here; assuming missing "body" start-tag
<div id="page-container">

You might want to check skin1/customer/home.tpl and skin1/modules/Fast_Lane_checkout/home.tpl and make sure the <body> was not inadvertently removed. (But that is not your only problem)

I don't see any changes made in main.css or altskin.css (or in skin1/modules/Fast_Lane_Checkout/main.css) - so I not sure where you made your changes?

In Firebug - this is all I have to do in main.css to add the background and it covers the entire page in FF:

#page-container {
background:url(images/neon_lights/bg_right.gif) repeat-y scroll right top transparent;
min-height:100%;
position:relative;
}

In IE7 - it looks even worse, and I don't think this hack will help there. I believe this issue warrants some time to try and understand your flc layout and clean it up.
__________________
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)
Reply With Quote
  #7  
Old 05-18-2010, 06:23 AM
 
PeggiF PeggiF is offline
 

Advanced Member
  
Join Date: Mar 2010
Location: Rochester, NY
Posts: 48
 

Default Re: Lower right background missing in checkout

Thanks gb2world! That did work to remove the white box!
I added in the body tag to home.tpl. I'm confused by the errors mentioned in w3c validator as far as the "end tag omitted" (it's there), "Opening and ending tag mismatch: link line 5" and head ( I have both), "Opening and ending tag mismatch: head line 4 and html" ( I have both), "Premature end of data in tag html line 3" (it's the last thing on the page).
__________________
X-Cart 4.3.1
Reply With Quote
  #8  
Old 05-18-2010, 02:51 PM
  gb2world's Avatar 
gb2world gb2world is offline
 

X-Wizard
  
Join Date: May 2006
Location: Austin, TX
Posts: 1,970
 

Default Re: Lower right background missing in checkout

Hi Peggie -
For the end tag omitted error - those are elements that are missing a />. Similar to how you open and close something like <p></p> - you have to add a /> to "self close" an element:
<link rel="xx" type="xx" href="xx" />
You have to fix them starting at the top. Sometimes fixing one clears up several others. When you have opening and ending mismatch of divs - that could lead to the kind of problem you were observing. But in the end - it might not. You just have to decide how much of your time it is worth to clean these up.
__________________
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)
Reply With Quote
  #9  
Old 05-19-2010, 09:48 AM
 
PeggiF PeggiF is offline
 

Advanced Member
  
Join Date: Mar 2010
Location: Rochester, NY
Posts: 48
 

Default Re: Lower right background missing in checkout

Thanks again gb2world. I did fix a lot of things. One main thing was the lack of /> in my favicon line in the head.
For some reason, I've got extra space at the bottom of all my pages. Probably due to my trying to get rid of the white box. Do you see anything that might be causing this?
Thanks.
__________________
X-Cart 4.3.1
Reply With Quote
  #10  
Old 05-19-2010, 08:18 PM
  gb2world's Avatar 
gb2world gb2world is offline
 

X-Wizard
  
Join Date: May 2006
Location: Austin, TX
Posts: 1,970
 

Default Re: Lower right background missing in checkout

Sorry Peggie - I am not sure what you are talking about. You can use webmaster mode and Firefox/Firebug to trace almost anything. You have a 200px padding on the bottom of your div #right-bar (in altskin.css). Could that be what you are seeing?

Good job with cleaning up the errors. Your checkout pages don't look bad any more in IE7 - there used to be a big white bar along the right that appears to be fixed now. And all the mismatched divs are fixed in W3C.

I noticed you have a link that attributes your design to 4D Advertising. Plus, they feature you on their own website. Aren't they willing to assist you with some of these design problems? If you paid them, and they are using your site in their profile, maybe they will be willing to help you with some of these design flaws.
__________________
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)
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 08:58 AM.

   

 
X-Cart forums © 2001-2020