Hello,
i’d like to align in the center the follwing custom text area added into the cart:
It is a theme not online, so it’s useless to share the url.
Any help? Thanks in advance to all
Hello,
i’d like to align in the center the follwing custom text area added into the cart:
It is a theme not online, so it’s useless to share the url.
Any help? Thanks in advance to all
Hi,
@Annavittoria simply add class CSS so you can align centre. and give it property
" align-items: center; "
to class
cart-attribute__field
like
.cart-attribute__field{
align-items: center;
}
please add this at the bottom of theme.scss.liquid
Hello @Ecommpremium , thanks for your reply.
I’ve added
.cart-attribute__field{
align-items: center;
}
into theme.css
but doesn’t work, nothing changed! Any additional idea?
@Annavittoria can you provide store URL so i can check?
@Ecommpremium i’ve temporarely published the theme for you to check
Apply this and adjust padding pixel 120px accordingly!
.cat_attribute__field {
padding-left: 120px;
}
his
i’ve corrected your mistyping into
.cart_attribute__field {
padding-left: 120px;
}
but doesn’t work.
Don’t know if i have to keep the previous one, but either with or without the previous
.cart-attribute__field{
align-items: center;
}
still doesn’t work
@Ecommpremium sorry but still doesn’t work as well ![]()
@Annavittoria , do this to fix it in 20 seconds:
.cart-attribute__field{
max-width: 400px;
width: 100%;
margin: 0 auto;
}
.cart-attribute__field textarea{
width: 100%;
}
Kind regards,
Diego