Turning stylesheets on and off (4 posts)

  1. KarlB
    Posted 12 years ago #

    Hi there,
    I have been looking (with no success) for a code snippet that will allow me to have 2 links (view text version and view design version) so I can toggle between having my stylesheet turned on or off. So if the stylesheet is off I should be able to turn it back on again.
    I have seen the styleswitchers that obviously switch between sheets but no one to turn on or off.
    Any ideas?

  2. Mark (podz)
    Support Maven
    Posted 12 years ago #

    I would create a very basic stylesheet that will do for an 'off' setting.
    WP - CSS = ugly :)

  3. Root
    Posted 12 years ago #

    Well in the style load a blank page.

  4. skebrown
    Posted 12 years ago #

    Alex King has a nice plugin that you can use in this fasion.
    "WP Style Switcher"
    With this plugin, you could create the two styles that you want. Just experiment with it and you should be good to go.

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.