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

XF 1.5 Header Adv messing up display

Discussion in 'Troubleshooting and Problems' started by Xyphien, Jul 6, 2016.

  1. Xyphien

    Xyphien Active Member

    upload_2016-7-6_12-25-30.png

    *Ignore OSRS*

    I'm using the code

    28. How do I place an image or advert in the header on the right?
    Use the ad_header template and wrap the contents in a div like so:
    Code:
    <div style="float: right">
    Image or advert code
    </div>

    for the first image and:

    29. How do I place an image or advert in the header on the right and center it vertically?
    Use the ad_header template and wrap the contents in a div like so:
    Code:
    <div style="display: block; float: right; line-height: {xen:calc '@headerLogoHeight - 4'}px; *line-height: @headerLogoHeight; height: @headerLogoHeight; vertical-align: middle">
    Image or advert code
    </div>

    for the second image *Listed below*

    How do I get it to simply appear next to the logo without it doing all of this weird stuff?



    upload_2016-7-6_12-27-17.png
     
  2. Mike

    Mike XenForo Developer Staff Member

    Your logo HTML has been customized and is behaving differently (it's not floating, for example), so that changes the interaction with the instructions mentioned.
     

Share This Page