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
.glass | |
{ | |
background: rgba( 255, 255, 255, 0.25 ); | |
box-shadow: 0 8px 32px 0 rgba( 31, 38, 135, 0.37 ); | |
backdrop-filter: blur( 4px ); | |
-webkit-backdrop-filter: blur( 4px ); | |
border-radius: 10px; | |
border: 1px solid rgba( 255, 255, 255, 0.18 ); |
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
.background { | |
background-color: #533cd245; | |
padding:45px; | |
box-shadow: 1px 1px 50px 1px #000; | |
transition: box-shadow 0.3s ease-in-out; | |
} |
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
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 | |
} |
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', 'jk_remove_storefront_header_search' ); | |
function jk_remove_storefront_header_search() { | |
remove_action( 'storefront_header', 'storefront_product_search', 40 ); | |
} |
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
#masthead > .col-full, | |
#masthead .site-header-cart { | |
display: none; | |
} |
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
/*** Take out the divider line between content and sidebar ***/ | |
#main-content .container:before {background: none;} | |
/*** Hide Sidebar ***/ | |
#sidebar {display:none;} | |
/*** Expand the content area to fullwidth ***/ | |
@media (min-width: 981px){ | |
#left-area { | |
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
remove_action( 'storefront_post_content_before', 'storefront_post_thumbnail', 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
a { | |
text-decoration: none !important; | |
} |
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
.ppb-hover-card .ppb-block { | |
position: relative; | |
} | |
.ppb-hover-card .ppb-block > * { | |
position: static; | |
} | |
.ppb-hover-card .ppb-block a.fill-parent-link { | |
display: block; | |
content: ''; | |
background: rgba(0,0,0,0); |