Hi Team,
How do you change the color via CSS on the button for uploading images on the add listing page?
I tried but without result
Tnx
Federico
Hi Team,
How do you change the color via CSS on the button for uploading images on the add listing page?
I tried but without result
Tnx
Federico
Try this code-snippet
add_action( 'wp_head', function () { ?>
<style>
.hp-field--button { background-color: red; }
}
);
</style>
<?php } );
Hi Seegon
Wow!!! Work perfectly
Tnx again
Federico
why is this better than simply add :
.hp-field–button { background-color: red; }
to the child theme style.css ? serius question
I don’t know why, but for me work very well
Federico
Yes, you can simply keep CSS snippets in Appearance/Customize, a PHP wrapper (suggested above) is required only if you keep this snippet as a PHP one (e.g. in the Code Snippets plugin).
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.