WordPress.org

Ready to get started?Download WordPress

Forums

wp-layout.css and style-switcher (4 posts)

  1. danithew
    Member
    Posted 10 years ago #

    Once one has wp-style-switcher up and running, is it best to delete the wp-layout.css file from the root directory or leave it there? A few days ago I had deleted it but I saw on several different computers that I was getting a blog with no layout, logo, etc. When I hit CTRL-F5 my blog would show up with the normal layout and logo and everything was fine thereafter... but most people probably wouldn't try doing that. Also, I got some feedback from at least two people that CTRL-F5 wasn't fixing it for them (in which cases I told them to simply choose one of the style-switcher styles).
    I have re-added wp-layout.css to the root directory just now ... but I"m wondering if it will interfere at all with the style-switcher.

  2. danithew
    Member
    Posted 10 years ago #

    I might have figured out the problem. I went back and changed some of the code in the index.php that I had created. To check results, I got rid of all my internet explorer screens, then brought up a "clean" one without the web-site, deleted all cookies, and then typed in the url for my web-site. Everything showed up ok.
    Is that a good test of how things are working? Will that show me what other people who had never visited the site would see the first time around? If that is correct, then everything should be ok now.

  3. lawtai
    Member
    Posted 10 years ago #

    i'd say that'd work, if you goto a site such as yahoo, then delete all your cookies, then load up your site the first page you see showing up is the default style that everyone will see when they first reach your page.

  4. Mark (podz)
    Support Maven
    Posted 10 years ago #

    Check the actual plugin file.
    Just near the top:
    // change this to the name of default style you want to use
    $wp_style_default = 'put-style-sheet-name-here';

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.