I want to style the mobile cartQuantity input fields.
I'm able to modify the values with the following entry.
How can I set a wildcard for the input[type=text] field for cartQuantity input fields only.HTML Code:input.cart_input_303[type=text]{}
I want to style the mobile cartQuantity input fields.
I'm able to modify the values with the following entry.
How can I set a wildcard for the input[type=text] field for cartQuantity input fields only.HTML Code:input.cart_input_303[type=text]{}
I was late for edit.
The template is responsive_classic.
Something like the following should work
for the shopping-cart page quantity inputs:Code:input[class^="cart_input_"] { border: 3px solid purple; }
That CSS rule "says" to apply the styling to any inputs with a class= attribute whose value starts with cart_input_.Code:<input type="text" name="cart_quantity[]" value="1" size="4" class="cart_input_1:edff669e5da95c1d027b04d5412532fa" aria-label="Edit quantity in cart">
See this link for additional ways to identify a CSS selector: https://www.w3schools.com/cssref/css_selectors.php
That looks very promising.
Thank you very much!
I will take care of it soon.
It works like a charm and is very useful to style mobile cart for responsive_classic
Bookmarks