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

include image across the top of every page

Discussion in 'Styling and Customization Questions' started by Neil E., Dec 11, 2012.

  1. Neil E.

    Neil E. Active Member

    I'm looking to add a graphic across the top of every page. It would sit immediately below the moderator bar (above everything else when the moderator bar is not present). I've experimented with the PAGE_CONTAINER template without success. I tried to insert the image directly at the beginning of headerProxy.

    I also tried to include a new template "forum_image_top", but the location is never correct. Here is the content:

    The image shows up fine, it's the location that's the problem.
  2. Brandon Sheley

    Brandon Sheley Well-Known Member

    There are ad_ location templates, I'd use those.

  3. Neil E.

    Neil E. Active Member

    Good suggestion, but I'm already using that template for rotating banner ads. I tried to include this new image in that template, however it wouldn't locate properly. I figured a new location prior to the header would be better.
  4. Neil E.

    Neil E. Active Member

    I can put <xen:include template="forum_image_top" /> in the logo_block template and get the location OK, but then the top breadbox is pushed down behind the navbar. (Or this could be from the mainContainer/mainContent moving up).
  5. Neil E.

    Neil E. Active Member

    I can sort of fix things with some CSS.

    This pushes the content down the same amount as the added image height pushed the breadbox. I'm just not sure it's the best way of handling the problem and it only works on the forum index at this point. http://www.odsc.on.ca/.xenforo/index.php
  6. Neil E.

    Neil E. Active Member

    This works:

    header template

Share This Page