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

XF 1.4 Add .jpg banner above top breadcrumb or somewhere else.

Discussion in 'Styling and Customization Questions' started by Arnuxx, Sep 11, 2014.

  1. Arnuxx

    Arnuxx Member

    Hi,
    I trying to add a .jpg banner ,but something isn't working.
    I'm completely blank in HTML,so..
    Here is what I'v done
    <xen:hook name="ad_above_top_breadcrumb" />
    <div style="float: center;"></div>
    <A HREF="Destination url"><IMG SRC="ads/image.gif" ALT="Home"></A>
    Where I should put banners in server? like /forum/ads/image.gif ?
    Can anyone please help me,detailed as possible?
    Thanks
     
  2. Mr. Goodie2Shoes

    Mr. Goodie2Shoes Well-Known Member

    it should be something like:
    HTML:
    <div style="display: block; margin: 0 auto; text-align: center;">
        <a href="{url}"><img src="ads/image.gif" alt="Home" /></a>
    </div>
    
    EDIT: And yes, if your forum is located in /forum then you should put the gif file in /forum/ads/image.gif
     
    Arnuxx likes this.
  3. Arnuxx

    Arnuxx Member

    Thank You very much.+++
     

Share This Page