Page 1 of 3 123 LastLast
Results 1 to 10 of 27
  1. #1
    Join Date
    Jan 2009
    Posts
    2,123
    Plugin Contributions
    0

    Default Problem with OPERA Additional Images Display

    In IE7, FF, Chrome and Safari, everything looks great but in Opera the display of the additional images in my product page looks awful.

    This is a site that does attract foreign visitors who do use Opera, so it does matter.

    Opera Version 9.64
    Platform Vista

    1.3.8a zen cart

    Site URL is www.limelites.co.uk

    Any help appreciated... I'm probably missing something from stylesheet but can't figure it out :-)

  2. #2
    Join Date
    Jan 2009
    Posts
    2,123
    Plugin Contributions
    0

    Default Re: Problem with OPERA Additional Images Display

    Screenshot in FF,IE,SAFARI,CHROME, ETC:


    Screenshot in OPERA:

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

    Default Re: Problem with OPERA Additional Images Display

    I had a look at the problem earlier today using Opera 9.64 in Mac OS X. I thought it was an interesting effect.

    However, I don't use Opera except to check sites, so I keep it in default condition, with no helper things like Firebug or Developer tools, so I can't diagnose anything using it. And I saw nothing out of the ordinary when I peeked at your code and styles in Firefox.

    I wonder if an Opera-specific forum might be the best place to find an answer. They, at least, would be more likely to know about any bugs that might be triggered by your code/styles.

    I got to the Opera forums by selecting Community in the Help menu, and then finding the forums button in that page. I've no idea what they're like though.

    Rob

  4. #4
    Join Date
    Jan 2009
    Posts
    2,123
    Plugin Contributions
    0

    Default Re: Problem with OPERA Additional Images Display

    Hi there,

    I don't use Opera either. It's a nice looking browser but I prefer FF and just used it to check my site.

    Thanks for the advice, I'll try on the Opera forums and see if one of those guys would know what's missing from my code :-)

  5. #5
    Join Date
    Jan 2009
    Posts
    2,123
    Plugin Contributions
    0

    Default Re: Problem with OPERA Additional Images Display

    I'm back onto this old chestnut again!

    I have figured out that additional_images.php was giving the additional images an in-line style with a width of 100%. I got rid of that and am now trying to line the additional images up in all browsers. Opera is still giving me problems, but I've noticed that this in my stylesheet will spread the images across the page (even in Opera):

    PHP Code:
    #productAdditionalImages {
    width:100%;
    float:left;
    text-align:center;
    }

    .
    additionalImages img{
    border-left:4px solid #ffffff;
    border-right:4px solid #ffffff;
    border-top:0px solid #ffffff;
    border-bottom:4px solid #ffffff;

    The trouble with this though, is that when an ad only has two or three additional images, they're spread evenly across the width of the page instead of nesting closely together.

    This is the CSS styling that fits for all browers EXCEPT OPERA:

    PHP Code:
    #productAdditionalImages {
    width:auto;
    float:left;
    text-align:center;
    }

    .
    additionalImages img{
    border-left:4px solid #ffffff;
    border-right:4px solid #ffffff;
    border-top:0px solid #ffffff;
    border-bottom:4px solid #ffffff;

    As soon as I put this back into my stylesheet, the additional images nest nicely in all browsers EXCEPT OPERA...

    Maybe this info/discovery would help you come up with a tidier CSS styling to achieve what I'm after for all browsers including OPERA?

  6. #6
    Join Date
    Jan 2009
    Posts
    2,123
    Plugin Contributions
    0

    Default Re: Problem with OPERA Additional Images Display

    I've just noticed that taking out the float:left; to give:

    #productAdditionalImages {
    width:auto;
    text-align:center;
    }

    has the same effect.... it spreads the images across the page in ALL browsers....

    What do you think I could replace float:left; with??

  7. #7
    Join Date
    Aug 2006
    Location
    UK
    Posts
    449
    Plugin Contributions
    0

    Default Re: Problem with OPERA Additional Images Display

    I would try changing includes/modules/CUSTOM/additional_images.php to change all your divs for additional images to a fixed width, rather than a 'computed' number... which is trying to spread your images across the page...

    line 102;

    PHP Code:
        // List Box array generation:
        
    $list_box_contents[$row][$col] = array('params' => 'class="additionalImages centeredContent back"' ' ' 'style="width:135px;"',  'text' => "\n      " $link); 
    ~Steve~

  8. #8
    Join Date
    Jan 2009
    Posts
    2,123
    Plugin Contributions
    0

    Default Re: Problem with OPERA Additional Images Display

    Steve, I don't think you know how genius you are!?!?! Do you know how many different people have looked at this and on how many forums?? It's been out there for weeks and no one had a clue what was causing it, then, along comes Steve and it's solved in 2 seconds.

    I should have asked you ages ago but Steve, thank you thank you thank you.... GENIUS!!!

    I had tried something similar with the additional_images.php file. I had tried removing the forced width like this but it wasn't helping:
    PHP Code:
        // List Box array generation:
        
    $list_box_contents[$row][$col] = array('params' => 'class="additionalImages centeredContent back"' ' ' ' ' '' '',
        
    'text' => "\n      " $link); 
    But to actually specify the width like you did is just the ticket:
    PHP Code:
    List Box array generation:
        
    $list_box_contents[$row][$col] = array('params' => 'class="additionalImages centeredContent back"' ' ' 'style="width:135px;"',  'text' => "\n      " $link); 
    The thing is, I'd been using the ZC 1.3.8a stock file, so surely I'm not the only one with a ZC store who's additional images overlap in Opera??

  9. #9
    Join Date
    Jan 2009
    Posts
    2,123
    Plugin Contributions
    0

    Default Re: Problem with OPERA Additional Images Display

    hmmm, hang on though.... I've just noticed that it's done something to disable Lightbox. Enlarging the images now pop up in normal browser window, whereas reverting back to previous additional_images.php restores Lightbox functionality.

    What could have caused that at all?

  10. #10
    Join Date
    Jan 2009
    Posts
    2,123
    Plugin Contributions
    0

    Default Re: Problem with OPERA Additional Images Display

    As soon as I remove the 135px; from the additional_images.php file, Zen Lightbox kicks in but Opera overlaps images. Weird why specifying this width does that.

 

 
Page 1 of 3 123 LastLast

Similar Threads

  1. Problem with additional images layout
    By webmiss in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 13 Nov 2011, 11:00 PM
  2. Problem with additional images
    By Craftystash in forum Customization from the Admin
    Replies: 3
    Last Post: 14 Jul 2009, 10:51 AM
  3. problem with additional images box in IE
    By koenvandamme in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 23 Mar 2009, 10:31 AM
  4. Bug Opera with categories image display
    By cshart in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 21 Dec 2007, 06:33 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