Results 1 to 8 of 8
  1. #1
    Join Date
    Sep 2010
    Posts
    109
    Plugin Contributions
    0

    Default facebook link in header

    I want to put facebook link in header.

    www.otisweb.ro/souvenirs


    how to do that?

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: facebook link in header

    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

  3. #3
    Join Date
    Sep 2010
    Posts
    109
    Plugin Contributions
    0

    Default Re: facebook link in header

    Quote Originally Posted by kobra View Post
    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
    where whould I put the div>

    in stylesheet.css or stylesheet_tm.css

  4. #4
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: facebook link in header

    where whould I put the div>
    As you want this in the header you place it in the proper order in a copy for your template of

    tpl_header.php

    Code:
    <div id="your_name" class="if_needed">
    Zen-Venom Get Bitten

  5. #5
    Join Date
    Sep 2010
    Posts
    109
    Plugin Contributions
    0

    Default Re: facebook link in header

    I made right this and it's not working:

    include/templates/my_template/common/tpl_header.php:

    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>
    include/templates/my_templates/css/stylesheet_tm.css :

    Code:
    #header .facebook  {padding:10px 10px 10px 10px}
    and the "facebok.gif" I put in "include/templates/my_template/common/" .

    What should I modify?

  6. #6
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: facebook link in header

    Your src needs a path and you should place it in the /images of your template

    Code:
    <img src="includes/templates/my_template/images/facebook.gif"
    Possible full but you really did not need the class
    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

  7. #7
    Join Date
    Sep 2010
    Posts
    109
    Plugin Contributions
    0

    Default Re: facebook link in header

    I modified something and it's working, but it doesn't link me to the facebokok link:

    stylesheet_tm.css:

    Code:
    #header .facebook  {background:url(../images/facebook.png);margin:0px 0px 0px 90%;padding:0px 0px 0px 0px;width:30px;height:30px;}
    tpl_header.php:

    Code:
    <div id="header">
    <div class="facebook">
    <a href="http://ro-ro.facebook.com/pages/Romanian-Souvenirs/106103736098177?v=wall"></a>
    </div></div>
    everything it's ok it shows me the background picture in the header but the link it's not woring. why?

  8. #8
    Join Date
    Sep 2010
    Posts
    109
    Plugin Contributions
    0

    Default Re: facebook link in header

    problem solved, thank you very much!!!!

 

 

Similar Threads

  1. v151 Facebook Like Link
    By stitchnkitty in forum Basic Configuration
    Replies: 3
    Last Post: 5 Apr 2023, 07:59 PM
  2. v151 facebook link in header
    By stitchnkitty in forum Basic Configuration
    Replies: 9
    Last Post: 30 Jul 2014, 06:29 PM
  3. Add a Facebook link?
    By 96740 in forum All Other Contributions/Addons
    Replies: 23
    Last Post: 7 Oct 2011, 06:02 AM
  4. facebook link position
    By alexdog1805 in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 8 Feb 2011, 06:59 PM
  5. facebook link
    By alexdog1805 in forum Basic Configuration
    Replies: 8
    Last Post: 11 Jan 2011, 07:03 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg