Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1128951

    Hello,

    how can I change the background color and font color of dropdowns?

    <form class="woocommerce-shipping-calculator" action="/warenkorb/" method="post">
    
    	<a href="#" class="shipping-calculator-button">Adresse ändern</a>
    	<section class="shipping-calculator-form" style="display:none;">
    
    					<p class="form-row form-row-wide" id="calc_shipping_country_field">
    				<select name="calc_shipping_country" id="calc_shipping_country" class="country_to_state country_select" rel="calc_shipping_state">
    					<option value="">Land auswählen&hellip;</option>
    					<option value="AL">Albanien</option><option value="AD">Andorra</option><option value="BE">Belgien</option><option value="BA" selected='selected'>Bosnien und Herzegowina</option><option value="BG">Bulgarien</option><option value="DE">Deutschland</option><option value="DK">Dänemark</option><option value="EE">Estland</option><option value="FI">Finnland</option><option value="FR">Frankreich</option><option value="GR">Griechenland</option><option value="IE">Irland</option><option value="IS">Island</option><option value="IT">Italien</option><option value="HR">Kroatien</option><option value="LV">Lettland</option><option value="LI">Liechtenstein</option><option value="LT">Litauen</option><option value="LU">Luxemburg</option><option value="MT">Malta</option><option value="MD">Moldawien</option><option value="MC">Monaco</option><option value="ME">Montenegro</option><option value="NL">Niederlande</option><option value="MK">Nordmazedonien</option><option value="NO">Norwegen</option><option value="PL">Polen</option><option value="PT">Portugal</option><option value="RO">Rumänien</option><option value="SM">San Marino</option><option value="SE">Schweden</option><option value="CH">Schweiz</option><option value="RS">Serbien</option><option value="SK">Slowakei</option><option value="ES">Spanien</option><option value="CZ">Tschechien</option><option value="UA">Ukraine</option><option value="HU">Ungarn</option><option value="VA">Vatikanstadt</option><option value="GB">Vereinigtes Königreich</option><option value="BY">Weißrussland</option><option value="CY">Zypern</option><option value="AT">Österreich</option>				</select>
    			</p>
    		
    					<p class="form-row form-row-wide" id="calc_shipping_state_field">
    									<input type="text" class="input-text" value="" placeholder="Bundesland / Landkreis" name="calc_shipping_state" id="calc_shipping_state" />
    								</p>
    		
    					<p class="form-row form-row-wide" id="calc_shipping_city_field">
    				<input type="text" class="input-text" value="Hamburg" placeholder="Stadt" name="calc_shipping_city" id="calc_shipping_city" />
    			</p>
    		
    					<p class="form-row form-row-wide" id="calc_shipping_postcode_field">
    				<input type="text" class="input-text" value="21079" placeholder="Postleitzahl" name="calc_shipping_postcode" id="calc_shipping_postcode" />
    			</p>
    		
    		<p><button type="submit" name="calc_shipping" value="1" class="button">Aktualisieren</button></p>
    		<input type="hidden" id="woocommerce-shipping-calculator-nonce" name="woocommerce-shipping-calculator-nonce" value="90bb1c31e1" /><input type="hidden" name="_wp_http_referer" value="/warenkorb/" />	</section>
    </form>
    #1128982

    Hey SaschaNe,

    How can I get to the dropdowns exactly?

    Best regards,
    Jordan Shannon

    #1131008

    Hello,

    I mean the dropdown for the shipping costs.

    #1131715

    Hi SaschaNe,

    Try adding this css code in Quick CSS:

    .select2-results__option {
        background-color: #fbb1ae;
    }

    Best regards,
    Nikko

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.