• Resolved Luke Breen

    (@origami-penguin)


    I’m currently trying to build a site using the WooCommerce plugin. I have created a custom theme and I have began to implement a range of different widgetized sidebars for each page.

    The Problem is that the WooCommerce drop down Cart plugin is appearing with no styling. This made me realize that the CSS for other plugins isn’t working.

    My main theme style sheet is working, do I need to link to additional style sheets in my header.php? at the moment this is the only style sheet call I have. I’m new to php so I don’t really know what this does…

    <link href="<?php bloginfo('stylesheet_url'); ?>" rel="stylesheet" type="text/css" />

Viewing 1 replies (of 1 total)
  • Thread Starter Luke Breen

    (@origami-penguin)

    I solved this issue myself:

    This is by far the most common problem people tend to run into, and it’s usually caused by their WordPress theme. Check your theme’s header.php file for <?php wp_head(); ?> within the <head> and </head> tags. In your theme’s footer.php file, check for <?php wp_footer(); ?> just before the <body>. If it is not there, then the plugin is unable to hook the stylesheet into your document, thus making it impossible to display the icons.

    You might also check your theme’s stylesheet for anything that ends with “!important;” as that has the potential to override any styles that are applied elsewhere.

    Lastly, if this isn’t your first time installing the plugin (ie. you’re upgrading to a newer version) there may have been changes made to filenames or file locations in the plugin folder. This can potentially cause problems if you have a caching plugin activated. Try clearing the cache in your caching plugin and clear your browser’s cache as well, then refresh to see if that fixed the problem. Also, try to re-save your settings. This will refresh the icon and css files from our server.

Viewing 1 replies (of 1 total)
  • The topic ‘WooCommerce dropdown cart plugin apears with no style’ is closed to new replies.