Hi
When using the Xstore theme and we have the sticky cart widget on the product page, how can we make it fill 100% and actually include the title?
See private for images and more details.
Thanks
This topic has 8 replies, 2 voices, and was last updated 2 months ago ago by Niddy
Hi
When using the Xstore theme and we have the sticky cart widget on the product page, how can we make it fill 100% and actually include the title?
See private for images and more details.
Thanks
Hello @Niddy,
Could you please try using the following custom CSS snippet:
@media only screen and (min-width: 768px) and (max-width: 992px) {
.elementor-widget-woocommerce-product-etheme_sticky_cart .etheme-sticky-cart .et_column:has(.sticky_product_title) {
display: inline-flex;
width: auto;
}
.elementor-widget-woocommerce-product-etheme_sticky_cart .etheme-sticky-cart .sticky_product_title {
white-space: nowrap;
overflow: hidden;
max-width: 130px;
}
.elementor-widget-woocommerce-product-etheme_sticky_cart .etheme-sticky-cart .et_column {
width: auto;
flex: 1;
}
.elementor-widget-woocommerce-product-etheme_sticky_cart .etheme-sticky-cart .et-container {
max-width: unset;
width: 100%;
}
}
Best regards,
8Theme Team
Awesome thanks as always – this works fine however on a mobile we need it to stretch 100% on mobiles – any idea how to achieve this incorporating the above css as this works for tablets.
Thanks again.
Hello @Niddy
Please, clearify what elements you want to show on mobile and in what order and sizes ?
Kind regards, Jack Richardson
The 8theme’s team
Hi
Thank you for fast reply. Please see private.
Hello @Niddy
Please, try to add next snippet:
@media only screen and (max-width: 767px) {
.elementor-widget-woocommerce-product-etheme_sticky_cart .etheme-sticky-cart .et_column {
justify-content: space-between;
}
.elementor-widget-woocommerce-product-etheme_sticky_cart .etheme-sticky-cart .et_column .price {
display: inline-flex;
flex-direction: row;
}
}
@media only screen and (max-width: 480px) {
.elementor-widget-woocommerce-product-etheme_sticky_cart .etheme-sticky-cart .et_column .price {
font-size: 14px;
}
}
Kind regards, Jack Richardson
The 8theme’s team
Perfect – thank you kindly 🙂
Thanks for the support! My topic “Issue with add to cart sticky widget on single product page – not rendering properly.” has been successfully resolved.
The issue related to '‘Issue with add to cart sticky widget on single product page – not rendering properly.’' has been successfully resolved, and the topic is now closed for further responses