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

Placing ad inline with logo

Discussion in 'Styling and Customization Questions' started by Cam2, Oct 17, 2011.

  1. Cam2

    Cam2 Member

    I would like to place an ad image on the right side inline with the logo in the header. Any help would be appreciated. Thanks in advance.

  2. Brogan

    Brogan XenForo Moderator Staff Member

    Use the ad_header template.
  3. Cam2

    Cam2 Member

    Thanks Brogan, what code should I use to place it to the right and inline with the logo?

  4. Brogan

    Brogan XenForo Moderator Staff Member

    Wrap your ad code in a div using float:right.

    <div style="float: right">
    ad code here
    kkm323 likes this.
  5. Cam2

    Cam2 Member

    Thank you!

  6. Blue

    Blue Well-Known Member

    If you need to adjust the height something like this will work.

    <div style="float: right; position: relative; top: 35px;">
    Cam2 likes this.

Share This Page