WordPress.org

Support

Support » Plugins and Hacks » PHP Browser Detection » [Resolved] Loading CSS W.R.T the browser

[Resolved] Loading CSS W.R.T the browser

Viewing 1 replies (of 1 total)
  • Plugin Author Mindshare Labs, Inc.

    @mindshare

    Sorry about the delay. Yes you can add CSS based on the detected browser.

    Try something like this in the header.php file of your theme, inside the HEAD tag:

    <?php
    if(is_firefox($version)) {
        echo '<link rel="stylesheet" href="browser-styles.css" />';
    };
    ?>
Viewing 1 replies (of 1 total)
  • The topic ‘[Resolved] Loading CSS W.R.T the browser’ is closed to new replies.
Skip to toolbar