Okay
  Public Ticket #3656298
Moving Category Description section under the products on the page
Closed

Comments

  •  3
    Intensgroen started the conversation

    Hi There,

    I want to move het category description under the products in Woocommerce. I find this article:

    https://themenectar.ticksy.com/ticket/2434702/

    That works perfect (discription moves below the products. But the page number flips to the top and I want to keep that at the bottom of the page also. 

    Do you have some extra CCS tot solve that problem as well?

    (At this moment I'm using a plugin to swap the  discription to the bottom, but I want less plugins on my webshop)

    Chris

  •  8,838
    Tahir replied

    Hey Again,

    Please remove the plugin and provide the page url so we can write up Custom CSS for it. 

    Thanks.


    ThemeNectar Support Team 

  •  3
    Intensgroen replied

    Hi Tahir,

    I removed the plugin. Here you find an example of a category page https://tuinplantenshop.nl/product-category/bomen/

    I want the text below the products and also I want to keep the page number at the bottom. (Like it is now)


    Thanks,

    Chris

  •  8,838
    Tahir replied

    Hey Again,

    Add this into the Custom CSS box in your Salient Theme Options panel (We write all Custom CSS in the Live Browser to ensure accuracy. If you cannot see any changes, make sure there is no red cross in the Custom CSS Box as any syntax error would cause all CSS under that line of code to not show up on the Frontend):

    @media only screen and (min-width: 1000px) {
        .archive.woocommerce .container-wrap > .main-content > .row .post-area.span_9 {
            display:flex;
            flex-direction: column;
        }
        .archive.woocommerce header.woocommerce-products-header {
            order: 2;
        }
        .archive.woocommerce .yit-wcan-container {
            order: 1;
        }
        .archive.woocommerce .woocommerce nav.woocommerce-pagination {
            order: 3;
        }
    }

    Thanks


    ThemeNectar Support Team 

  •  3
    Intensgroen replied

    Hi Tahir,

    I tried it in my test enviroment, but it doesn't work. I get an error.

    I just solved it by putting undernead code in my functions.php 


    remove_action ( 'woocommerce_archive_description', 'woocommerce_taxonomy_archive_description', 10 );
    add_action( 'woocommerce_after_shop_loop', 'woocommerce_taxonomy_archive_description', 100 );


    Thanks for your help

    Chris

    Attached files:  Schermafbeelding 2024-05-29 190108.png