Tagged: x
-
AuthorPosts
-
August 15, 2016 at 10:47 am #1132068
JPParticipanthi there
I want to edit some aspects of the product page:http://myeternalbeauty.com/shop/skincare/another-eye-contour-serum/
– move product input box and add to cart button onto one line
– move them both above description
– change the text around the ‘in stock’ number
– hide the categories info
– move the brand name link to under the titleand if possible, add the stars from the review under product name
How would I do this?
I have a child theme set up already
thanks!
site: myeternalbeauty.com
August 15, 2016 at 12:12 pm #1132196
JadeModeratorHi there,
Please add this code in the customizer:
.woocommerce .cart .quantity { margin-bottom: 0; float: left; margin-right: 10px; } .woocommerce .cart button {} .woocommerce .cart .quantity .qty { height: 45px; } .woocommerce div.product .summary { position: relative; } .woocommerce .cart { position: absolute; top: 50px; } div[itemprop="description"] { padding-top: 45px; } .product_meta .posted_in:first-child { display: none; } .product_meta { position: absolute; top: 45px; left: 80px; }Hope this helps.
August 17, 2016 at 8:43 am #1135183
JPParticipantgreat! some of that worked a treat
I would still like to:
– have the product input field and ‘add to cart’ button on the same line and horizontally aligned
Also the CSS to place the brand name you gave me is absolute. so it goes wrong when browser is resized. is there a way to place it under the product name? so it responds to page resizing in same way as that text?
August 17, 2016 at 10:30 am #1135321
RupokMemberHi there,
Thanks for writing back. You can try this CSS to make the add to cart button inline :
.woocommerce .quantity { float: left; margin-right: 20px; } .cart .single_add_to_cart_button { margin-top: -5px; }For the brand name, us this :
.woocommerce div.product .summary { position: relative; } .woocommerce .entry-summary .price { margin-top: 40px; } .product_meta .posted_in:last-child { left: 0; position: absolute; top: 40px; }I have tested the code on your site so it should do the job. Should be look like this – http://prntscr.com/c6wmd1
Cheers!
August 18, 2016 at 5:48 am #1136592
JPParticipantthat works way better, i removed the earlier CSS
how can I now just get rid of the categories text under the add to cart button
Categories: Acne & Blemishes, Eyes, Lips, Serums, Skincare, Sun Protection, What’s New
August 18, 2016 at 7:21 am #1136699
JoaoModeratorHi There,
Seems like Cornerstone Plugin is off and your page is without the proper layout,
Please let us know when your page is working again so we can provide the CSS.
Thanks
Joao
August 19, 2016 at 11:21 am #1138441
JPParticipantworking! sorry about that – please have a look
August 19, 2016 at 6:38 pm #1138850
RadModeratorHi there,
Please add this CSS as well,
.product_meta { display: none; }Cheers!
August 22, 2016 at 6:05 am #1141294
JPParticipantsorry – when I add that it gets rid of the Brand Name
August 22, 2016 at 6:23 am #1141309
ThaiModeratorHi There,
Please try with this CSS instead:
.product_meta > span:first-child { display: none; }Hope it helps 🙂
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1132068 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
