• Resolved ayosten

    (@ayosten)


    I am in the process of moving our website from blogger to WordPress. I am not familiar with PHP at all and I am trying to add a couple of navigation images to the header of our blog. I have not yet connected our domain, so here is our temporary link… http://0391991.netsolhost.com/WordPress/

    This is the code that I want to add, but it is not showing up when I add it to the custom-header.php file.

    <div id="flagMBS"><a href="http://www.modabakeshop.com" target="_blank"><img src="http://0391991.netsolhost.com/WordPress/wp-content/uploads/2014/01/BAKESHOP.png"></a></div>
    <div id="flagShop"><a href="http://storefront.unitednotions.com/storefrontCommerce/" target="_blank"><img src="http://0391991.netsolhost.com/WordPress/wp-content/uploads/2014/01/SHOP.png"></a></div>

    I also have the following CSS in the style.css file…

    #flagMBS {
    	height: 100px;
    	width: 100px;
    	float: left;
    	position: absolute;
    	margin: 0px 0 0 200px;
    }
    #flagShop {
    	height: 100px;
    	width: 118px;
    	float: left;
    	position: absolute;
    	margin: 0px 0 0 85px;
    }

    I was able to get the navigation images to show up using a sidebar Text/HTML Widget. see example: http://modafabrics.wordpress.com/
    The only problem with this is that if have a single column page layout, then the navigation flags disappear because there is no sidebar visible. I want to make these navigation flags show on the header file so they show up no matter what I make visible on the blog and sidebar.

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Quintus: custom-header.php adding Images’ is closed to new replies.