Home Forums WoodMart support forum Reverse code sidebar loading

Reverse code sidebar loading

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #333222

    DanyM
    Participant

    Hi, we would need to reverse sidebar loading (only in code, not in frontend). It is currently in this order:

    <div class = “container”> with inside:
    First:
    <aside class = “sidebar-container col-lg-2 col-md-3 col-12 order-last order-md-first sidebar-left area-sidebar-shop” role = “complementary”> …… .

    and second:
    <div class = “site-content shop-content-area col-lg-10 col-12 col-md-9 description-area-before content-with-products” role = “main”>

    In the frontend it is fine as it is (on the left we have the column with the categories and above the products there is a short description of the category), we would like to keep this aspect. But for better seo optimization we need the order of the code to be reversed:
    1 <div class = “site-content shop-content-area
    2 <aside class = “sidebar-container

    The appearance of the frontend I guess is given by the style so I wanted to know if it is possible to reverse the code so that there is a priority for <div class = “site-content shop-content-area in which we have an optimized description and after, the sidebar with the categories where we have <aside class = “sidebar-container.

    how would that be possible?

    Thanks

    #333386

    DanyM
    Participant

    Please, can you help me? 🙁

    #333613

    Hello,

    Sorry for the delay.

    Please find this file: woodmart/woocommerce/archive-product.php copy it into the child theme in the same route.

    Then move the code as shown on the screen: https://prnt.sc/20gxson
    https://prnt.sc/20gxvag

    Best Regards

Viewing 3 posts - 1 through 3 (of 3 total)