Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author SiteOrigin

    (@gpriday)

    Hi artofvoice.

    It’s actually reasonable simple to add new styles to the default Page Builder widgets. Documentation is one of those things I always need to write more of. Docs for this feature will be up at some point.

    Here’s some PHP that’d add a new style called hot red.

    function yourtheme_filter_button_styles($presets){
    	$presets['hot_red'] = array(
    		'background_color' => '#F02311',
    		'text_darken' => '-90%',
    		'inset_highlight' => '20%',
    		'text_shadow' => '-30%',
    	);
    	return $presets;
    }
    add_filter('origin_widget_presets_button_simple', 'yourtheme_filter_button_styles');

    You could add this to a child theme functions.php, your theme’s main functions.php or you could create a new plugin with this code.

    Glad to hear you’re enjoying the plugin. A lot of work (coffee) has gone into its creation ??

    Hello,

    does anybody know how to design the action box at the theme Yasmine? I don′t find any button/hint in my dashboard how to at all upload pictures in the box. Instaed it features titles of my posts…?

    Help will be higly rewarded:-)

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Call To Action Bar Colour’ is closed to new replies.