I am using woocommerce plugin for wordpress to make an eCommerce website. It is working fine with little bit customization. As I have configured shop page as the default product page so that in that page every product can be seen and a user can buy product from that page. But now I want to use some highlights image for special discount on that item and I just placed all that item just over the products page by posting images in that page. But in order to style that images I used WordPress Page Specific CSS Plugin to write some custom css, but it is strange that in that particular page custom css is not working. Can somebody tell me why this is happening and how to solve this? Any help and suggestions are welcome :)
Tell me more
×
WordPress Answers is a question and answer site for
WordPress developers and administrators. It's 100% free, no registration required.
|
|
You can add this to your body tag of your current theme
Always work for me. |
|||
|
|
|
woocommerce has it's own css structure. If you want to style your woocommerce page you can define your custom.css by adding the woocommerce body class, such as for example: body.woocommerce img { border: 5px solid red; } then all images on your woocommerce page will have a red border. The woocommerce page has the body class woocommerce. |
|||
|
|