File: /var/www/html/wpkoopkj/wp-content/themes/ohio/inc/dynamic_css/parts/notification.php
<?php
/*
Notification custom styles
*/
$notification_background_color = OhioOptions::get_global( 'notification_background_color' );
if ( $notification_background_color ) {
$_selector = [
'.notification .alert'
];
$_css = 'background-color:' . $notification_background_color . ';';
OhioBuffer::pack_dynamic_css_to_buffer( $_selector, $_css );
}
$notification_button_color = OhioOptions::get_global( 'notification_button_background_color' );
if ( $notification_button_color ) {
$_selector = [
'.notification .button'
];
$_css = 'background-color:' . $notification_button_color . ';';
OhioBuffer::pack_dynamic_css_to_buffer( $_selector, $_css );
}
$notification_typo = OhioOptions::get_global( 'notification_details_typo' );
if ( $notification_typo ) {
$notification_typo_css = '';
$notification_typo_css = OhioHelper::parse_acf_typo_to_css( $notification_typo );
if ( $notification_typo_css ) {
$_selector = [
'.notification .alert'
];
$_css = $notification_typo_css;
OhioBuffer::pack_dynamic_css_to_buffer( $_selector, $_css );
}
}
$notification_link_typo = OhioOptions::get_global( 'notification_link_typo' );
if ( $notification_link_typo ) {
$notification_link_typo_css = '';
$notification_link_typo_css = OhioHelper::parse_acf_typo_to_css( $notification_link_typo );
if ( $notification_link_typo_css ) {
$_selector = [
'.notification .alert a'
];
$_css = $notification_link_typo_css;
OhioBuffer::pack_dynamic_css_to_buffer( $_selector, $_css );
}
}