• Im using a 720×90 leaderboard ad.

    my site is https://www.passiveguide.com

    I really would like to put my code in, but ive been having problems finding where to insert it. Firstly, i would like to get rid of that RSS feed icon in the header, (i can do this via css), but i want to add this adsense banner so that it would seamlessly fit in to the right side of the header, I need to have room to insert my Logo into the header for later.

    can anyone help/point me in the right direction?

Viewing 9 replies - 1 through 9 (of 9 total)
  • Thread Starter nld2756

    (@nld2756)

    bump

    Thread Starter nld2756

    (@nld2756)

    bump

    stop bumping, youre breaking the forum rules. your site has NO content, so your apparent impatience is unwarranted, to boot.

    the rss image is in your theme’s header file. edit it and remove it.

    Thread Starter nld2756

    (@nld2756)

    refrain from getting offensive. I just would like to know how to do this.. if someone would answer, then i would obviously quit bumping..

    and like i stated, i know how to get rid of the feed.

    have a great day ??

    I didnt miss the post before you edited it, for the record.

    and like i stated, i know how to get rid of the feed.

    assuming you mean the image.. I provided you one solution, hiding it with CSS isnt the best answer.

    Open style.css in your theme and find the following:

    #header {
    	width: 960px;
    	height: 100px;
    	background-image: url(images/header-bg.gif);
    	background-repeat: no-repeat;
    	background-position: center top;
    	margin-top: 0px;
    	margin-right: auto;
    	margin-bottom: 0px;
    	margin-left: auto;
    	padding-top: 0px;
    	padding-right: 10px;
    	padding-bottom: 0px;
    	padding-left: 10px;
    }

    Make the following changes:

    #header {
    	width: 960px;
    	height: 100px;
    	background-image: url(https://your_ad_url_here);
    	background-repeat: no-repeat;
    	background-position: center top;
    	margin-top: 0px;
    	margin-right: 25px;
    	margin-bottom: 0px;
    	margin-left: auto;
    	padding-top: 0px;
    	padding-right: 10px;
    	padding-bottom: 0px;
    	padding-left: 10px;
    }

    Then find the following a little further down:

    .headerright {
    background:#000000 url(images/feed.png) repeat scroll 0 0;
    float:right;
    height:100px;
    width:84px;
    }

    and add one line so it looks like this:

    .headerright {
    background:#000000 url(images/feed.png) repeat scroll 0 0;
    float:right;
    height:100px;
    width:84px;
    display:none;
    }

    This should get you started…you can adjust some of the margin settings in the heading code to adjust the alignment.

    Thread Starter nld2756

    (@nld2756)

    @whooami: the only thing i edited was the “have a nice day”, also, thank you for your advice.

    @figaro, thank you very much for your help. there are a few problems with that method though, one, it eliminates the header, and 2, adsense is not a picture, it is a script

    <script type=”text/javascript”><!–
    google_ad_client = “pub-8798923392924306”;
    /* top banner */
    google_ad_slot = “8604186364”;
    google_ad_width = 728;
    google_ad_height = 90;
    //–>
    </script>
    <script type=”text/javascript”
    src=”https://pagead2.googlesyndication.com/pagead/show_ads.js”&gt;
    </script>

    Well, I don’t know anything about adsense…I just googled leaderboard ad and found this example:

    https://www.mlive.com/mediakit/ad_gallery/leaderboards/hc-audi_728x90_20060830.gif

    That’s what I used for my advice. Maybe someone else can help.

    Thread Starter nld2756

    (@nld2756)

    Alright, I have it horizontally aligned how i like it,

    .headerright {
    	background: #000000
    	width: 84px;
    	height: 500px;
    	float: right;

    i would now like to center it between the top, and bottom of the header, and im pretty bad at css, how do i do this?

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘I cant fit in my Adsense properly’ is closed to new replies.