Quantcast
Channel: WordPress.org Forums » [WooCommerce] Support
Viewing all articles
Browse latest Browse all 104029

Werner on "[Plugin: WooCommerce - excelling eCommerce] Change CSS classes using Hooks or Filters"

$
0
0

I am adding Twitter Bootstrap to my custom WooCommerce theme, which raised a question.
Is it possible for me to change default classes like "button" (for buttons of course) into something else using Hooks or Filters? I will have to change all "button" classes to "btn" for the Twitter Bootstrap Buttons. Same goes for the Tabbar and some other things.

The only other solution I came up with is to override all the WooCommerce templates and change all classes manually. But of course this is not elegant and a pain with any upcoming updates.

I really hope someone can help me with this.

http://wordpress.org/extend/plugins/woocommerce/


Viewing all articles
Browse latest Browse all 104029

Trending Articles