Home Forums WoodMart support forum Remove prefooter from WC "order-pay" endpoint

Remove prefooter from WC "order-pay" endpoint

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #142930

    ToriTori38
    Participant

    Hi there,

    I would like to remove the prefooter form the “order-pay” endpoint. As this is not a page, I do not know how to disable this with CSS. Do you know how I can select the order-pay page with CSS? I thought the following would work but it doesn’t:

    .woocommerce-order-pay .woodmart-prefooter{
    display: none;
    }

    #142942

    Hello,

    Please, try this code, add it to the Theme Settings > Custom CSS > Global:

    body .woocommerce-order-pay .woodmart-prefooter{
    display: none;
    }

    Best Regards

    #142965

    ToriTori38
    Participant

    Thank for your reply. Unfortunately that does not work. Shall I give you admin access?

    #142993

    Hello,

    Yes, provide your site admin and provide steps and necessary information for the testing order to get to this page.

    Best Regards

    #143003

    ToriTori38
    Participant

    Hi there,

    I have just seen that the footer and prefooter only appear on the secondary language pages of our site (which have translated checkout endings). On the English side of the website there is not an issue as these footers do not appear in the “order-pay” (thank you page).

    I’ve given access to my site below. It looks like standard footers are not normally loaded on the “thank you” page, but for some reason they appear on the secondary language pages.

    #143087

    Hello,

    Please add this code to the Theme Settings > Custom CSS > Global:

    body.woocommerce-order-received .woodmart-prefooter{
    	display:none;
    }
    body.woocommerce-order-received footer{
    	display:none;
    }

    Please check the screen https://gyazo.com/9095fa6f853a5df3fd446f1265ccc36c you need to enter each page in all the languages and disable footer/pre-footer.

    Best Regards

    #143112

    ToriTori38
    Participant

    Many thanks 🙂 That’s perfect.

    #143128

    You are welcome! If you have any questions please feel free to contact us.

    Best Regards

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

The topic ‘Remove prefooter from WC "order-pay" endpoint’ is closed to new replies.