How can I remove express checkout from Brooklyn consistently?

i have checked every thread here and tried all the methods.

https://community.shopify.com/c/blog/remove-the-express-checkout-buttons-from-first-checkout-page/ba-p/1200898

this method works sometimes in chrome but not in other browsers.

im loosing money cause of this can someone please help here?

.

Hello @kman ,

The same solution I applied last week for one of the client and it works well.

His requirement was the same: he needed to hide the express checkout button from the checkout page and I used the same tutorial.
Are you sure you are not missing any point?

hey thanks for the reply,

can you give me the link to his website?

Sorry no, I can’t post client websites publicly.

oh its okay.

the code looks very different from when it was posted maybe there are some updates i dont know where to insert it now.

.

ok i finally fixed it by mixing solutions from 2 different sources.

ad this code to cart.liquid file at the very top

+++++++++++++++++++++++++++++++++++++

.additional-checkout-buttons { display: none; }

{% if additional_checkout_buttons %}

{{ content_for_additional_checkout_buttons }}
{% endif %}

++++++++++++++++++++++++++++++++++++++++++++++++++++++++

ad this to theme.scss.liquid at the very bottom

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

.additional-checkout-buttons { display:none !important}

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++