I want to put facebook link in header.
www.otisweb.ro/souvenirs
how to do that?
I want to put facebook link in header.
www.otisweb.ro/souvenirs
how to do that?
I would add the code in a new named div to a copy for your template of the tpl_header.php file
You can then style/position it in the stylesheet
Zen-Venom Get Bitten
As you want this in the header you place it in the proper order in a copy for your template ofwhere whould I put the div>
tpl_header.php
Code:<div id="your_name" class="if_needed">
Zen-Venom Get Bitten
I made right this and it's not working:
include/templates/my_template/common/tpl_header.php:
include/templates/my_templates/css/stylesheet_tm.css :Code:<div id="header"><div class="facebook"><a href="http://ro-ro.facebook.com/pages/Romanian-Souvenirs/106103736098177?v=wall"><img src="facebook.gif"></a></div></div>
and the "facebok.gif" I put in "include/templates/my_template/common/" .Code:#header .facebook {padding:10px 10px 10px 10px}
What should I modify?
Your src needs a path and you should place it in the /images of your template
Possible full but you really did not need the classCode:<img src="includes/templates/my_template/images/facebook.gif"
Code:<div id="header" class="facebook"><a href="http://ro-ro.facebook.com/pages/Romanian-Souvenirs/106103736098177?v=wall"><img src="includes/templates/my_template/images/facebook.gif"></a></div>
Zen-Venom Get Bitten
I modified something and it's working, but it doesn't link me to the facebokok link:
stylesheet_tm.css:
tpl_header.php:Code:#header .facebook {background:url(../images/facebook.png);margin:0px 0px 0px 90%;padding:0px 0px 0px 0px;width:30px;height:30px;}
everything it's ok it shows me the background picture in the header but the link it's not woring. why?Code:<div id="header"> <div class="facebook"> <a href="http://ro-ro.facebook.com/pages/Romanian-Souvenirs/106103736098177?v=wall"></a> </div></div>
problem solved, thank you very much!!!!