add files
This commit is contained in:
27
template-parts/header/branding.php
Normal file
27
template-parts/header/branding.php
Normal file
@@ -0,0 +1,27 @@
|
||||
<!--[header/branding]-->
|
||||
|
||||
<style>
|
||||
.branding,
|
||||
.branding .header__nav > div:last-child:before,
|
||||
.branding .header__nav,
|
||||
.branding .burger,
|
||||
.branding .burger-body__sub,
|
||||
.branding .header__nav__stick,
|
||||
.branding .header .mb-header__open,
|
||||
.branding .header > .container-fluid {
|
||||
background: <?= get_branding_meta('bgcolor'); ?>!important;
|
||||
}
|
||||
@media screen and (min-width: 992px) {
|
||||
.branding .header__widgets > .container-fluid > .row:before {
|
||||
background-image: url(<?= wp_get_attachment_image_url(get_branding_meta('taxonomy_bg_left_image'), 'large' ); ?>);
|
||||
}
|
||||
.branding .header__widgets > .container-fluid > .row:after {
|
||||
background-image: url(<?= wp_get_attachment_image_url(get_branding_meta('taxonomy_bg_right_image'), 'large' ); ?>);
|
||||
}
|
||||
.branding {
|
||||
background: <?= get_branding_meta('bgcolor'); ?> url(<?= wp_get_attachment_image_url(get_branding_meta('taxonomy_bg_top_image'), 'large' ); ?>) no-repeat 50% 0% !important;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
<!--[/header/branding]-->
|
||||
Reference in New Issue
Block a user