Home › Forums › Support › Adding a WooCommerce filter This topic has 3 replies, 3 voices, and was last updated 4 years, 1 month ago by Tom. Viewing 4 posts - 1 through 4 (of 4 total) Author Posts February 17, 2019 at 10:25 am #812937 Martin I wanted to remove the JCB and Diners Club cards from the WooCommerce checkout page: I found this snippet of code on the web, and modified it to match the HTML that Woo is currently using: https://silicondales.com/tutorials/woocommerce/remove-obscure-payment-logos-icons-woocommerce-stripe-gateway/ How do I properly configure a GeneratePress Element to make use of this? GeneratePress 2.2.2GP Premium 1.7.7 February 17, 2019 at 11:02 am #812972 DavidStaff Customer Support Hi there, you won’t be able to add that function using the Elements module. Either in you child theme functions.php or use Code snippets – more info here: https://docs.generatepress.com/article/adding-php/ Documentation: http://docs.generatepress.com/ Adding CSS: http://docs.generatepress.com/article/adding-css/ February 17, 2019 at 2:35 pm #813074 Martin Oh right, Code Snippets. I had that plugin and added it there, but it still didn’t work. I noticed that each card had it’s own class, so I just added this to the Additional CSS, which did work. .stripe-jcb-icon {display:none;} .stripe-diners-icon {display:none;} February 17, 2019 at 5:24 pm #813131 TomLead Developer Lead Developer Glad you found a solution! 🙂 Documentation: http://docs.generatepress.com/ Adding CSS: http://docs.generatepress.com/article/adding-css/ Ongoing Development: https://generatepress.com/ongoing-development Author Posts Viewing 4 posts - 1 through 4 (of 4 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In