This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
add_action( 'init', 'child_theme_init' ); | |
function child_theme_init() { | |
add_action( 'storefront_before_content', 'woa_add_full_slider', 5 ); | |
} | |
function woa_add_full_slider() { ?> | |
<div id="slider"> | |
<?php echo do_shortcode("[metaslider id=388 percentwidth=100]"); ?> | |
</div> | |
<?php |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
body.woocommerce #primary { width: 100%; } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
add_action( 'get_header', 'remove_storefront_sidebar' ); | |
if ( is_product() ) { | |
remove_action( 'storefront_sidebar', 'storefront_get_sidebar', 10 ); | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@media screen and (min-width: 768px) { | |
/* LOGO */ | |
.site-header .site-branding, .site-header .site-logo-anchor, .site-header .site-logo-link { width: 30% !important; /* Use px values if you want, eg. 350px */ } | |
/* SECONDARY NAVIGATION */ | |
.site-header .secondary-navigation { width: 40% !important; /* Use px values if you want, eg. 350px */ } | |
/* SEARCH BAR */ | |
.site-header .site-search { width: 30% !important; /* Use px values if you want, eg. 350px */ } | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ul.products li.product .onsale { | |
position: absolute; | |
top: 137px; | |
right: 62px; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.onsale { | |
background-color: #FFFFFF; | |
border-color: #FF0000; | |
color: #FF0000; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.page-template-template-homepage .hentry .entry-header, | |
.page-template-template-homepage .hentry, | |
.page-template-template-homepage .storefront-product-section { | |
border-color: red; | |
} |
NewerOlder