Hello!
Could anyone please help me change the “Cart Note” size to be only 2 text lines high, and make its headline centered (this part on a mobile device only)? Brooklyn theme.
Any help would be kindly appreciated!
Hello!
Could anyone please help me change the “Cart Note” size to be only 2 text lines high, and make its headline centered (this part on a mobile device only)? Brooklyn theme.
Any help would be kindly appreciated!
What you store url @StoreHelpNeeded ?
What is your goal? Do you want to restrict the user from typing only 2 lines or user can write more then 2 lines but heath need to not be more than 2 lines height???
shopcutify.com, I want the text box to be only 2 lines high so it does not take that much space.
And I only want this to be so on the user’s phone. I want the bar to be slimmer and the headline to be centered.
Correct!
And make the text above centered
Use the below CSS
@media only screen and (max-width: 768px){
.cart__note textarea {
height: 70px;
max-height: 70px !important;
min-height: 70px !important;
}
.cart__note label {
text-align: center;
display: block;
}
}
In which file should I put this in?
on your theme.liquid search for and right above it add the below code
Thanks
This is Richard from PageFly - Shopify Page Builder App, I’d like to suggest this idea:
Online Store ->Theme ->Edit code
Assets ->Theme.scss.liquid
@media(max-width:767px){
textarea#CartSpecialInstructions {
min-height: 70px !important;
}
}
Hope you find my answer helpful!
Best regards,
Richard | PageFly