Last active
February 2, 2026 08:59
-
-
Save jmabbas/81c024c417fa41b73d8013901759f220 to your computer and use it in GitHub Desktop.
Electro - Mobile view custom changes
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( 'woocommerce_before_single_product_summary', 'woocommerce_template_single_title', 7 ); |
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 (min-width: 767px) { | |
| .product-images-wrapper .product_title { | |
| display: none !important; | |
| } | |
| } | |
| @media (max-width: 767px) { | |
| .summary > .product_title { | |
| display: none !important; | |
| } | |
| .single-product .cart .quantity { | |
| margin-bottom: 0; | |
| width: 95px; | |
| left: 10px; | |
| border-radius: 22px; | |
| } | |
| .sticky-single-add-to-cart-mobile .single_add_to_cart_button { | |
| width: 190px !important; | |
| padding: 10px 0px; | |
| left: initial; | |
| right: 10px; | |
| position: initial; | |
| margin-left: 10px; | |
| background-color: #fff !important; | |
| color: #333e48; | |
| border: 1px solid #ddd; | |
| } | |
| .sticky-single-add-to-cart-mobile .single_add_to_cart_button, | |
| .single-product .cart .quantity { | |
| box-shadow: rgba(0, 0, 0, 0.1) 0px 10px 15px -3px, rgba(0, 0, 0, 0.05) 0px 4px 6px -2px; | |
| } | |
| .summary form.cart { | |
| position: fixed; | |
| z-index: 1080; | |
| right: auto; | |
| bottom: 10px; | |
| left: 16%; | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment