fbpx
Want To Add Extra Images Per Product Variation For Free? Download Now

Remove Check Mark on Shop Page

Sarah Crowder

Hi,

How can I not display the check mark on the shop page and all the other pages except on the product page itself?

Golam Kibria

Hi Sarah,

I hope that you are doing great.

Please share the page link here.

BTW, please try adding the following CSS to the customizer.

.archive .woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item).image-variable-item.selected:not(.no-stock) .variable-item-contents:before {
background-image: none;
}

I will wait for your feedback.

Thank You

Sarah Crowder

Hi Golam,

Thank you for your response. I was able to get this to work:

.archive div.variable-item-contents::before{background-image: none !important;}

I also want this to work:

.archive .woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item).selected { box-shadow:var(--wvs-item-box-shadow, 0 0 0 1px #a8a8a8);}

But the second CSS only works without the .archive and I need it for the shop page only. Any ideas?

Here is the website: https://shopmaie.com/shop/

Thanks

Sarah Crowder

Hi,

I was able to fix it:

.archive.woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item).selected { box-shadow:var(--wvs-item-box-shadow, 0 0 0 1px #a8a8a8);}

All good now. Thanks

Sarah Crowder

Hi Golam,

Sorry one more question.

I am trying to make a parent color attribute mainly to work for filtering (cause of all my color shades) but disabled it on the product page. Is that possible?

I have this that hides the parent-color on the product page:

tbody tr:last-child { display:none !important; }

But when I select my 2 other attributes, color and size, it won’t let me add to cart if the parent-color is there even though it’s hidden but not disabled. Am I able to disable the parent-color attribute on the product page?

I can’t really provide a link cause I don’t want it live on the site but here are some images

 

Sarah Crowder

Hi Golam,

Thanks for getting back to me.

It didn’t work but I was able to figure out a workaround.

I appreciate the help. Have a good day

Golam Kibria

Hi Sarah,

I am glad that you were able to find a solution.

Have a great day