Find Answers and Get Support › Forums › Mandha – Multipurpose WooCommerce Theme › Website Setup › Pages › Woocommerce Single Product Page Align Cantre
- This topic has 5 replies, 3 voices, and was last updated 1 year, 3 months ago by Manathan.
-
AuthorPosts
-
RiyazParticipant@riyazn
- 17 Topics
- 51 Posts
I am trying to centre the woocommerce single product page centre the alignment, I tried some css
/* Product summary wrapper */
#main .product .product-summary-wrapper{
transform:translatex(0px) translatey(0px);
}/* Division */
#main .product .iconic-woothumbs-all-images-wrap–thumbnails-below{
transform:translatex(334px) translatey(0px);
}/* Entry summary */
#main .product .entry-summary{
transform:translatex(-322px) translatey(0px);
}/* Post Title */
.entry-summary .product-title-wrapper h1{
transform:translatex(41px) translatey(0px);
}/* Price */
.product-summary-wrapper .entry-summary .price{
transform:translatex(227px) translatey(-13px);
}the header font is still on left side and its not responsive,
please check and fix the font alignMay 9, 2023 at 09:28 #45190RiyazParticipant@riyazn- 17 Topics
- 51 Posts
I can’t properly make it centre, I need to float everything in centre,
I got some from google but they didn’t work/* Center product summary section */
.single-product div.product div.images,
.single-product div.product div.summary {
margin: 0 auto;
float: none;
}it doesn’t work
Screenshot-2023-05-09-at-7.32.33-PM-1 Screenshot-2023-05-09-at-7.32.33-PM Screenshot-2023-05-09-at-7.33.30-PMMay 9, 2023 at 16:07 #45207@themodactyl- 0 Topics
- 6587 Posts
Hi Riyaz,
Thank you for reaching out to us!
It’s best if we take a quick look at this. Could you create a new website user for us please? If possible with administrator capabilities so we can make a quick check of your settings.
You can post the user name and password in your next reply and mark it as private to keep this between us.Also, are we free to deactivate plugins for our tests? In this case, I invite you to make a backup before we investigate your website further in order to make sure you don’t loose any data if something goes wrong.
Thank you.
May 10, 2023 at 12:03 #45210RiyazParticipant@riyazn- 17 Topics
- 51 Posts
if anybody looking for single product page customise use this code in functions.php and you will get all freedom like post edit
// enable gutenberg for woocommerce
function activate_gutenberg_product( $can_edit, $post_type ) {
if ( $post_type == ‘product’ ) {
$can_edit = true;
}
return $can_edit;
}
add_filter( ‘use_block_editor_for_post_type’, ‘activate_gutenberg_product’, 10, 2 );// enable taxonomy fields for woocommerce with gutenberg on
function enable_taxonomy_rest( $args ) {
$args[‘show_in_rest’] = true;
return $args;
}
add_filter( ‘woocommerce_taxonomy_args_product_cat’, ‘enable_taxonomy_rest’ );
add_filter( ‘woocommerce_taxonomy_args_product_tag’, ‘enable_taxonomy_rest’ );May 14, 2023 at 18:08 #45232@roboraptor- 0 Topics
- 395 Posts
Hi there,
Thanks for getting in touch!
We provide support only during Belgian business hours (Monday to Friday, from 8:30 am – 5:30 pm CEST), and our current response time can be up to 1 business day. We’ve received your request and we’ll get you an answer ASAP.
We really thank you for your patience!
In the meantime, feel free to check out our documentation resources for more help: https://doc.themosaurus.com/
Kind regards,
May 14, 2023 at 18:08 #45233@themodactyl- 0 Topics
- 6587 Posts
Hi Riyaz,
I’m glad to read that you’ve been able to solve this! Thank you for sharing the solution with us. I’m sure it will help other users facing the same issue. By doing this, you’re making a great contribution to this forum, and we thank you very much for that! #SharingIsCaring 💪🏻
Cheers,
May 15, 2023 at 09:21 #45234 -
AuthorPosts
Hi there,
This topic has been inactive for a while now so we will be closing it to keep the forum tidy. Don't hesitate to create a new topic if you still need help and we'll be glad to help you!
Best regards,
The Themosaurus team.
The topic ‘Woocommerce Single Product Page Align Cantre’ is closed to new replies.