
Originally Posted by
nicksab
While I am still trying to figure out the whole checkout layout when using the plugin One Page Checkout, I have 2 more display problem
- I replaced the "...more info" by the Buy Now button since most of my products have attribute. However, when the product is on sale, the button don't line up.
https://www.royal-fleur.com/belveder...index&cPath=25
- My product have a text input attribute for delivery date. However, the text ("desired delivery date") is not display the same way as the other attribute ( bold blue text vs regular
https://www.royal-fleur.com/belveder...oducts_id=2668
Any suggestions on how to fix these?
Thank you
The misalignment is happening because sale items include additional text, like the 'Save 20% off' message. You could try hiding that line, but even then, long product titles will still cause layout issues. So it's not just the sale text—lengthy titles will create the same problem.
Just need to style the input for the product page to get the date style your looking for
line:2613
find
Code:
#productAttributes input[type="text"] {
margin-bottom: 0px;
}
change it to
Code:
#productAttributes input[type="text"] {
margin-bottom: 0px;
color: #761bc9;
font-weight:900;
}
this is to center your buy now button on the product listing page **(just a suggestion)
line 1104
find
Code:
#productListing .gridlayout .list-more {
margin: auto;
width: 30%
}
replace with
Code:
#productListing .gridlayout .list-more {
width: 30%
display:flex;
justify-content:center;
}
line 3996
this is the re-size the "buy now button on product listing". **(just a suggestion)
to make button smaller you can change the flex style 1 to 0.7 or your desired size
find
Code:
#productListing .gridlayout .button_buy_now {
float: none;
}
change to
Code:
#productListing .gridlayout .button_buy_now {
float: none;
flex-grow:1
}