Different syle.css for Home page
-
I’ve browsed every thread on this subject and keep coming up with the same solution. Use this in header.php:
<?php if( is_home() ) { ?> <link rel="stylesheet" type="text/css" media="all" href="<?php echo get_stylesheet_directory_uri(); ?>/style_Landing.css" /> <?php } ?>
Although the home (blog) page calls the secondary style.css, it does not conform to all the secondary css settings: i.e., the height of the header, padding, etc. The Home page still uses the settings of the primary style.css
Any suggestions??
- The topic ‘Different syle.css for Home page’ is closed to new replies.