Community @ The Turning Gate

Support community for TTG plugins and products.

NOTICE

The Turning Gate's Community has moved to a new home, at https://discourse.theturninggate.net.

This forum is now closed, and exists here as a read-only archive.

  • New user registrations are disabled.
  • Users cannot create new topics.
  • Users cannot reply to existing topics.

You are not logged in.

#1 2019-08-27 03:13:47

mad
Member
From: Arkansas
Registered: 2014-01-03
Posts: 154
Website

How to Change Background for the Add to Cart

I added some css to change the color of the cart background according to Rod's tips&tricks but is does not seem to work.  Am I missing something?  Appreciate any help.

thx,
Michael

Offline

#2 2019-08-27 03:30:40

rod barbee
Moderator
From: Port Ludlow, WA USA
Registered: 2012-09-24
Posts: 17,830
Website

Re: How to Change Background for the Add to Cart

that's a pretty old post (2015), going back to the CE days. The selectors need updating.

looks like it might be .fancybox-slide--html > *

but probe the add to cart box with the inspector to see if it needs to be more specific than that (else other fancybox elements might change color too)


Rod 
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site

Offline

#3 2019-08-27 04:39:16

mad
Member
From: Arkansas
Registered: 2014-01-03
Posts: 154
Website

Re: How to Change Background for the Add to Cart

I guess I will have to figure it out later.  Have to get my CSS book out as I am not the best at CSS. Thx anyway.

Offline

#4 2019-08-27 05:48:27

rod barbee
Moderator
From: Port Ludlow, WA USA
Registered: 2012-09-24
Posts: 17,830
Website

Re: How to Change Background for the Add to Cart

this does work:

.fancybox-slide--html > * {
  background-color: red;
}

But as I said, I don't know if it will affect other fancybox elements, like pop-up boxes


Rod 
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site

Offline

#5 2019-08-27 07:23:08

mad
Member
From: Arkansas
Registered: 2014-01-03
Posts: 154
Website

Re: How to Change Background for the Add to Cart

Yes, that works, I tried that before but I did not include the > *. Anyway, thx

Offline

Board footer

Powered by FluxBB