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 2017-07-10 08:11:03

Daniel Leu
Moderator
Registered: 2012-10-11
Posts: 1,624
Website

CSS selector for checked button

Hi Matt,

In the checkout form, the remove checkbox turns blue when checked. I would have expected that it would be red, my accent color.

I haven't found a place in designer where I could change that. What is the CSS selector for the checked checkbox?

Thank you!


Daniel Leu | Photography   
DanielLeu.com
My digital playground (eg, Backlight tips&tricks): lab.DanielLeu.com

Offline

#2 2017-07-10 16:54:23

Matthew
Administrator
From: San Francisco, CA
Registered: 2012-09-24
Posts: 5,795
Website

Re: CSS selector for checked button

If I had to guess, input[type='checkbox']:checked. I've honestly never attempted or thought to attempt to change that color. I'm not sure it's possible to do so without completely replacing the checkbox.


Matt

The Turning Gate, http://theturninggate.net

Offline

#3 2017-07-10 23:43:44

Daniel Leu
Moderator
Registered: 2012-10-11
Posts: 1,624
Website

Re: CSS selector for checked button

I found a couple of approaches online, but none of them worked. Eg, :checked, :checked:after, :checked + label, :checked + label:after etc.... I'll leave it as is since the blue is not visible during normal use of the page. Thanks!


Daniel Leu | Photography   
DanielLeu.com
My digital playground (eg, Backlight tips&tricks): lab.DanielLeu.com

Offline

Board footer

Powered by FluxBB