Astra_Builder_Customizer::builder_customizer_preview_styles()

Attach customize_controls_print_footer_scripts preview styles conditionally.


Description


Source

File: inc/customizer/class-astra-builder-customizer.php

	public function builder_customizer_preview_styles() {
		/**
		 * Added Astra Pro dependent customizer style.
		 */
		if ( is_customize_preview() ) {
			echo '<style type="text/css">
				.ahfb-builder-mode-header[data-row="above"] .ahfb-row-actions, .ahfb-builder-mode-header[data-row="below"] .ahfb-row-actions, .ahfb-builder-mode-footer[data-row="above"] .ahfb-row-actions, .ahfb-builder-mode-footer[data-row="primary"] .ahfb-row-actions {
					cursor: pointer;
				}
			</style>';
		}
	}

Changelog

Changelog
Version Description
3.0.0 Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.