• Resolved webflorist

    (@webflorist)


    the placing of woocommerce_before_main_content and woocommerce_after_main_content is rather inconsistet in my opinion:

    <main>
      <!-- woocommerce_before_main_content is here -->
      <div id="primary" class="content-area">
        <main id="main" class="site-main" role="main">    
        <!-- primary content -->
        <!-- woocommerce_after_main_content is here -->
        </main>
      </div>
    
      <div id="secondary" class="widget-area" role="complementary">
        <!-- secondary content -->
      </div>
      <!-- this is where woocommerce_after_main_content actually should be in my opinion -->
    </main>
    

    how do i get stuff to display at the end of primary and secondary divs, where i want it?

Viewing 1 replies (of 1 total)
  • Hi there @webflorist ??

    Thank you for contacting Woo support!

    how do i get stuff to display at the end of primary and secondary divs, where i want it?

    As I understand, you’d like to customize the WooCommerce product page, by re-organizing its structure.

    This visual?hook guide for the WooCommerce Single Product Page will provide a visual overview of the available hooks, and their location.

    Feel free to use it as a guide, for adding custom elements, rearranging DIVs, and whatever your goals are, for your site’s bespoke presentation.

    I trust that points you in the right direction, but if you have more questions, let us know.

    We’re happy to help.

Viewing 1 replies (of 1 total)
  • The topic ‘woocommerce_before/after_main_content inconsistency’ is closed to new replies.