Thread: Popup images

Results 1 to 6 of 6
  1. #1
    Join Date
    Aug 2006
    Posts
    135
    Plugin Contributions
    0

    Default Popup images

    Hi Guys,

    Is it possible to change the background of the popp windows when viewing larger product images etc??

    Thanks

    Dan

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Popup images

    There should not be a visible background per se as what is visible sahould be only the image....you can use a graphic editor and change the background color though.

    If you are seeing something other than this post your url so that we can see what you are seeing
    Zen-Venom Get Bitten

  3. #3
    Join Date
    Feb 2006
    Location
    Chicago
    Posts
    1,162
    Plugin Contributions
    0

    Default Re: Popup images

    Quote Originally Posted by DanAllkins
    Hi Guys,

    Is it possible to change the background of the popp windows when viewing larger product images etc??

    Thanks

    Dan
    Yes, it is possible

    Open the file:
    \includes\templates\template_default\popup_image\tpl_main_page.php

    and replace the line
    Code:
    <body id="popupImage" class="centeredContent1" onload="resize();">
    with this
    Code:
    <body id="popupImage_new" class="centeredContent" onload="resize();">
    open the file

    includes\templates\classic\css\stylesheet_new.css
    (or whichever css yuo are using in your site)

    After line

    Code:
    #popupShippingEstimator, #popupSearchHelp, #popupAdditionalImage, #popupImage, #popupCVVHelp, #popupCouponHelp, #popupAtrribsQuantityPricesHelp, #infoShoppingCart {
    	background-color: #ffffff;
    	}
    add this:

    Code:
    #popupImage_new
    	{
    	background-color: #ff0000;
    	}
    Let us know how it works

    PS: not very sure if this is the correct way from the upgrade point of view
    Tutorials on Zen Cart
    http://tutorials.zen-cart.com/index.php
    ---------------
    advanced.programmer at gmail dot com
    In love with Zen Cart!!

  4. #4
    Join Date
    Jun 2003
    Posts
    33,721
    Plugin Contributions
    0

    Default Re: Popup images

    Superprg-

    There is no need to change the CSS class or ID There is already one there all you have to do is change the Stylesheet.

  5. #5
    Join Date
    Feb 2006
    Location
    Chicago
    Posts
    1,162
    Plugin Contributions
    0

    Default Re: Popup images

    Quote Originally Posted by Kim
    Superprg-

    There is no need to change the CSS class or ID There is already one there all you have to do is change the Stylesheet.
    Sorry but care to explain how this can be done the way you are explaining
    Thanks
    Tutorials on Zen Cart
    http://tutorials.zen-cart.com/index.php
    ---------------
    advanced.programmer at gmail dot com
    In love with Zen Cart!!

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

    Default Re: Popup images

    All you need to do is move the #popupImage in the stylesheet to its own line and define it there. This works fine and will continue to work through upgrades without maintenance.

 

 

Similar Threads

  1. Images popup
    By sendmenews in forum General Questions
    Replies: 8
    Last Post: 17 Oct 2011, 04:28 AM
  2. Popup for both product images and attribute images
    By Fubarsmithuk in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 18 Jan 2011, 03:15 PM
  3. Place images in columns using Popup on Attribute Images
    By HandcraftedUK in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 2 Nov 2007, 01:51 PM

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