Page 1 of 3 123 LastLast
Results 1 to 10 of 28
  1. #1
    Join Date
    Jan 2012
    Location
    New England
    Posts
    238
    Plugin Contributions
    0

    help question CSS help needed...

    ZC 1.5.0

    As far as I know, my pages are all using the same stylesheet... so I'm not sure what is causing this to happen...

    Here is my shop: http://opalessenceshop.com

    Almost everything fits very nicely into the window...the categories, the EZ Pages, the testimonials, the "Information" pages... it's fluid so it adjusts when you resize the window, etc... but when you click on a product, the product description page (for example, this one) gets all wonky on the right side. The right side column moves outside the bounds of the main table/div/area/whatever and causes side-scroll (at the window size I use, anyway) and the contents of the center area spill out over the border that defines the center column. I'm using Chrome, if that matters. Anyway, I can't figure out what is making it shove over like that.

    I am NOT a CSS expert. I've sort of "learned as I've gone" over the years and don't always know why certain things work the way they do... that is, I don't always understand the theory behind the things I'm implementing. The logic, as it were. For that reason, I'm especially bad at troubleshooting broken CSS. I'm hoping someone a little more fluent in it might spot some obvious mistake that I've made so I can fix it...? *crossing fingers and toes*

    Thanks in advance for any help.

  2. #2
    Join Date
    May 2010
    Location
    WA State
    Posts
    1,678
    Plugin Contributions
    3

    Default Re: CSS help needed...

    I'm pretty sure it's your connect widget that's whacking it out. The formatting appears to be controlled in a file named like.php.

  3. #3
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: CSS help needed...

    At the bottom of the product content, both your Google+1 widget and your fb:like widget are styled inline at 450px, and the Twitter follow widget is set to 173px wide.

  4. #4
    Join Date
    Jan 2012
    Location
    New England
    Posts
    238
    Plugin Contributions
    0

    Default Re: CSS help needed...

    Thanks--I'll look at it tomorrow when I have some time.

  5. #5
    Join Date
    Feb 2012
    Location
    Indonesia
    Posts
    10
    Plugin Contributions
    2

    Default Re: CSS help needed...

    Yeah, that's correct what gjh42 said. Your social button make your layout messy.

  6. #6
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,266
    Plugin Contributions
    3

    Default Re: CSS help needed...

    And setting a site to 100% width looks awful on widescreen monitors. Rather use a fixed width of about 980 PX.
    20 years a Zencart User

  7. #7
    Join Date
    Jan 2012
    Location
    New England
    Posts
    238
    Plugin Contributions
    0

    Default Re: CSS help needed...

    I'd prefer the fluid full width design. Just a matter of taste, I guess. I don't like big margins on the sides. Anyway, I gave width and max-width settings to the table cells the social buttons were in and that seemed to fix it. Thanks for the help! I doubt I'd have narrowed it down to those buttons on my own.

  8. #8
    Join Date
    Nov 2006
    Location
    Dartmouth, NS Canada
    Posts
    2,378
    Plugin Contributions
    0

    Default Re: CSS help needed...

    True, the result is better now than it was, but far from perfect.

    Your home page fits in my usual browser window (about 1050 px wide) but has a slight horizontal scroll (which is true even if I maximise the browser window to over 1600 px, indicating a bug in the code.) On the other hand, a product page is about 100 px wider when viewed at my normal window width, so requires more horizontal scrolling. This isn't true in a full width window.

    So it seems you have made your site in such a way that browser windows less than about 1200 px wide can't view it without horizontal scrolling. If you're trying to tell people with smaller browser windows to go away, you're succeeding admirably.

    Rob

  9. #9
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,021
    Plugin Contributions
    3

    Default Re: CSS help needed...

    Making #mainWrapper 99% rather than 100% should get rid of the horizontal scroll.

    I don't like 100% width sites much either, but it looks like you've used the extra space, in part, to make your fonts bigger, which is a plus in my book.

  10. #10
    Join Date
    Jan 2012
    Location
    New England
    Posts
    238
    Plugin Contributions
    0

    Default Re: CSS help needed...

    Quote Originally Posted by rstevenson View Post
    True, the result is better now than it was, but far from perfect.

    Your home page fits in my usual browser window (about 1050 px wide) but has a slight horizontal scroll (which is true even if I maximise the browser window to over 1600 px, indicating a bug in the code.) On the other hand, a product page is about 100 px wider when viewed at my normal window width, so requires more horizontal scrolling. This isn't true in a full width window.

    So it seems you have made your site in such a way that browser windows less than about 1200 px wide can't view it without horizontal scrolling. If you're trying to tell people with smaller browser windows to go away, you're succeeding admirably.

    Rob
    What browser are you using? I can make the page pretty narrow in Chrome without getting side scroll since making the changes to the tables...

 

 
Page 1 of 3 123 LastLast

Similar Threads

  1. css help needed
    By stevennestler in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 21 Dec 2011, 08:59 PM
  2. CSS Help needed
    By gmrm in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 21 Sep 2009, 08:47 PM
  3. CSS help needed
    By QuickInks in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 9 Feb 2009, 03:41 AM
  4. CSS help needed
    By PortMan in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 1 Dec 2006, 01:00 AM
  5. css help needed
    By awoman in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 12 Oct 2006, 10:47 AM

Posting Permissions

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