Support » Plugin: WooCommerce » Certain woocommerce pages not matching woocommerce CSS rules

  • Hi,

    The add to cart buttons and sale buttons don’t display on certain pages. When I check in the inspector, there are no matched woocommerce CSS rules on those pages.

    However the HTML appears to be marked up correctly and the woocommerce.css file is loaded and is loaded after any other stylesheets. The shopping cart page (for example) does use rules from woocommerce.css.

    If I switch themes to, say, twenty-twelve, the sale and add to cart buttons appear.

    In the problem theme, the text links for add-to-cart work – they are just not styled as buttons.

    The test products are all simple and virtual.

    Here’s a link with no woocommerce CSS matched rules

    Here’s a link with woocommerce CSS matched rules

    I cannot see where the errors lies.

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

Viewing 5 replies - 1 through 5 (of 5 total)
  • I found a solution to this issue here

    I needed to add body_class to header.php. Details are in the above link.

    Anyone know how to edit the original post in a topic?

    esmi

    (@esmi)

    Forum Moderator

    You cannot edit a post after 1 hour.

    Hi Esmi,

    Would like to remove the links which will now be confusing to others reading the thread.

    esmi

    (@esmi)

    Forum Moderator

    It is not the general policy to edit or delete forum posts. When a post is made and people contribute answers to an issue, that then becomes part of the community resource for others to benefit from. Editing or deleting posts removes this added value. In extreme circumstances, the moderation team might be persuaded to remove sensitive information but. generally, your best course of action is not to publish anything that you wouldn’t want to be public.

    http://codex.wordpress.org/Forum_Welcome#Deleting_.2F_Editing_Posts

    I’m sorry but this is not an extreme case.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Certain woocommerce pages not matching woocommerce CSS rules’ is closed to new replies.