Answer the question
In order to leave comments, you need to log in
Why in wordpress do I have a text container inside an image container?
What did I write wrong here?
add_action('woocommerce_before_single_product', 'aroma_wrapper_product_start', 5);
function aroma_wrapper_product_start() {
?>
<div class="product_image_area">
<div class="container">
<div class="row s_product_inner">
<?php
}
add_action('woocommerce_after_single_product', 'aroma_wrapper_product_end', 5);
function aroma_wrapper_product_end() {
?>
</div>
</div>
</div>
<?php
}
add_action('woocommerce_before_single_product_summary', 'aroma_wrapper_product_image_start', 5);
function aroma_wrapper_product_image_start() {
?>
<div class="col-lg-6">
<?php
}
add_action('woocommerce_after_single_product_summary', 'aroma_wrapper_product_image_end', 25);
function aroma_wrapper_product_image_end() {
?>
</div>
<?php
}
add_action('woocommerce_before_single_product_summary', 'aroma_wrapper_product_entry_start', 30);
function aroma_wrapper_product_entry_start() {
?>
<div class="col-lg-5 offset-lg-1">
<div class="s_product_text">
<?php
}
add_action('woocommerce_after_single_product_summary', 'aroma_wrapper_product_entry_end', 5);
function aroma_wrapper_product_entry_end() {
?>
</div>
</div>
<?php
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question