WordPress.org

Ready to get started?Download WordPress

Forums

Style sheets loading twice and in the wrong order. (5 posts)

  1. susanstones
    Member
    Posted 2 years ago #

    I have a website with the e-commerce plugin. I have a couple of problems, one has occurred after upgrades to WP and plugins.

    Firstly it appears as though some of the stylesheets are being loaded twice, Although if I look at the generated page source I don't see them included twice.

    Secondly the wpsc stylesheets are added in the wrong order, with the default loaded after my theme stylesheet, and consequently overriding it.

    Where is the information about stylesheets stored? How do I fix up duplicates and wrong order. Thanks

  2. esmi
    Forum Moderator
    Posted 2 years ago #

    Have you tried:

    - deactivating all plugins to see if this resolves the problem. If this works, re-activate the plugins one by one until you find the problematic plugin(s).

    - switching to the Twenty Eleven theme to rule out any theme-specific problems.

  3. susanstones
    Member
    Posted 2 years ago #

    I had tried twitching themes. But not deactivating all plugins, thanks for the suggestion. I will try that now.

  4. susanstones
    Member
    Posted 2 years ago #

    Deactivating plugins seems to have solved the double loading of style sheets. But they are still loading in the right order. I still need to know where WP keeps a record of style sheets to load, because I can't locate the code which loads them.

  5. mtpultz
    Member
    Posted 2 years ago #

    did you ever figure out how to change the order in which the style sheets load? trying to load twitter bootstrap before styles.css of the theme so I don't have to use !important to override the defaults.

Topic Closed

This topic has been closed to new replies.

About this Topic