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

I need some help with placing adtaily ads in the header template

Discussion in 'Styling and Customization Questions' started by jacko, Aug 9, 2011.

  1. jacko

    jacko Well-Known Member

    here is the code I got from AdTaily:

    Code:
     <script type="text/javascript" id="AdTaily_Widget" src="http://static.adtaily.pl/widget.js#VO7wHR1JWDaxlIk"></script>
          <noscript><a href="http://www.adtaily.pl">Efektywna reklama na forum sprzedawana za pomoc─ů AdTaily</a>(PLALLADTAILY0002)</noscript>
    
    currently I have it pasted in ad_above_top_breadcrumb but I would like to have it moved to the ad_header so it would appear right next to the logo. Unfortunately pasting this code in ad_header places the adtaily box above the logo. The result doesn't look pretty:
    Screen shot 2011-08-09 at 2.29.07 PM.jpg

    What should I do to have the adtaily box placed on the right side of the logo?
     

    Attached Files:

  2. Ingenious

    Ingenious Well-Known Member

    I'd suggest wrapping the script in a custom CSS div like this:

    Code:
    <div class="banneradvert"><your script></div>
    Then add some CSS to EXTRA.css to float this to the right and add some padding/margins if required for example:

    Code:
    .banneradvert {
    float: right;
    margin-right: 25px;
    margin-top: 37px;
    }
     

Share This Page