• HI ,

    Please help .
    Situation :

    1) When you view my website in internet explorer ; the entire layout is so mess up

    2) when you view my website in google chrome ; the entire website looks ok .

    how do i adjust it to look not mess up in internet explorer ?? website url : https://www.advertisingmediaage.com

    3) There is a home tab button right at the left hand corner of my home page how do i remove it ? i tried to log into the dashboard to remove it but to no avail .

    Please advise thanks

Viewing 6 replies - 1 through 6 (of 6 total)
  • 1)
    IE is more sensitive to validation errors:
    https://validator.w3.org/check?uri=http%3A%2F%2Fwww.advertisingmediaage.com%2F&charset=%28detect+automatically%29&doctype=Inline&group=0

    https://codex.www.ads-software.com/Validating_a_Website

    3)
    edit header.php and try to find a section very similar to:

    <div class="span-18">
        			<div id="pagemenucontainer">
        				                        <ul id="pagemenu">
        						<li <?php .... ?>><a href="<?php ..... ?>">Home</a></li>
        				<?php ...... ?>		    					</ul>
                                			</div>
    	       	</div>

    and possibly delete it;
    if in doubt, please paste the full code of header.php into a https://pastebin.com/ and post the link to it here.

    Thread Starter corpus8

    (@corpus8)

    Hi Alchymyth ,

    Thanks so much for being so helpful ; this si the pastebin link : https://pastebin.com/Z1vsZbVp

    i saw the validation code and i have like 36 errors ; what do i do ? i dont understand some of the coding to change it .

    are you able to advise me ?
    thanks so much Mr helpful

    the pastebin contains the html from your linked page from the browser – i can get this myself.

    could you paste the code of header.php of your theme templates?

    validation is tedious, but is not really part of this forum; there are online tutorials available for html, and the validator gives some help as well.

    Thread Starter corpus8

    (@corpus8)

    https://pastebin.com/HW4mDH62

    – where do i add in the corrected HTMl code from the validation link you gave me into the wordpress dashboard ?

    3)
    to remove the ‘home’ link and any possible page menu in this location, delete line 68 to 71 of your pasted code:

    <ul id="pagemenu">
                                                    <li <?php if(is_home()) { ?> class="current_page_item" <?php } ?>><a href="<?php echo get_option('home'); ?>/">Home</a></li>
                                                    <?php wp_list_pages('depth=1&sort_column=menu_order&title_li=' ); ?>
                                            </ul>

    where do i add in the corrected HTMl code from the validation link you gave me into the wordpress dashboard

    the validator does not directly give you the code to fix the error, more like an indicaton where the error is.
    you need to find the corresponding template file of your theme, and make the edits there.
    this might help to figure out, how a theme is constructed out of individual templates: https://codex.www.ads-software.com/Theme_Development#Anatomy_of_a_Theme

    Thread Starter corpus8

    (@corpus8)

    thanks so much ;

    is there somewhere in the dashboard where i can cut and paste the entire source code which is corrected ? rather than by segment such as header , template , style

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Why does my website layout so different in internet explorer and google chrome’ is closed to new replies.