Support » Fixing WordPress » wp-layout.css and style-switcher

  • 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.

Viewing 3 replies - 1 through 3 (of 3 total)
  • 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.

    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.

    Mark (podz)


    Support Maven

    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';

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘wp-layout.css and style-switcher’ is closed to new replies.