Astra_Beaver_Themer::beaver_themer_compatibility_styles( string $dynamic_css )

Compatibility CSS for Beaver Themer Builder.


Description


Parameters

$dynamic_css

(string) (Required) Astra Dynamic CSS.


Return

(string) $dynamic_css Generated CSS.


Source

File: inc/compatibility/class-astra-beaver-themer.php

		public function beaver_themer_compatibility_styles( $dynamic_css ) {

			if ( class_exists( 'FLBuilderModel' ) ) {
				$beaver_themer_styles = array(
					'.fl-row-content-wrap [CLASS*="ast-width-"] ' => array(
						'width' => '100%',
					),
					'body.fl-theme-builder-header.fl-theme-builder-part.fl-theme-builder-part-part #page' => array(
						'display' => 'block',
					),
				);              

				// Parse CSS from array.
				$parse_css = astra_parse_css( $beaver_themer_styles );

				// Appended parsed CSS.
				$dynamic_css .= $parse_css;
			}

			return $dynamic_css;
		}

Changelog

Changelog
Version Description
4.6.15 Introduced.

User Contributed Notes

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