, но с моим кодом все еще возникают некоторые проблемы:
CSS
Код: Выделить всё
.woocommerce form .form-row input.input-text {
padding: 17px 0 16px 24px;
}
Код: Выделить всё
add_filter("wc_stripe_elements_styling", "snippetpress_style_stripe_1");
function snippetpress_style_stripe_1($styles)
{
$styles = array(
"base" => array(
"fontFamily" => "galanogrotesque,sans-serif",
"::placeholder" => array(
"color" => "#979AA3",
"fontSize" => "18px",
"fontStyle" => "normal",
"fontWeight" => "400",
"lineHeight" => "normal",
"letterSpacing" => "-0.2px",
"textDecoration" => "none",
"fontVariant" => "normal",
),
),
);
return $styles;
}
- сделайте CVV и дату завершения полной ширины (теперь они отображаются в виде двух столбцов)
- текст заполнителя стал на несколько пикселей выше

Подробнее здесь: https://stackoverflow.com/questions/734 ... stom-style