Zen Follower
- Join Date:
- Aug 2006
- Posts:
- 135
- Plugin Contributions:
- 0
Popup images
Hi Guys,
Is it possible to change the background of the popp windows when viewing larger product images etc??
Thanks
Dan
Views: 1,632
Zen Follower
Hi Guys,
Is it possible to change the background of the popp windows when viewing larger product images etc??
Thanks
Dan
Black Belt
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
Totally Zenned
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
<body id="popupImage" class="centeredContent1" onload="resize();">
with this
<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
#popupShippingEstimator, #popupSearchHelp, #popupAdditionalImage, #popupImage, #popupCVVHelp, #popupCouponHelp, #popupAtrribsQuantityPricesHelp, #infoShoppingCart {
background-color: #ffffff;
}
add this:
#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
Obaa-san
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.
Totally Zenned
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
Black Belt
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.
Tell staff why this post should be reviewed.