Hi there. I would like to make some changes to the
ecwid-AddressForm on the
ecwid-productBrowser ecwid-productBrowser-CheckoutShippingAddressPage page, but can't figure out the correct CSS selector path.
According to the w3.org site, I should be using the descendant pattern "E F - Matches any F element that is a descendant of an E element." And in tests on some basic styling reveals this works as expected:
HTML Code:
<style type="text/css">
.item1 #text { color: red;}
</style>
<div id="container">
Test1<br />
<div class="item1">
Test2<br />
<div class="property">
Test3<br />
<div id="list">
<span id="text">Test4</span>
</div>
</div>
</div>
<div class="item2">
<span id="text">Test5</span><br />
</div>
</div>
Only Test4 is red.
I have tried all of the following without success:
div.ecwid-productBrowser ecwid-productBrowser-CheckoutShippingAddressPage div.ecwid-AddressForm {
}
.ecwid-productBrowser ecwid-productBrowser-CheckoutShippingAddressPage .ecwid-AddressForm {
}
ecwid-productBrowser ecwid-productBrowser-CheckoutShippingAddressPage ecwid-AddressForm {
}
Attached is the CSS.
Bear in mind there is another
ecwid-AddressForm on the
ecwid-productBrowser ecwid-productBrowser-CheckoutPaymentDetailsPage page which I want give a different style to.