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

XF 1.5 Styling Question Concerning Header

Discussion in 'Styling and Customization Questions' started by Jim Kingsnorth, Feb 18, 2016.

  1. Jim Kingsnorth

    Jim Kingsnorth Active Member

    I am now working on converting my old themes to XF. I have a few that have 3 images on the header. I have got two image headers down, but how do I do a 3 image. I will have the background image, the logo on the left and another image on the right.
     
  2. Brogan

    Brogan XenForo Moderator Staff Member

  3. Jim Kingsnorth

    Jim Kingsnorth Active Member

    Thanks, but that did not help. Too vague
     
  4. Jim Kingsnorth

    Jim Kingsnorth Active Member

    This is the code I have in the ad header template and it is not displaying.

    Code:
    <xen:hook name="ad_header" />
    <div style="float: right">
         url('styles/customstyle/logo_right.gif') no-repeat
    </div>
     
    Last edited: Feb 27, 2016
  5. Brogan

    Brogan XenForo Moderator Staff Member

    I don't see that code in the page source on the default style on your site.
     
  6. Jim Kingsnorth

    Jim Kingsnorth Active Member

    It is on the Silent Night theme. BTW, I am the copyright holder to that theme.
     
    Last edited: Feb 27, 2016
  7. Brogan

    Brogan XenForo Moderator Staff Member

    Your code isn't actually correct.
    What you've used is typically for setting a background image in CSS.

    You need to use img src to display an image using HTML.
    See here: http://www.w3schools.com/tags/tag_img.asp
     
    Jim Kingsnorth likes this.
  8. Jim Kingsnorth

    Jim Kingsnorth Active Member

    That fixed it! Thanks! Still finding my way through this software.
     

Share This Page