lots0logs
3/26/2018 - 9:27 AM

Custom CSS Fields Configuration Example

Custom CSS Fields Configuration Example

<?php

class SIMP_SimpleHeader extends ET_Builder_Module {

	// ...Rest of implementation

	public function get_custom_css_fields_config() {
		return array(
			'content' => array(
				'label'    => esc_html__( 'Content', 'simp-simple' ),
				'selector' => '%%order_class%% p',
			),
			'heading' => array(
				'label'    => esc_html__( 'Heading', 'simp-simple' ),
				'selector' => '%%order_class%% h1',
			),
		);
	}

	// Rest of implementation...
}