This file contains hidden or 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; | |
| } |
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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', 'jk_remove_storefront_header_search' ); | |
| function jk_remove_storefront_header_search() { | |
| remove_action( 'storefront_header', 'storefront_product_search', 40 ); | |
| } |
This file contains hidden or 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', 'custom_remove_footer_credit', 10 ); | |
| function custom_remove_footer_credit () { | |
| remove_action( 'storefront_footer', 'storefront_credit', 20 ); | |
| add_action( 'storefront_footer', 'custom_storefront_credit', 20 ); | |
| } | |
| function custom_storefront_credit() { | |
| ?> | |
| <div class="site-info"> |
This file contains hidden or 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
| function storefront_primary_navigation() { | |
| ?> | |
| <nav id="site-navigation" class="main-navigation" role="navigation"> | |
| <button class="menu-toggle"><?php _e( 'Primary Menu', 'storefront' ); ?></button> | |
| <?php wp_nav_menu( array( 'theme_location' => 'primary' ) ); ?> | |
| </nav><!-- #site-navigation --> | |
| <?php | |
| } |
OlderNewer