Astra_Ext_Spacing_Loader::add_body_class( array $classes )

Add Body Classes


Description


Parameters

$classes

(array) (Required) Body Class Array.


Return

(array)


Source

File: addons/spacing/classes/class-astra-ext-spacing-loader.php

		public function add_body_class( $classes ) {

			/**
			 * Add class for header width
			 */
			$header_content_layout = astra_get_option( 'header-main-layout-width' );

			if ( 'full' == $header_content_layout ) {
				$classes[] = 'ast-full-width-header';
			}

			return $classes;
		}

User Contributed Notes

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