Guest eiger Posted October 14, 2007 Share Posted October 14, 2007 Hello In version 4 how may I create a link back to main site (../) exiting the store dir/ by using the whole header or part of (logo only)? Thanks Quote Link to comment Share on other sites More sharing options...
Guest eiger Posted October 14, 2007 Share Posted October 14, 2007 You will need to code the header image directly into /styleTemplates/global/index.tpl and remove the referrence from the stylesheet. A good place to learn the basics of html is http://www.w3schools.com/html/default.asp It's got be another way something like adding below the div id "top header" <a href=" etc..> <H1 style="float:left; then give a height and width and 0 padding and 0 margin"></h1></a> as is it creates the href effect but block out the header section defined by height and witdh I tried playing with z-index but again it did not work which makes sense since it's a bg and not an img By the way I program in PHP and MySL but sometimes it takes a very long time to figure exactly what calls what it CC Quote Link to comment Share on other sites More sharing options...
Guest eiger Posted October 14, 2007 Share Posted October 14, 2007 in index.tpl (styleTemplates/global/) add below div header <div id="Header"> <span class="home"><a href="../index.html"><img src="images/logos/home.gif" border="0"></span></a> in layout.css(styleSheets/) add .home { margin-right:3em; } copy the header image crop a section accordingly to your needs add text in reversed upload done! it is kind of "crude and brutal" again I believe there is out a more "elegant" way of achieving that task but in the meanwhile it does the job! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.