• Resolved KevEd

    (@keved)


    Hi, Long intro to basic question….
    I started ‘cleaning up’ the inconsistencies between the CSS layout in the ‘blog’ pages and the Magento pages – some elements were not aligning correctly and wrong fonts were being called on some parts of the blog page.
    I found some elements were using style.css from WP’s TwentyThirteen theme, but my main (magento) site used strictly Magento’s styles.css file. I renamed Twenty13’s css file to prevent the PHP files using it – all the style defaulted correctly to my Magento theme’s CSS. Things looked much better but it still wasn’t perfect.

    My question is: Is there one WP PHP file which specifies the path for the other files to find the CSS file? I’d like to ensure all WP references to a css file use my Magento styles.css file in the directory above WP.
    Which WP file do I edit? And do I need to use an absolute or relative path?

    http://wordpress.org/plugins/magento-wordpress-integration/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author jamesckemp

    (@jamesckemp)

    Hi KevEd,

    I found this question very confusing – I’m not 100% sure what you’re asking!

    Thread Starter KevEd

    (@keved)

    Hi James,
    I’m not very expert at tracking down which of WP’s php files dictate the path to the CSS file(s) it uses for a theme, I want to ensure that 2013 theme uses the custom Magento styles.css. Do I need to edit all mentions of css paths or is there one ‘master’ include file which points to the css file for theme to use?

    Plugin Author jamesckemp

    (@jamesckemp)

    Your CSS styles in WP will be loaded either in header.php or using a function in functions.php.

    However, this probably isn’t the right place to ask as it isn’t really relevant to MWI. You may get more help on the main support forum.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Managing WP/Magento CSS (style.css and styles.css)’ is closed to new replies.