• I’ve found a new stylesheet method that works for me. I’m putting:

    <link rel="stylesheet" type="text/css" href="<?php get_stylesheet_directory_uri();?>/media-queries.css" media="screen" />

    under

    <link rel="stylesheet" type="text/css" media="all" href="<?php bloginfo( 'stylesheet_url' ); ?>" />

    in ‘header.php’ in my child theme.

    It’s working.

    I want to add the CSS3 responsive rules into my ‘media-queries.css’ so obviously they have to be for the WHOLE site. I know there’s ‘responsive’ for mobile plugins everywhere – but I want to get my hands on the rules themselves. Does the above code block look okay for a site-wide responsive css setup?

    Thank you.

    InFlight

Viewing 1 replies (of 1 total)
  • Thread Starter flight1307

    (@flight1307)

    Apologies but my previous post is incorrect. My new stylesheet does not work without ‘echo’ in the php block:

    <link rel="stylesheet" type="text/css" href="<?php echo get_stylesheet_directory_uri();?>/media-queries.css" media="screen" />

    works

    <link rel="stylesheet" type="text/css" href="<?php get_stylesheet_directory_uri();?>/media-queries.css" media="screen" />

    was wrong and does not work.

    My original question is the same. Is this okay for a site-wide responsive css setup? Thank you.

Viewing 1 replies (of 1 total)

The topic ‘This new stylesheet setup look okay?’ is closed to new replies.