Created
April 20, 2020 18:59
-
-
Save robertstaddon/43175ec6c4d1313306ed56e9b94ec2b4 to your computer and use it in GitHub Desktop.
Fix YITH My Account Divi Color Picker Compatibility
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
add_action('admin_head', 'yith_divi_color_picker_compatibility'); | |
function yith_divi_color_picker_compatibility() { | |
echo ' | |
<style> | |
.yith-plugin-ui .wp-picker-container a.wp-color-result { | |
width: 30px; | |
height: 30px; | |
box-shadow: none; | |
border: 1px solid #d9d9d9; | |
margin-bottom: 0; | |
padding: 0; | |
display: inline-block; | |
vertical-align: middle; | |
box-sizing: content-box; | |
position: relative; | |
margin-right: 10px; | |
} | |
</style> | |
'; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment