• Hi
    I’m having a problem trying to set-up an alternate css stylesheet.
    I’m adding the following code to the index.php file, since all the pages are created using it as a starting point. The problem is that I can select the alternate css (using firefox) and the current page is changes to the appropiate style, but as soon as I click on another page, it goes to the default style. It is not remembering my previous choice.
    First attempt:
    <style rel=”Default Style” type=”text/css” media=”screen”>
    @import url( <?php echo get_settings(‘siteurl’); ?>/wp-layout.css );
    </style>
    <style rel=”Alternative” type=”text/css” media=”screen”>
    @import url( <?php echo get_settings(‘siteurl’); ?>/alternative.css );
    </style>
    Seccond Attemp:
    <link rel=”Default Stylesheet” title=”Default” href=”
    <?php echo get_settings(‘siteurl’); ?>/wp-layout.css”>
    <link rel=”Alternate Stylesheet” title=”Alternate” href=”
    <?php echo get_settings(‘siteurl’); ?>/alternative.css”>
    Both didn’t work, I have read several documents postings about css, checked the file type that my apache server is sending the right type css/text, etc…, also files from w3c about this, and the seccond option is supposed to worked, but no solution yet.
    Thanks in advance for any advice.

Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Alternate CSS styles’ is closed to new replies.