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
html { | |
scroll-behavior: smooth; | |
} |
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
/** | |
* Changes the redirect URL for the Return To Shop button in the cart. | |
* | |
* @return string | |
*/ | |
function wc_empty_cart_redirect_url() { | |
return 'http://yourdomain.com/your-page/'; | |
} | |
add_filter( 'woocommerce_return_to_shop_redirect', 'wc_empty_cart_redirect_url' ); |
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
.wp-block-navigation .wp-block-navigation-item__label:hover { | |
background-color: #CE4520; | |
border-radius: 25px; | |
color:white; | |
} | |
.wp-block-navigation .wp-block-navigation-item__label { | |
padding:10px; | |
} |
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
html { | |
scroll-snap-type: y mandatory; | |
scroll-behavior: smooth; | |
} | |
.scroller { | |
scroll-snap-align: start; | |
} |
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
.shorts { | |
background-image: url('https://woo.us2.instawp.xyz/wp-content/uploads/2020/09/product-w-jeans1.jpg'); | |
background-color: #cccccc; /* Used if the image is unavailable */ | |
height: 500px; /* You must set a specified height */ | |
background-position: center; /* Center the image */ | |
background-repeat: no-repeat; /* Do not repeat the image */ | |
background-size: cover; /* Resize the background image to cover the entire container */ | |
} |
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 (max-width: 768px) { | |
.reverse-mobile { | |
flex-direction: column-reverse; | |
} | |
} |
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', '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 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
.wp-block-image | |
{ | |
border-radius: 76% 24% 67% 33% / 30% 30% 70% 70% ; | |
} | |
.wp-block-image:nth-child(2) | |
{ | |
border-radius: 56% 44% 66% 34% / 52% 50% 50% 48% | |
} |
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
.roundedpics { | |
border-radius: 25px; | |
} |
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
.wp-block-cover.alignfull, | |
.wp-block-columns { | |
margin-bottom: 0; | |
padding-bottom: 0; | |
} |
NewerOlder