1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Need Help with Affiliate Link

Discussion in 'Styling and Customization Questions' started by wickedstangs, Jun 11, 2012.

  1. wickedstangs

    wickedstangs Well-Known Member

    How can I place this code on a sidebar block?
    Code:
    <a href="<a rel="nofollow" target="_blank" href="http://www.americanmuscle.com">http://www.americanmuscle.com</a>" title="<a rel="nofollow" target="_blank" href="http://AmericanMuscle.com">AmericanMuscle.com</a>" style="color:#777;text-decoration:none;"> <img alt="Clubs of <a rel="nofollow" target="_blank" href="http://AmericanMuscle.com">AmericanMuscle.com</a>" src="http://clubs.americanmuscle.com/files/amclubs.png" width="150" height="72" style="border:0;"></a> 
     
  2. MagnusB

    MagnusB Well-Known Member

    You can use ad_sidebar_bottom or _top templates.
     
  3. wickedstangs

    wickedstangs Well-Known Member

    do I just put the code up in the same box?

    Example:
    Code:
    <xen:hook name="ad_sidebar_bottom" />
    <a href="<a rel="nofollow" target="_blank" href="http://www.americanmuscle.com">http://www.americanmuscle.com</a>" title="<a rel="nofollow" target="_blank" href="http://AmericanMuscle.com">AmericanMuscle.com</a>" style="color:#777;text-decoration:none;"> <img alt="Clubs of <a rel="nofollow" target="_blank" href="http://AmericanMuscle.com">AmericanMuscle.com</a>" src="http://clubs.americanmuscle.com/files/amclubs.png" width="150" height="72" style="border:0;"></a> 
     
  4. wickedstangs

    wickedstangs Well-Known Member

    Tried the above and it shows like this..
    error2.JPG
     
  5. Andy.N

    Andy.N Well-Known Member

    Your html code is badly formatted.
     
    Chimpie likes this.
  6. a legacy reborn

    a legacy reborn Well-Known Member

    It looks like the code is wrong. This should work if I understand what you are trying to do correctly.

    HTML:
    <a rel="nofollow" target="_blank" href="http://AmericanMuscle.com">AmericanMuscle.com</a><a rel="nofollow" target="_blank" href="http://AmericanMuscle.com"><img alt="Clubs of" src="http://clubs.americanmuscle.com/files/amclubs.png" width="150" height="72" style="border:0;"></a> 
     
    wickedstangs likes this.
  7. wickedstangs

    wickedstangs Well-Known Member

    Thank You is there a way to make the link below it or above it. Or just make the image linkable?

    error3.JPG
     
  8. a legacy reborn

    a legacy reborn Well-Known Member

    The image already already contains a link if that is what you mean. If you want to move the Text above or below then you just need to take


    HTML:
    <a rel="nofollow" target="_blank" href="http://AmericanMuscle.com">AmericanMuscle.com</a>
    and either place it before or after:
    HTML:
    <a rel="nofollow" target="_blank" href="http://AmericanMuscle.com"><img alt="Clubs of" src="http://clubs.americanmuscle.com/files/amclubs.png" width="150" height="72" style="border:0;"></a> 
     
    wickedstangs likes this.
  9. wickedstangs

    wickedstangs Well-Known Member

    Awesome thank you very much that worked perfect..
     
  10. a legacy reborn

    a legacy reborn Well-Known Member

    Glad I could help, even in the simplest of matters :).
     
    wickedstangs likes this.

Share This Page