Hallo zusammen,
I tried to implement it today using a css code, but I don’t know how to address the element.
I just want to give the product attribute “menge” a costum CSS
On mobile I would like to set the two values of the attribute to 100 percent, the same length as the shopping cart button…
i would also like to give the element a different font size and color
Can you tell me how to address it correctly so that only this ” menge” is influenced… and set in on mobiule on 100 %
Thank you very much
what I tried…
/* Span Tag für das Produktattribut “Menge” */
.et_product-block .variations_form .variations tbody tr.attribute_pa_menge .value .st-swatch-preview .subtype-square span {
transform: translateX(0px) translateY(0px);
background-color: #2a3952 !important;
color: #ffffff !important;
border: 2px solid red !important; /* Roter Rand */
}
/* Custom attribute with the name ‘menge’ */
.page-wrapper tr:nth-child(3) .subtype-square:nth-child(1) .st-custom-attribute[data-attribute-name=”menge”] {
background-color: red;!important;
}