Forums / General Questions / Popup Help on shopping cart page

Popup Help on shopping cart page

Started by ozzyizzy on 29 May 2012, 7:37 AM · Views: 532

Results 1 to 4 of 4
29 May 2012, 7:37 AM
#1
ozzyizzy avatar

ozzyizzy

New Zenner

Join Date:
May 2012
Location:
Australia
Posts:
16
Plugin Contributions:
0

Popup Help on shopping cart page

Hi. I am a newby to zen cart and developing. However I decided to give this all a try, and so far so good after following the excellent advise given in this forum. My problem is that on my site https://www.knicknacs.com.au on my shopping cart page I have a "help" function at the top of the page. I did not put it there, but it gives information about the shopping cart. ( have a look please) As you can see the whole text is centered, and only displaying one word on one line. I know there should be somewhere in css a way to change that, but I can not find it. All my other boxes are centered correctly, but this one behaves different. Any help on what code has to be re written and how, would be much appreciated.

Cheers

29 May 2012, 7:45 AM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,511
Plugin Contributions:
176

Re: Popup Help on shopping cart page

That's because you've added the following to your main stylesheet:```
body{
...
margin: 0 200px;
...
}

You'll notice that if you resize the popup window the text will display fine. 

While your 200px margin might work for your regular pages, it won't suit your popups because the popups don't need that massive left/right margin you're imposing on your users.

You could use a different method of forcing those margins on your users, or you could add specific margin rules for those popup boxes that require something smaller like 5px.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

30 May 2012, 9:32 PM
#3
ozzyizzy avatar

ozzyizzy

New Zenner

Join Date:
May 2012
Location:
Australia
Posts:
16
Plugin Contributions:
0

Re: Popup Help on shopping cart page

Thank you Dr Byte. I will have a look at that.

31 May 2012, 7:40 AM
#4
ozzyizzy avatar

ozzyizzy

New Zenner

Join Date:
May 2012
Location:
Australia
Posts:
16
Plugin Contributions:
0

Re: Popup Help on shopping cart page

That did the trick. I lessened the Margin, and widened my center column. and even found time to switch on some of the right hand side boxes. Thank you again Dr Byte