Abstract_Component::add_style( array $css_array = array() )
Method to add Component css styles.
Parameters
- $css_array
-
(Optional) An array containing css rules.
Default value: array()
Return
(array)
Source
File: header-footer-grid/Core/Components/Abstract_Component.php
Expand full source code Collapse full source code View on Github
Related
Uses
Uses | Description |
---|---|
header-footer-grid/Core/Components/Abstract_Component.php: Abstract_Component::add_legacy_style() |
Add legacy style. |
header-footer-grid/Core/Components/Abstract_Component.php: Abstract_Component::get_id() |
Utility method to return the component ID. |
header-footer-grid/Core/Settings/Manager.php: Manager::get_instance() |
Returns the instance of the class. |
Used By
Used By | Description |
---|---|
includes/modules/header_footer_grid/components/copyright.php: Copyright::add_style() |
Method to add Component css styles. |
header-footer-grid/Core/Components/EddCartIcon.php: EddCartIcon::add_style() |
Method to add Component css styles. |
includes/modules/header_footer_grid/components/divider.php: Divider::add_style() |
Method to add Component css styles. |
header-footer-grid/Core/Components/SecondNav.php: SecondNav::add_legacy_style() |
Add legacy style. |
header-footer-grid/Core/Components/SearchResponsive.php: SearchResponsive::add_legacy_style() |
Add legacy style. |
header-footer-grid/Core/Components/CartIcon.php: CartIcon::add_legacy_style() |
Add legacy style. |
header-footer-grid/Core/Components/PaletteSwitch.php: PaletteSwitch::add_style() |
Method to add Component css styles. |
header-footer-grid/Core/Components/NavFooter.php: NavFooter::add_legacy_style() |
Add legacy style. |
header-footer-grid/Core/Components/Search.php: Search::add_legacy_style() |
Add legacy style. |
header-footer-grid/Core/Components/Button.php: Button::add_legacy_style() |
Add legacy style. |
header-footer-grid/Core/Components/Nav.php: Nav::add_legacy_style() |
Add legacy style. |
header-footer-grid/Core/Components/MenuIcon.php: MenuIcon::add_legacy_style() |
Add legacy style. |
header-footer-grid/Core/Components/Logo.php: Logo::add_legacy_style() |
Add legacy style. |
header-footer-grid/Core/Components/Abstract_Component.php: Abstract_Component::render_css() |
Render CSS code for component. |
header-footer-grid/Core/Components/SecondNav.php: SecondNav::add_style() |
Add styles to the component. |
header-footer-grid/Core/Components/SearchResponsive.php: SearchResponsive::add_style() |
Method to add Component css styles. |
header-footer-grid/Core/Components/CartIcon.php: CartIcon::add_style() |
Method to add Component css styles. |
header-footer-grid/Core/Components/Search.php: Search::add_style() |
Method to add Component css styles. |
header-footer-grid/Core/Components/CustomHtml.php: CustomHtml::add_style() |
Method to add Component css styles. |
header-footer-grid/Core/Components/NavFooter.php: NavFooter::add_style() |
Add styles to the component. |
header-footer-grid/Core/Components/Button.php: Button::add_style() |
Method to add Component css styles. |
header-footer-grid/Core/Components/Nav.php: Nav::add_style() |
Add styles to the component. |
header-footer-grid/Core/Components/MenuIcon.php: MenuIcon::add_style() |
Add CSS style for the component. |
header-footer-grid/Core/Components/Logo.php: Logo::add_style() |
Method to add Component css styles. |
includes/modules/header_footer_grid/components/payment_icons.php: Payment_Icons::add_style() |
Method to add Component css styles. |
includes/modules/header_footer_grid/components/my_account.php: My_Account::legacy_style() |
Method to add Component css styles. |
includes/modules/header_footer_grid/components/my_account.php: My_Account::add_style() |
Method to add Component css styles. |
includes/modules/header_footer_grid/components/wish_list.php: Wish_List::add_style() |
Method to add Component css styles. |
includes/modules/header_footer_grid/components/wish_list.php: Wish_List::legacy_style() |
Method to add Component css styles. |
includes/modules/header_footer_grid/components/yoast_breadcrumbs.php: Yoast_Breadcrumbs::add_style() |
Method to add Component css styles. |
includes/modules/header_footer_grid/components/yoast_breadcrumbs.php: Yoast_Breadcrumbs::legacy_style() |
Method to add Component css styles. |
includes/modules/header_footer_grid/components/language_switcher.php: Language_Switcher::add_style() |
Method to add Component css styles. |
includes/modules/header_footer_grid/components/social_icons.php: Social_Icons::legacy_style() |
Method to add Component css styles. |
includes/modules/header_footer_grid/components/social_icons.php: Social_Icons::add_style() |
Method to add Component css styles. |
includes/modules/header_footer_grid/components/contact.php: Contact::add_style() |
Method to add Component css styles. |
includes/modules/header_footer_grid/components/contact.php: Contact::legacy_style() |
Method to add Component css styles. |
Changelog
Version | Description |
---|---|
1.0.0 | Introduced. |