WordPress.org

Ready to get started?Download WordPress

Forums

Log on Problems (6 posts)

  1. Thassak1
    Member
    Posted 1 year ago #

    As soon as I log on to my website [Dietandfeelgreat.com] from Firefox my home page looks fine, but when I log on from the internet explorer it's totally different and messed up.

  2. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

    Try sorting out the markup errors. Then move onto the CSS errors.
    http://codex.wordpress.org/Validating_a_Website
    If you continue to have problems with IE, consider conditional comment CSS

  3. Thassak1
    Member
    Posted 1 year ago #

    Tell you the truth I went thru this "Conditional Comment CSS" I didn't understand anything!!!

  4. louis.brandon99
    Member
    Posted 1 year ago #

    Just refer the last para on the same page :

    Add the appropriate conditional comment to your theme’s header.php file immediately after the call to the theme’s default stylesheet.

    <link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
    <!--[if IE 7]>
    <link rel="stylesheet" href="<?php bloginfo('template_directory'); ?>/ie7.css" media="screen" type="text/css" />
    <![endif]-->
    Then upload your new IE-specific stylesheet (ie7.css in the example above) to your theme folder. You can now make changes to this new stylesheet and review the changes in IE without worrying about the impact on other browsers.

  5. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

    @Thassak1 -- don't even worry about Conditional CSS until you've fixed the errors on the page. Conditional CSS won't fix errors you probably won't even need it if the code is clean.

  6. jesikamros
    Member
    Posted 1 year ago #

    Its simple
    type this coding in end of your page

    <link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
    <!--[if IE 7]>
    <link rel="stylesheet" href="<?php bloginfo('template_directory'); ?>/ie7.css" media="screen" type="text/css" />
    <![endif]-->

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.