Forums / Templates, Stylesheets, Page Layout / Changing Shipping Estimator popup background

Changing Shipping Estimator popup background

Locked

Views: 1,576

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
6 Sep 2006, 9:07 PM
#1
patski avatar

patski

Zen Follower

Join Date:
Nov 2004
Location:
Deal, Kent, UK
Posts:
325
Plugin Contributions:
0

Changing Shipping Estimator popup background

I have successfully altered the background of the image popups by creating a new class and creating the relevant popup directories in my template folder with their respective tpl_main_page.php files....however....I have tried to do the same with the shipping estimator popup but whatever I do the main site background image refuses to disappear. Must be doing something wrong but can't work out what!

Help gratefully received!

6 Sep 2006, 10:11 PM
#2
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,684
Plugin Contributions:
0

Re: Changing Shipping Estimator popup background

I think that having to add additional classes is probably overkill since each popup has an id which can be styled like anything else.

Exactly what did you try to use for the shipping estimator?

Please do not PM for support issues: a private solution doesn't benefit the community.

Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

6 Sep 2006, 10:27 PM
#3
patski avatar

patski

Zen Follower

Join Date:
Nov 2004
Location:
Deal, Kent, UK
Posts:
325
Plugin Contributions:
0

Re: Changing Shipping Estimator popup background

Hi Kim

I tried initially styling the id which didn't work so then tried classes.

The popup code is:

<body id="popupShippingEstimator" class="centeredContent"> <p><?php echo '<a href="javascript:window.close()">' . TEXT_CURRENT_CLOSE_WINDOW . '</a>'; ?></p> <?php require(DIR_WS_MODULES . zen_get_module_directory('shipping_estimator.php')); ?> <p><?php echo '<a href="javascript:window.close()">' . TEXT_CURRENT_CLOSE_WINDOW . '</a>'; ?></p> </body>

and the stylesheet is:

#popupAdditionalImage, #popupImage, #popupShippingEstimator {
background-color:#ffffff;
}

The main body has a background image which I don't want displayed. As I said earlier - it works fine for the popup images which use the other ones listed.

Just can't figure it out!!

6 Sep 2006, 10:30 PM
#4
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,684
Plugin Contributions:
0

Re: Changing Shipping Estimator popup background

Try adding: background-image: none; to the stylesheet for the popup.

Please do not PM for support issues: a private solution doesn't benefit the community.

Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

6 Sep 2006, 11:21 PM
#5
patski avatar

patski

Zen Follower

Join Date:
Nov 2004
Location:
Deal, Kent, UK
Posts:
325
Plugin Contributions:
0

Re: Changing Shipping Estimator popup background

Clever girl - Spot on!! Would never have thought of that....thank you so much!