Results 1 to 4 of 4
  1. #1
    Join Date
    May 2012
    Location
    Australia
    Posts
    9
    Plugin Contributions
    0

    css problem 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 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

  2. #2
    Join Date
    Jan 2004
    Posts
    58,471
    Blog Entries
    3
    Plugin Contributions
    111

    Default Re: Popup Help on shopping cart page

    That's because you've added the following to your main stylesheet:
    Code:
    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!
    Donations always welcome: www.zen-cart.com/donate

    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.

  3. #3
    Join Date
    May 2012
    Location
    Australia
    Posts
    9
    Plugin Contributions
    0

    Default Re: Popup Help on shopping cart page

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

  4. #4
    Join Date
    May 2012
    Location
    Australia
    Posts
    9
    Plugin Contributions
    0

    Default 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

 

 

Similar Threads

  1. Help text on shopping cart page
    By dmcco in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 20 Apr 2011, 07:29 PM
  2. Replies: 2
    Last Post: 7 Oct 2009, 05:33 AM
  3. Adding to the Shopping Cart [help (?)] popup
    By AlanQ in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 7 Feb 2009, 03:40 PM
  4. Replies: 11
    Last Post: 8 Apr 2008, 11:05 PM
  5. Background Image on Shopping Cart "help" popup
    By hgmandy in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 9 Nov 2007, 06:29 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •