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
// Replace the default color palettes in the color picker | |
function my_custom_color_palettes( $palettes ) { | |
$palettes = array( | |
'#000000', | |
'#ffffff', | |
'#f44336', | |
'#03a9f4', | |
'#00bcd4', | |
'#ffeb3b', |
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
add_filter( 'astra_color_palletes', 'wpb_astra_color_palettes' ); | |
function wpb_astra_color_palettes() { | |
$color_palettes = array( | |
'#ffffff', | |
'#f6f7f8', | |
'#222222', | |
'#666666', | |
'#000000', | |
'#000000', | |
'#000000', |
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
add_filter( 'generate_default_color_palettes', 'tu_custom_color_palettes' ); | |
function tu_custom_color_palettes( $palettes ) { | |
$palettes = array( | |
'#000000', | |
'#FFFFFF', | |
'#CCDAD1', | |
'#9CAEA9', | |
'#788585', | |
'#6F6866', | |
'#38302E', |
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
/* Custom CSS by Dave Foy - https://www.designbuildweb.co - hello@designbuildweb.co */ | |
/* Use the same method of sizing elements as Elementor does */ | |
body * { | |
box-sizing: border-box; | |
} | |
/* Elementor - set some default left and right padding on mobile - same as in GeneratePress */ | |
.elementor-top-section.elementor-section-boxed > .elementor-container { | |
padding: 0 20px; |
NewerOlder