NooTheme Premium WordPress Theme › Forums › Mebla › Add Content Below the Gallery Images
Tagged: customization, html, single product, woocommerce
- This topic has 5 replies, 2 voices, and was last updated 4 years, 10 months ago by
littlecas.
-
AuthorPosts
-
4 years, 11 months ago #1066529
Hi NooTeam !
I am trying to add a custom html below the Single Product Page Images http://prntscr.com/m32zoc.
But it always displays below the all elements http://prntscr.com/m3303x.
My code :
add_action( 'woocommerce_after_single_product_summary' , 'bbloomer_add_below_prod_gallery', 5 );
function bbloomer_add_below_prod_gallery() {
echo '
';echo 'Покупать у нас выгодно !';
echo '
';
}
Waiting for your reply, thanks!
4 years, 11 months ago #1066530I am sending my code here again:
add_action( 'woocommerce_after_single_product_summary' , 'bbloomer_add_below_prod_gallery', 5 );
function bbloomer_add_below_prod_gallery() {
echo '
';echo 'Покупать у нас выгодно !';
echo '
';
}
4 years, 11 months ago #1066531Cannot send html example from your chat, that's why please see my screenshot http://prntscr.com/m333i0
4 years, 10 months ago #1066672Anyone?
4 years, 10 months ago #1066748Hi.
Thank you for contacting us and sorry for the late response.
To custom the content of the single product page.
1. You need to custom the div tag in the single product details at this file wp-content/themes/noo-mebla/woocommerce/content-single-product.php as this https://prnt.sc/m4ql6r
2. Add the custom CSS
.noo-woo-all-images-wrap {- width: 100%;
}.woocommerce div.product div.entry-summary {- width: 100%;
}3. Add actionadd_action( 'woocommerce_before_single_product_summary' , 'bbloomer_add_below_prod_gallery', 99 );After do 3 step, it will have the layout as this https://prnt.sc/m4qlk4Please check it again.Thanks.4 years, 10 months ago #1066788 -
AuthorPosts
You must be logged in and have valid license to reply to this topic.