This topic has 6 replies, 2 voices, and was last updated 1 months, 2 weeks ago ago by Luca Rossi
Please can I ask for some help with some CSS for spacing issues.
As can be seen on this page: https://celebratewithme.co.za/product/personalised-star-map-glowing-constellations/
I would like to space the dropdown options more evenly and better, however I just cannot seem to find the right selector or CSS to do that.
I have also attached herewith an image to explain what I am needing.
Hi @Rowan Keizer,
Please try adding this custom CSS under XStore > Theme Options > Theme Custom CSS > Global CSS:
.single-product form.cart table.variations {
margin-bottom: 0 !important;
}
.single-product .single_variation_wrap {
margin: 0;
}
.single-product .woocommerce-variation.single_variation {
margin-bottom: 15px;
}
.single-product a.reset_variations {
margin-left: 0;
}
.single-product .woocommerce-variation-price {
margin: 0;
}
.single-product .woocommerce-variation-add-to-cart.variations_button {
margin-top: 0 !important;
gap: 15px;
}
.single-product .woocommerce-variation-add-to-cart.variations_button table label {
margin-top: 15px !important;
}
.single-product .woocommerce-variation-add-to-cart.variations_button table label[for="wck_personalised_field_name"] {
margin-top: 0 !important;
}
Hope it helps!
You are an absolute star! Thank you 🙂
If I can ask, there is no gap between the Add to cart button and the table, what CSS can I add to put say a 20px gap?
Hi @Rowan Keizer,
You can find the gap: 20px; line and change this value.
Hope it helps!
Thank you Luca, really appreciate your help.
Have an amazing day!
Hi @Rowan Keizer,
In the spirit of gratitude, we want to express our appreciation for your trust in our products. As a valued customer, your experience matters greatly. Would you consider sharing it by giving our theme a deserving 5-star rating on ThemeForest?
Click here to share your thoughts: https://themeforest.net/downloads
Being part of our community means a lot, and your feedback contributes immensely.
Best Regards,
The 8Theme Team
The issue related to '‘Spacing issue with table on single product page’' has been successfully resolved, and the topic is now closed for further responses