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 product not responsive
- WooCommerce: How to edit the get_price_html
- Get woocommerce product price by id [closed]
- Woocommerce: How to remove page-title at the home/shop page but not category pages
- Hidden woocommerce products still showing up in search results [closed]
- Preventing WooCommerce email sending only on particular conditions
- Woocommerce view order link in customer emails
- Filter on a custom product attribute in WooCommerce using meta_query or tax_query [closed]
- Woocommerce : How to attach an custom attachment with customer-processing-order.php email template [closed]
- Is is safe to edit language files from wp-content/languages/plugins/woocommerce-ro_RO?
- Does the woocommerce_order_status_changed hook fire when WooCommerce updates an order status automatically? [closed]
- Separate Categories from WC Product loop when display type is set to both on the category
- Woocommerce order processing email subject not changing
- Different translations for the same plugin inside a multisite
- Woocommerce multiple taxes with same rates adds as different values.
- function to add note on single Woo Commerce product page for downloadable variations
- Apply Additional Discount after coupon
- Set specific number of columns for top level term on product category archives
- invalid menu item when upgrading to WordPress 5.5
- Register a new user on wooCommerce using Rest API
- How to be able to edit custom address fields in WooCommerce admin?
- Adding extra email address who receives email like admin – woocommerce
- Is it possible to merge Woocommerce attributes? [closed]
- How can i create a custom product search?
- *Woocommerce* Past Orders Disappeared after changing Stripe Account [closed]
- Need help in handling woocommerce api timeout issue [closed]
- create custom layout product list woocommerce [closed]
- Remove link from product attributes in tab “additional information” [closed]
- Merging updated dev site with live site while keeping orders correct
- Get decimal from product price with Mysql
- Woocommerce – Shop page repeat the products with filters
- Allow only 1 quantity of particular product in cart WooCommerce
- Hide price and add to cart button on product page only
- How to make a custom button that redirects to a “user specified link while entering product details” woocommerce
- Order woocommerce products alphabetically by second word in title?
- Apply a custom WooCommerce order status based on user role
- Woocommerce product name [closed]
- How do I make the product image smaller on a WooCommerce product page?
- Password protected selling / selling one product at the time
- SOLVED – add_action() for $product->get_date_created
- How to override WooCommerce template files
- Mirror Website Content Across Multiple Subdomains
- Archive Meta on Product Post Type
- Loading different header and footer in woocommerce templates (AMP)
- How to get WordPress to respond to a GET request at the end of a Woo product page
- WooCommerce – If shipping class hide field
- Why isn’t working WooCommerce session inside shortcode?
- Url parameter going to 404 not found
- Working with a json feed & trying to figure out how best to import
- Clickable product image with hover effect
- Updating WooCommerce product field when product author updates profile field
- WooCommerce Order page
- How to hook in to WooCommerce Related Products
- woocommerce – undelete posts
- Custom excerpt length WooCommerce product
- Woocommerce hidding pages
- how to get woocommerce product id by acf field in wordpress and display product
- WordPress Woocommerce – Checkout – Error 405: Unable to create order. Please try again [closed]
- Fastest way to create product variations in WooCommerce?
- Creating a shortcode with a variable (Woocommerce)?
- Woocommerce: Making email clickable [closed]
- Add field to category woocommerce page
- WordPress Pagination products with AJAX
- How to fetch More Offers products in WooCommerce?
- How do I use a combination of switch_to_blog() and wc_create_order()?
- Woocommerce template not working on newly added products
- Woocommerce ajax search can’t work on mobile
- Export Woocomerce Image Product URL
- Is it possible to extract all product columns except for one?