Change element default settings for Pro

Hello,

For a client I am developing a website using Pro. I am looking for a way to have the default design-options according to their standards.

This would work
In this topic https://theme.co/apex/forums/topic/default-section-padding-cornerstone/ the following solution is provided.

/* Update the default settings for the section module */
function update_section_defaults($defaults) {
	$defaults ['padding'] = array( '45px', '0px', '45px', '0px', 'unlinked' );
	return $defaults;
	};
	
add_action ('cs_element_section_update_defaults','update_section_defaults');

However
This only applies to classic elements.

How do I change element-defaults in Pro?

Hey @ctrlspatie,

Element Defaults is now available both for V2 and Classic elements. Please see the usage instruction at https://theme.co/apex/forum/t/template-manager/20364#element-defaults

Thanks.

Thank you @christian_y, that is very helpfull.

You’re welcome.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.