Tagged: variation
Hi, i looked for this for a while without finding a solution.
I would like to remove the attribute title from the product page, because it takes too much space on mobile.
The only code i found was a css code which hides the attribute name but keeps the spacing, so its not enough.
I need the left space to be removed and not just the title, or put the title on top hand have full width for the content.
I put a screenshot that will surely make u understand.
Hey Jacopotj,
This is more of a general WP function. Refer to the following:
https://wordpress.org/support/topic/removing-attributes-in-product-title/
Best regards,
Jordan Shannon
Hi, the link you gave me is exactly the only link i found.
The only code i found was a css code which hides the attribute name but keeps the spacing, so its not enough.
i have been searching again around the internet without finding any solution, are you sure you can’t help? maybe it’s a enfold thing too.
Hi,
Sorry for the late reply, Please try this code in the General Styling > Quick CSS field or in the WordPress > Customize > Additional CSS field:
form.variations_form.cart td.label {
display: none !important;
}
form.variations_form.cart .single_variation_wrap {
margin-left: 0 !important;
}
After applying the css, Please clear your browser cache and check.
Best regards,
Mike
awesome! Thank you!
Hi,
Glad we were able to help, we will close this now. Thank you for using Enfold.
For your information, you can take a look at Enfold documentation here
For any other questions or issues, feel free to start new threads in the Enfold forum and we will gladly try to help you :)
Best regards,
Mike