You can add your own css based on the classes created by WooCommerce.
If you are working in a (child)theme, you can add a stylesheet by adding this code in functions.php:
/**
* Enqueue your own stylesheet
*/
function custom_wp_enqueue_woocommerce_style(){
wp_register_style( 'mytheme-woocommerce', get_template_directory_uri() . '/css/woocommerce.css' );
if ( class_exists( 'woocommerce' ) ) {
wp_enqueue_style( 'mytheme-woocommerce' );
}
}
add_action( 'wp_enqueue_scripts', 'custom_wp_enqueue_woocommerce_style' );
Create a ‘woocommerce.css’ file in the folder /css/ in your (child)theme and write your css in that file.
Related Posts:
- Hide Add to Cart Button
- Woocommerce checkout fields on the same line
- WooCommerce: The model of e-mail is displaying only the html, not css [closed]
- Update html tag class values based on Woocommerce product attribute dropdown selection [closed]
- WooCommerce Country Drop Down colours CSS [closed]
- show content of a page built using yootheme builder on different page/template
- WordPress Twenty Seventeen header image size not responsive for mobile
- Checkout form looks terrible [closed]
- Trying to style Woocommerce sidebar Cart Widget [closed]
- How to Remove Active css from woocommerce variation?
- Online wc-blocks-style.css rendering instead of the hosted wc-blocks-style.css
- Can’t hide product attributes with css on WooCommerce Product Page
- How to hide “Shipping” label from Woocommerce cart page
- How can I make a thumbnail slider
- How to hide a random text with a div tag using a class on product pages with a specific tag
- Two Filter Issue [closed]
- How to edit wc_get_template_part for archive products
- How to make wocommerce shop products same heigt
- Woocommerce doesn’t work with theme, header missing and css messed up
- Apply CSS to certain product thumbnails only
- How to display 2 products per row for Mobile using WooCommerce?
- How do I make my products on the homepage responsive?
- Photo cover in WooCommerce
- Pseudo class :before don’t working in a specific button
- WooCommerce Storefront site-header padding
- Website Tablet Check Out Field Issue
- Trying to link to a custom css file in a new folder
- How do I make a diagonal strikethrough on wordpress? [closed]
- How to add my theme’s style to woocommerce blocks?
- CSS url rules not relative to css path in account endpoint areas. IE. subscriptions
- WooCommerce: I Need to hide my page title/header (including menu) from all the WooCommerce related product pages, such as category and keyword pages
- WooCommerce: Can’t use wc_get_products for custom REST API endpoints
- How to disable Woocommerce password recovery and use the default WordPress password reset page?
- Display WooCommerce size product attribute on shop page
- WooCommerce add_to_cart() with custom price [closed]
- Declaring custom woocommerce product type as virtual / downloadable only [closed]
- How to remove_action inside class [duplicate]
- Redirect if current user is logged out and current page is /my-account
- Display a list subcategories under the main product category thumbnails?
- Unable to programmatically remove product from WooCommerce cart
- WooCommerce Apply Coupon to order AFTER taxes
- Rewriting Woocommerce Product Filters To URL Segments
- How to Change WooCommerce Variable product pricing by SKU or visible children id
- Is it possible to cache ?wc-ajax=get_variation
- echo product id and product_item_key in cart [closed]
- Redirect the single product page link to the shop page
- Is WooCommerce updates for WordPress necessary? [closed]
- How can I display *only* the child category of a product?
- Display list of categories that contain products with a specific tag
- How to display empty stars on products with woocommerce?
- WooCommerce limited role
- Skip WooCommerce 4.5.x onboarding with WP-CLI [closed]
- Automatically making a newly saved payment method default in WooCommerce
- WooCommerce update_shipping_method ajax call wipes shipping method set on non-checkout page [closed]
- Product options/variations notice displays as an Alert [closed]
- Product variation attributes does not appear as it should in the cart – woocommerce [closed]
- Hide decimal on hompage, category and product page
- Shipping methods in dropdown instead of radio buttons [closed]
- 600k of option_name “c_facebook_background_product_sync_job”
- How to set the meta description of a WooCommerce product as its primary category description?
- How to change woocommerce checkout privacy policy, terms and condition text [closed]
- Woocommerce Email show HTML source code [closed]
- add to cart button not adding products in cart only in safari and edge browser [closed]
- WC Lightbox, Zoom and Slider not loading [closed]
- Woocomerce pulling wrong time from server -5 hrs difference
- How to use Custom Field to display product brief description in shop page with Woocommerce?
- What happens in the database when you link variations in woocommerce? [closed]
- Display custom product option in admin order details
- remove sale price after finished countdown in woocommerce
- Woocommerce. How can I charge a fee from seller
- How to update permalink programmatically?
- How to use decimal in quantity fields in WooCommerce for certain categories?
- Display shipping class in single product page woocommerce
- Is it ok to 301 redirect product-category pages to custom pages?
- how i can limit woo Category number like as ‘posts_per_page’ => -1, but it cannot work please help me
- Update a list of product to featured if product have meta value (Mysql not wpquery)
- Woocommerce – Add custom email footer to specific email template
- WooCommerce related product – only show from primary category
- Woocommerce: Variable Product – get variation name
- Forgot password flow does not work, getting email with a link but after clicking link it’s not working
- Html code is not showing in woocommerce shop page on adding in header.php?
- WordPress Migration
- some products free and some product is not free for shipping
- Importing Attributes in to Woocommerce
- woocomerce products and categories don’t display fixed
- Save Woocomerce discount as percentage to database
- Woocommerce Shipping based on condition and cart value
- Update order status based on condition
- How to bypass Woocommerce checkout validation from the plugin? [closed]
- Category with description and thumbnail
- Woocommerce – Remove ‘Buy Product’ Button + Make Product Thumbnails Clickable
- Issue with Woocommerce and extra field in orders data
- Give auto discount to upsells products
- WooCommerce Table Rates not splitting up
- How can I let the user choose size of a shoe in the store? [closed]
- Hide/show specific products for backend users in woocommerce
- I’d like to add a button under the “Add to Cart” button which says “Buy on Amazon” and links to my Amazon product page [closed]
- Trying to disable all notifications except for one on woocommerce checkout page with css [closed]
- Woocommerce checkout column total too small can not get it wider [closed]
- Woocommerce permalink URL change in DB