• Hey, I’m running a modified version of the pixel theme on my site. It’s been pretty solid so far but now I want to make a few changes. The main change I want to make is the placement of a banner ad between my nav bar and my main post section and therein lays my problem. I’m not sure how.

    I’ve used fire bug to make some rudimentary change to the CSS but I don’t know much beyond that and some basic html. So can any one point me in the right direction with regards to adding a floating section for a wigget? All I really need is direction and Google to solve this problem.

    Thanks

    -Karl

Viewing 7 replies - 1 through 7 (of 7 total)
  • Heh, I couldn’t understand,what do you want to do.

    I want to make is the placement of a banner ad between my nav bar and my main post section

    Is this “Data-Cube” your ad banner ?
    Or you are talking about google ads or about something..?

    Thread Starter KarlR

    (@karlr)

    I’m talking about a Google add banner.

    You should add the code in the header if you want it between your nav bar.

    Thread Starter KarlR

    (@karlr)

    Alright, so I think I follow. I need to edit the code in the header.php file to included my banner code. Here is what I have so far. I pretty much justcopied what the other entries in that .php file
    looked like and threw my code it. It kind of works… The problem is that while the size and shape of the ad is displayed it doesn’t appear on my site.

    <div id=”BanAd”>
    <script type=”text/javascript”><!–google_ad_client = “pub-0162577004969841”;/* 728×90, created 11/26/09 */google_ad_slot = “2606563924”;google_ad_width = 728;google_ad_height = 90;//–>
    </script>
    <script type=”text/javascript”
    src=”http://pagead2.googlesyndication.com/pagead/show_ads.js”&gt;
    </script>
    </div><div class=”cleared”></div>

    you need to add some css properties to this in order to get it working.
    Im not sure what css properties have to be added.
    Maybe:

    div#BanAd a {
       display: block;
       height: 90px;
       width: 728px;
     }

    p.s try to add it in your style.css in the very end of code

    Im not sure, but give it a try.Im not very serious wp master, you can see it from my avatar ^^

    Thread Starter KarlR

    (@karlr)

    Awesome, I got it working! Nothing to it and now I think I have a greater understanding of wordpress, php and css. Rate4d thanks for the help.

    😉 You know, it’s great feeling then you can help someone, and the “thanks” you get is not just thanks, I can remember myself stuck with some code or smth.And I feel awesome after someone helps to solve that pain in the a.s.s I think other people feel it too.
    Anyway, help someone in order to thank me for the help.If we all did so, there would be less unsolved problems, and we mustn’t to pay money to some asshole $10 for several css lines.. 🙂

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Can anyone point me in the right direction?’ is closed to new replies.