Quintus: custom-header.php adding Images
-
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… https://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="https://www.modabakeshop.com" target="_blank"><img src="https://0391991.netsolhost.com/WordPress/wp-content/uploads/2014/01/BAKESHOP.png"></a></div> <div id="flagShop"><a href="https://storefront.unitednotions.com/storefrontCommerce/" target="_blank"><img src="https://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: https://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.
- The topic ‘Quintus: custom-header.php adding Images’ is closed to new replies.