Forum Replies Created
-
Hi Syahir
Thank you for your help – I have followed your instructions as I understand them but cannot seem to get the conditional css to have an effect. This is what I did…
1 – Created a folder called graphene_child in the themes folder
2 – Uploaded to that folder a file called functions.php file consisting of:
<?php
function graphene_ie_css(){ ?>
<!--[if lte IE 6]>
<link media="screen" type="text/css" href="<?php echo get_stylesheet_directory_uri(); ?>/ie6.css" id="graphene-stylesheet-ie6-css" rel="stylesheet">
<![endif]-->
<?php
}
add_action('wp_head', 'graphene_ie_css');
?>3 – Uploaded to the folder a css file called ie6.css and added some random css code as a test
The css had no effect in ie6 nor did the source code appear to have any record of my conditional tag being added.
Am I doing something wrong? …Probably!!
many thanks in advance for your help.
Kevin
Thanks for the response Syahir. I completely understand and agree with your point about old browsers and wish that IE6 users could somehow be forced to upgrade! but the fact remains that a significant minority will still not be able to view my site properly.
On non WordPress sites in the past I have used conditional comments for ie6. Can you give me a few pointers on how this could be integrated into the Graphene theme so that I could experiment with resolving the issue myself using css.
many thanks
Kevin
It’s ok, got it sorted, just had to delete the forward slash from my custom permalinks
K