Tagged: , ,

Viewing 15 posts - 1 through 15 (of 15 total)
  • Author
    Posts
  • #725237

    Hello Support Team

    I try to change the background color of check box from blue to other color (if it checkt), but if change the css (see below) it have no impact:

    *::-moz-selection {
    background-color: #a77e2d;
    color: #ffffff;
    }

    • This topic was modified 7 years, 4 months ago by Amigs.
    #726349

    Hey Pascal,

    Try using this code instead:

    #top input[type=checkbox]:checked {
      background-color: #a77e2d !important;
      color: #ffffff !important;
    }

    If that doesn’t work, kindly post a link to your contact form.

    Best regards,
    Nikko

    #726515

    Hey Nikko

    Unforgentli the chance has no impact, the same as my changecse, the checkt box is still blue!:

    Link to screenshoot: https://www.dropbox.com/s/33y19l0jsbvw123/Screenshot%202016-12-20%2010.51.52.png?dl=0

    You can test by your self, but you have to put some product to the cart and go to the checkout: https://www.atcarolines.ch/checkout/

    All the best,
    Pascal

    #727729

    Hi,

    Yes, I have tested it and it doesn’t work, I’ll try to help you with it but I might need some time to do this.

    Best regards,
    Nikko

    #727864

    Hi Nikko

    Ok, i will wait ;-)

    All the best,
    Pascal

    #728238

    Hi,

    I added following to Design > CSS Bearbeiten

    input[type='checkbox'] {
    	margin-top: -30px;
    }
    
    input[type='checkbox'] {
    	-webkit-font-smoothing: antialiased;
    	text-rendering: optimizeSpeed;
    	width: 13px;
    	height: 13px;
    	margin: 0;
    	margin-right: 1px;
    	display: block;
    	float: left;
    	position: relative;
    	cursor: pointer;
    }
    
    input[type='checkbox']:after {
    	content: "";
    	vertical-align: middle;
    	text-align: center;
    	line-height: 13px;
    	position: absolute;
    	cursor: pointer;
    	height: 13px;
    	width: 13px;
    	left: 0;
    	top: 0;
    	font-size: 10px;
    	-webkit-box-shadow: inset 0 1px 1px #5F95FC, 0 1px 0 #5F95FC;
    	-moz-box-shadow: inset 0 1px 1px #5F95FC, 0 1px 0 #5F95FC;
    	box-shadow: inset 0 1px 1px #5F95FC, 0 1px 0 #5F95FC;
    	background: #5F95FC;
    }
    
    input[type='checkbox']:hover:after, input[type='checkbox']:checked:hover:after {
    	background: #5F95FC;
    	content: '\2714';
    	color: #fff;
    }
    
    input[type='checkbox']:checked:after {
    	background: #5F95FC;
    	content: '\2714';
    	color: #fff;
    }

    Please review your website now

    Enjoy your holidays!

    Best regards,
    Yigit

    #731044

    Hi Yigit

    Hmm, it is still in blue :-(

    All the best,
    Pascal

    #732462

    Hi,

    I would like to login to the site but the url redirects to the home page. Please add this css code to change the background and check color if the checkbox is active or checked.

    input[type=checkbox]:checked:after {
        background: green !important;
        color: black !important;
    }

    NOTE: Add it below the previous css codes.

    Best regards,
    Ismael

    #734249

    Hi Ismael

    Hmm, still not working, it appears in blue and if i activate i green, but it should apear from starting in specfic color, (the same as here, see Notify me of follow-up replies via email)

    All the best, Pascal

    #735241

    Hi Pascal,

    I have changed the background colors from #5F95FC to green. Let us know if it’s good on your end.

    Best regards,
    Nikko

    #735253

    Hi Nikko

    Great on step forward, so to witch color you can change the boxes? just green, blue ………

    All the best,
    Pascal

    #735704

    Hi,

    Yes, as long as the color name is supported it should be changed easily, you can see here the accepted values: http://www.quackit.com/css/css_color_codes.cfm

    Regards,
    Nikko

    #741146

    Hi Nikko

    Now it works 90% but we still have blue border on the top and also at the botton, as you can see at https://www.atcarolines.ch/checkout/ it you put some product in the cart.

    All the best.

    #742102

    Hi,

    Try adding this css code:

    input[type='checkbox']:after {
        box-shadow: none !important;
    }

    Hope this helps.

    Best regards,
    Nikko

    #744873

    Hallo Nikko

    Now it work. 1000s Thanks.

    All the best,
    Pascal

Viewing 15 posts - 1 through 15 (of 15 total)
  • The topic ‘Checkbox Background Color change’ is closed to new replies.