This topic has 14 replies, 2 voices, and was last updated 5 years, 9 months ago ago by Rose Tyler
Hi
I’d like to reach some custom style for the product page, that i don’t find the way to do.
Actually, i’d like
> all content (description, title, price, …) except for images are aligned center
> to create a border around the price (ideally a border that seems to be hand-drawned)
> not to have a black background when the image lightbox is on (opacity 50%)
> to get the “long” description just behind the cart button, in the bottom of the product info area
> to custom the “add to cart” button
Regards for your help !
Hello,
Your site under maintenance mode, so I can’t check it. Please provide temporary wp-admin access.
Also, provide screenshots for better understanding the desired result.
“Customize buttons” settings you can find in Theme Options > Styling.
Regards
Hi
I just removed the maintenance mode
in private, the access infos for admin wp
Regards
Hello,
1) Please try to use this custom CSS code:
.single-product .product-information-inner *:not(img) {text-align: center !important;}
.single-product .product-information-inner ul {display: inline-block;}
.single-product .product-information-inner ul li {text-align: left !important;}
.single-product .product-information-inner table {margin-left: auto; margin-right: auto;}
.single-product .product-information-inner .product-share {justify-content: center;}
.single-product .product-information-inner .quantity {float: none !important;}
2) Provide URL of a page where the border should be added.
3)
.single-product .pswp__bg {
opacity: 0.5 !important;
}
4) Provide a URL and give me more details about the desired result.
Regards
Hi again , and thanks for help and code that works 😉 !
For the border on the price, please see a product exemple : https://bellemme.com/produit/bandeau-ajmer (around the price so)
Icheck for the style option for buttons in theme options
Hello,
You’re welcome!
.single-product .product-content .price .woocommerce-Price-amount {
border: 1px solid #e1e1e1;
padding: 3px;
}
Regards
perfect !
Hello,
Feel free to ask if you have any other questions.
Regards
HI
You gave me a code that works for custom a add to cart button in product page, but still don’t find how to custom the hover state of that button (?)
.single_add_to_cart_button.button, .quick-view-popup .product_type_variable, .quick-view-popup .product_type_grouped, .quick-view-popup .product_type_external {
height: auto;
font-size: .85rem;
padding-top: .785rem;
padding-bottom: .785rem;
background-color: #CCCCCC !important;
border: 1px solid #BEC73C;
color: #fff;
min-width: 190px;
margin-right: .4rem;
}
Thanks !
Hello,
Please try to use Theme Options > Styling > Customize buttons on hover state > Customize settings. If you do not achieve the desired result via these settings http://prntscr.com/n0cldr I will help you with the custom CSS code.
Regards
thz thing is that i’d like this particular style ony applies to “add to cart button” not all dark or light button ; so if you can help me with custom css 😉
.single_add_to_cart_button.button:hover{
background-color: white !important;
border: 1px solid #BEC73C;
color: #BEC73C;
}
Regards
thanks
Last question about the style in the product page ; is there a way to change the lightbox “close cross” image ?
Please provide a screenshot.
Regards
You must be logged in to reply to this topic.Log in/Sign up