Support » Plugins and Hacks » [Resolved] Woocommerce 2.0.1 default style?

[Resolved] Woocommerce 2.0.1 default style?

Viewing 15 replies - 1 through 15 (of 15 total)
  • If I open the woocommerce.css in VI (linux) I get:

    “woocommerce.css” [Incomplete last line] 1 line, 70891 characters

    The file has no EOL, looks like:

    .clear{clear:both}.nobr{white-space:nowrap}.woocommerce-message,.woocommerce-error,.woocommerce-info{padding:1em 1em 1em 3.5em;margin:0 0 2em;position:relative;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;background:#fcfbfc;background:-webkit-gradient(linear,left top,left bottom,from(#fcfbfc),to(#f7f6f7));background:-webkit-linear-gradient(#fcfbfc,#f7f6f7);background:-moz-linear-gradient(center top,#fcfbfc 0,#f7f6f7 100%);background:-moz-gradient(center top,#fcfbfc 0,#f7f6f7 100%)

    All the way till the end.

    looks like it has no proper formatting

    This is a minified css file.

    I see, thanks!
    but I don’t understand why the CSS style is not added to the page then.

    Check this:

    there’s no proper style, and ‘class=”products”‘ is not matching what’s in the CSS.

    I’m missing something…

    I see it’s something to do with the theme, because on Twentytwelve the CSS works fine.

    How can I troubleshoot this?


    Do you have a woocommerce.php in your theme directory?


    If you have this:

    <?php woocommerce_content(); ?>

    make it the following:

    <div class="woocommerce">
    <?php woocommerce_content(); ?>

    This solved it for me.

    Thanks leviwest.. this solved my issue too 🙂


    Thanks liviwest, it solved my issue as well!

    I think the documentation should be updated at:


    Thanks guys – this also resolved my issue.


    I’ve been looking for days to fix this shop and product page issue.
    To find out that using this? Fixed it, blows my mind.

    <div class=”woocommerce”>
    <?php woocommerce_content(); ?>

    Hi guys, Ive done what it suggests here but when i refresh the changes my pages goes blank. What are your thoughts?

    If your page goes all white, most of the time that’s a php error. plugins can cause that too. But if you are saying that your content area is blank..(no cart info) make sure you have your normal page elements in there that pertain to your theme. You have to keep the normal frame work of your themes page.php… then between your content divs that hold the main content put that code below.

    <div class=”woocommerce”>
    <?php woocommerce_content(); ?>

    I tried the fix liviwest suggested but I still can’t get my page to work. I am thinking that my problem is with the formatting of the php code. This what I have in my woocommerce.php file. I am using u-design v2.00

    <div id=”content-container” class=”container_24″>
    <div id=”main-content” class=”<?php echo $content_position; ?>”>
    <div class=”main-content-padding”>
    <?php do_action(‘udesign_above_page_content’); ?>
    <div class=”woocommerce”>
    <?php woocommerce_content(); ?>
    <div class=”clear”></div>
    <?php edit_post_link(esc_html__(‘Edit this entry.’, ‘udesign’), ‘<p class=”editLink”>’, ‘</p>’); ?>
    </div><!– end main-content-padding –>
    </div><!– end main-content –>

    <?php get_sidebar(); ?>
    </div><!– end content-container –>

    <div class=”clear”></div>


    Here is my page

    Thank you leviwest, your suggestion solved my issue.

    Hi, everyone

    Here is my website http://imway.pusku.com/shop/. For some reasones Woocommerce disable my default css style. How can I fix that. I’m using version 2.0.19. Any help will be apriciated.

Viewing 15 replies - 1 through 15 (of 15 total)
  • The topic ‘[Resolved] Woocommerce 2.0.1 default style?’ is closed to new replies.