Can you adjust the opacity for radio buttons that are hidden? If so, where.
							
						
					Announcement
				
					Collapse
				
			
		
	
		
			
				No announcement yet.
				
			
				
	
Adjust Hidden Radio Buttons Opacity
				
					Collapse
				
			
		
	X
- 
	
	
		
		
		
		
		
		
		
	
	
 Sorry for the incomplete information. Shadows theme. On certain products that have been discontinued I hide variants that have been sold out in the inventory section (Hide Out of Stock Products). Those variants that are sold out display, but the button is disabled and the attribute prompt is slightly grayed out. I would prefer to make the button a litte more inconspicuous or even add a sold out text next to the prompt.
 
 Example link: https://www.horseandkennel.com/kerri...urner-tee.html
 Comment
- 
	
	
		
		
		
		
		
		
		
	
	
 In your case you could either edit the attribute template, or use the :has pseudo-class. Something like this would work:
 
 .x-product-layout-purchase__options-attribute label.c-form-checkbox--radio.c-form-checkbox--inline:has(:disabled) {
 opacity: .5;
 cursor: not-allowed;
 }
 
 Hope this helps! :)
 -Ryan
 Comment

Comment