by CDawson Banned
8 replies
  • SEO
  • |
Hi,

I recently got a nice template for blogger where the guy had his codes on there and I converted my my adense code into the right format using a converter and I put it exactly where it was on the template but when i view the blog it says that the page cannot be found, is this normal when posting new adsense codes or should it automatically come up?
#adsense #blogger
  • Profile picture of the author captivereef
    with the new code it can take up to 20 minutes
    {{ DiscussionBoard.errors[147572].message }}
    • Profile picture of the author CDawson
      Banned
      can anyone tell me how to change out the ad in my blog its the ad on the header next to the blog title to the right

      here is my blog:

      Free Online Recipes

      any help would be appreciated I can't sem to find this in the html coding and could someone tell me how to post image ads for adsense I try putting ads with image only but they always turn out to be text ads :/
      {{ DiscussionBoard.errors[148478].message }}
  • Profile picture of the author captivereef
    This is the ad code, it is near the bottom of the source code. There maybe o image ads available in your niche. Maybe try a CPS or affiliate offer? Those normally have image ads.

    <script type="text/javascript"><!--
    google_ad_client = "pub-1848659279093996";
    google_ad_host = "pub-1599271086004685";
    /* 468x60, created 10/2/08 */
    google_ad_slot = "0545131433";
    google_ad_width = 468;
    google_ad_height = 60;
    //-->
    </script>
    <script type="text/javascript"
    src="http://pagead2.googlesyndication.com/pagead/show_ads.js">

    </script>
    {{ DiscussionBoard.errors[148714].message }}
  • Profile picture of the author CDawson
    Banned
    That code is for the adsense code that was on top of the posts, im talking about the mastermind image ad at the very top right corner I can't find that code.
    {{ DiscussionBoard.errors[148993].message }}
  • Profile picture of the author sridhar
    In your template, do a search for 'maste', locate the following and modify/delete the following:

    Code:
    <div id='banner-head'>
    <a href='http://www.blogmastermind.com/affiliates/index.php?af=782784'><img alt='Click here to get The Blog Profits Blueprint' border='0' height='60' src='http://www.blogmastermind.com/images/468x60blog-profits-blueprint.gif' width='468'/></a>
    </div>
    {{ DiscussionBoard.errors[149010].message }}
    • Profile picture of the author CDawson
      Banned
      i must be a newbie cause I can't find it here the whole html code for it


      <?xml version="1.0" encoding="UTF-8" ?>
      <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//ES" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
      <html xmlns='http://www.w3.org/1999/xhtml' xmlns:b='http://www.google.com/2005/gml/b' xmlns:data='http://www.google.com/2005/gml/data' xmlns:expr='http://www.google.com/2005/gml/expr'>
      <head>
      <b:include data='blog' name='all-head-content'/>
      <title><data:blog.pageTitle/></title>
      <b:skin><![CDATA[/*
      /* **************************
      Name: PassionDuo Green Blogger Template
      Designed by: Daily Blog Tips
      URL: Daily Blog Tips
      Converted into Blogger by: eBlog Templates
      URL: Free Blogger Templates & Premium WordPress Themes | eBlog Templates
      Per the Creative Commons Atribution License, please do not remove the footer credits.
      ***************************** */
      /* Variables
      ====================
      <Variable name="bgcolor" description="Page Background Color" type="color" default="#F5F5F5" value="#F5F5F5">
      <Variable name="bgcolorwrapperborder" description="Page Elements Border Color" type="color" default="#ECECEC" value="#ECECEC">
      <Variable name="bgcolorelements" description="Page Elements Background Color" type="color" default="#FFFFFF" value="#FFFFFF">
      <Variable name="bgcolorhead" description="Header Background Color" type="color" default="#FFFFFF" value="#FFFFFF">
      <Variable name="titlecolor" description="Blog Title Color" type="color" default="#469402" value="#469402">
      <Variable name="desccolor" description="Blog Description Color" type="color" default="#394B17" value="#394B17">
      <Variable name="blogtitlefont" description="Blog Title Font" type="font" default="normal normal 300% Arial, Helvetica, sans-serif" value="normal normal 300% Arial, Helvetica, sans-serif">
      <Variable name="descriptionfont" description="Blog Description Font" type="font" default="normal normal 110% Arial, Helvetica, sans-serif" value="normal normal 110% Arial, Helvetica, sans-serif">
      <Variable name="titlelinkcolor" description="Entry Title Color" type="color" default="#F86515" value="#F86515">
      <Variable name="postmetacolor" description="Post Meta Color" type="color" default="#666666" value="#666666">
      <Variable name="postmetahovercolor" description="Post Meta Hover Color" type="color" default="#667B04" value="#667B04">
      <Variable name="linkhovercolor" description="Link Hover Color" type="color" default="#E35406" value="#E35406">
      <Variable name="linkcolor" description="Link Color" type="color" default="#667B04" value="#667B04">
      <Variable name="bodytextcolor" description="Body Text Color" type="color" default="#000" value="#000000">
      <Variable name="sidebartitlecolor" description="Sidebar Header Underline Color" type="color" default="#667F00" value="#667F00">
      <Variable name="sidebarlinkcolor" description="Sidebar Link Color" type="color" default="#17394B" value="#17394B">
      */

      #navbar-iframe {
      height:0px;
      visibility:hidden;
      display:none
      }
      body{color:$bodytextcolor; font-size:13px; font-family:Verdana,Arial,Helvetica,sans-serif; margin:0px auto; background:url(http://s254.photobucket.com/albums/h...en/pattern.gif); background-attachment:fixed}
      html>body #body-container{overflow:auto}
      * html #content{margin:5px 0 8px 2px}
      a, a:visited{color:$linkcolor; text-decoration:underline}
      a:hover{text-decoration:none; color:$linkhovercolor}
      img{border:0}
      .top{margin:0px auto -3px; width:980px}
      .bottom{margin:0px auto; padding-top:30px; width:980px; background:$bgcolor url(http://s254.photobucket.com/albums/h...een/bottom.gif) center bottom no-repeat; height:30px; color:$sidebarlinkcolor; font-size:13px; text-align:center}
      #outer-wrapper{width:980px; margin:0px auto; padding:0; background:$bgcolor}
      #header-inner{padding:0px; margin:0px; height:70px; float:left; background-color:$bgcolorhead}
      #header-inner .headline{margin:0px; width:502px; height:70px; float:left}
      #blogdesc{color:$desccolor; margin:0px 0px 0px 17px; font:$descriptionfont; letter-spacing:-1px; text-align:left; width:485px}
      #blogtitle{line-height:50px; letter-spacing:-1px; margin:0px 0px 0px 17px; font:$blogtitlefont; padding:0px; width:485px; float:left}
      #blogtitle a{border-bottom:none; color:$titlecolor; text-decoration:none}
      #blogtitle a:hover{border-bottom:1px solid $titlecolor; color:$titlecolor}
      #banner-head{height:70px; background-color:$bgcolorhead}
      #header-wrapper{}
      #blog-pager-newer-link{float:left}
      #blog-pager-older-link{float:right}
      #blog-pager{padding:0px 15px 0px; text-align:center}
      .blog-pager a{color:$linkcolor}
      .blog-pager a:hover{color:$linkhovercolor}
      .feed-links a{color:$linkcolor}
      .feed-links a:hover{color:$linkhovercolor}
      #backlinks-container{color:#000; list-style-type:none; margin:1.5em 0pt 0pt; padding:0pt}
      /*-- (Menu/Nav) --*/
      *html .TopMenu{margin:0 0 0 1px}
      .TopMenu{margin:0px 3px 0px 3px; padding:0; height:33px; float:left; width:974px; border-bottom:2px solid #89B500; border-top:2px solid #496322; background:url(http://s254.photobucket.com/albums/h...n/link_pat.jpg) left top repeat-x}
      .TopMenu ul{float:left; padding:0px; margin:0px; height:33px; display:inline}
      .TopMenu li{padding:0px 1px 0px 0px; margin:0px; list-style-type:none; display:inline; font-size:16px; text-transform:capitalize; float:left; background:url(http://s254.photobucket.com/albums/h...link_split.jpg) right top no-repeat}
      .TopMenu li a{color:white; line-height:33px; padding:7px 20px 8px 20px; text-decoration:none}
      .TopMenu li a:visited{color:white; text-decoration:none}
      .TopMenu li a:hover{color:white; background:url(http://s254.photobucket.com/albums/h...link_hover.jpg) left top repeat-x; text-decoration:none}
      .rss{float:right}
      /*-- (Search) --*/
      #search{background:#F7F7F7; border:1px solid #b3b3b3; float:right; height:25px; margin:0 15px 0 0; width:280px}
      * html #search{margin-right:8px}
      #search input{font-family:Verdana,Arial,Helvetica,sans-serif; background:transparent; border:0; color:#000; float:left; font-size:13px; margin:4px 0 0; padding:0px 2px 2px 10px; width:288px}
      .contentwrapper{margin:0px auto; padding:0pt}
      #content{float:left; margin:5px 0pt 0px 3px; padding:0px; width:610px}
      /*-- (Post) --*/
      .entrytitle h2{color:$titlelinkcolor; font-size:21px; font-weight:normal; margin:0pt 0pt 5px; padding:0pt}
      .entrytitle h2 a{color:$titlelinkcolor; text-decoration:none}
      .entrytitle h2 a:hover{color:$linkhovercolor; text-decoration:none}
      .entrytitle .meta{color:$postmetacolor; float:left; font-size:11px; margin:0pt 0pt 15px; width:295px}
      .postinfo{color:$postmetacolor; float:left; font-size:12px; margin:0pt 0pt 10px; text-align:right; width:290px}
      #koment{padding-top:5px}
      #koment a{color:$linkcolor; font-weight:bold; text-decoration:none}
      #koment a:hover{color:$linkhovercolor; font-weight:bold; text-decoration:none}
      .entrytitle .meta a{color:$linkcolor}
      .entrytitle .meta a:hover{color:$linkhovercolor}
      .post{background:$bgcolorelements none repeat scroll 0% 50%; border:1px solid $bgcolorwrapperborder; margin:0px 0px 7px; padding:10px}
      .post a, .commentlist a, .navigation a{color:$linkcolor}
      .post a:hover, .commentlist a:hover, .navigation a:hover{color:$postmetahovercolor}
      .post blockquote{margin:0 0 20px 0; padding:0}
      blockquote{margin:0 40px 0 30px; padding:0 0 0 10px; font-style:italic; color:$titlelinkcolor; border-left:2px solid $titlelinkcolor}
      /*-- (Sidebar) --*/
      #sidebar-right{color:#555; float:right; font-size:12px; line-height:17px; list-style-type:none; margin:5px 1px 0pt 0pt; padding:0px 0px 20px; position:relative; text-align:left; width:360px}
      #sidebar-right .widget{background:$bgcolorelements none repeat scroll 0%; border:1px solid $bgcolorwrapperborder; list-style-type:none; margin:5px 0pt 5px 0px; padding:0pt}
      #lsidebar{float:left; margin-right:5px; width:175px}
      #rsidebar{float:left; width:175px}
      #sidebar-right .widget h2, #sidebar-right h2{border-bottom:1px solid $sidebartitlecolor; color:$titlelinkcolor; font-size:17px; font-weight:normal; margin:5px 7px 0pt; padding:0pt 0pt 5px}
      #sidebar-right a{color:$sidebarlinkcolor; font-size:13px; text-decoration:none}
      #sidebar-right a:hover{color:$sidebarlinkcolor; text-decoration:none; border-bottom:1px dotted $sidebarlinkcolor}
      #sidebar-right ul{border:medium none; margin:7px; padding:0pt}
      #sidebar-right ul li{background:transparent url(http://s254.photobucket.com/albums/h...reen/arrow.gif) no-repeat scroll 0pt 3px; display:block; list-style-type:none; margin:0pt 0pt 5px; padding:0pt 0pt 0pt 10px}
      .BlogArchive #ArchiveList ul li.archivedate{background:transparent url(http://s254.photobucket.com/albums/h...reen/arrow.gif) no-repeat scroll 7px 3px; display:block; list-style-type:none; margin:5pt 0pt 5px; padding:0pt 0pt 0pt 32px}
      .ads-sidebar{float:left; margin:0pt; padding:0pt}
      #sidebar-right ul li ul{list-style-type:square; margin-left:1.5em; padding:0; border:0}
      #sidebar-right ul li ul li{border:0}
      #sidebar-right .ads-sidebar ul{background:$bgcolorelements none repeat scroll 0% 50%; border:1px solid $bgcolorwrapperborder; float:left; margin:0pt; padding:10px 0pt 10px 35px; width:318px}
      #sidebar-right .ads-sidebar ul li{display:inline; list-style-type:none; margin:0pt; padding:0pt}
      #sidebar-right .ads-sidebar ul li a:hover{border-bottom:none; list-style-type:none}
      .ads-sidebar ul{margin:0px; padding:0px}
      .ads-sidebar ul li a{float:left}
      .ads-sidebar img{margin:0px 0px 5px 8px; border:1px solid #CCC; padding:2px}
      .ads-sidebar img:hover{border:1px solid #999}
      .search{background:$bgcolorelements none repeat scroll 0%; border:1px solid $bgcolorwrapperborder; color:#FF6000; float:left; margin:5px 0pt 0pt; padding:10px 0px 10px 45px; width:308px}
      #searchform{margin:0px; padding:0px}
      #s{width:250px; height:20px; margin:0; padding:5px 5px 3px 7px; border:1px solid #83B134; background:$bgcolorelements; color:#122b3b; font-size:14px; font-family:Verdana,Arial,Helvetica,sans-serif}
      .navigation{display:block; text-align:center; margin-top:10px; margin-bottom:60px}
      .comments{margin:5px 0pt 15px; padding:20px 10px; background:$bgcolorelements none repeat scroll 0% 50%; border:1px solid $bgcolorwrapperborder}
      .comments a{color:$linkcolor}
      .commentlist{list-style-type:none; margin:10px 0pt 0pt; padding:0pt}
      .commenttext{font-size:11px}
      .commentlist li{margin-bottom:2em; padding:0.5em 1em}
      .alt1{border:1px solid #F2F0E8; padding:0.5em}
      .comment-footer a{color:$linkcolor}
      span.delete-comment-icon{text-decoration:none}
      /*-- (Footer) --*/
      #footer{background:#F5F5F5 url(http://s254.photobucket.com/albums/h...een/bottom.gif) no-repeat scroll center bottom; color:$sidebarlinkcolor; font-size:11px; height:30px; margin:0px auto; padding-top:30px; padding-bottom:15px; text-align:center; width:980px}
      #ga-ads{background:$bgcolorelements none repeat scroll 0% 50%; border:1px solid $bgcolorwrapperborder; margin:0px 0px 7px; padding:10px 10px 0px}
      .clear{clear:both}
      /*-- (Sidebar) --*/
      .widget-content{}
      .widget{margin:0pt; padding:0pt}
      .comment-author{padding:5px 0px 0px 15px; margin:0px}
      .comment-body{padding:0px 15px 20px 15px; margin:0px}
      .comment-footer{padding:0px 0px 0px 15px; margin:0px}
      .post-feeds{padding:30px 15px 0px}
      /** Page structure tweaks for layout editor wireframe */
      body#layout #ga-ads{display:none;}
      body#layout .ads-sidebar{display:none;}
      body#layout .search{display:none;}
      body#layout #footer{display:none;}
      body#layout .top{display:none;}
      body#layout #sidebar, body#layout #main,
      body#layout #main-wrapper,
      body#layout #outer-wrapper,
      body#layout #sidebar-wrapper
      body#layout #header
      body#layout .contentwrapper{padding:0}
      body#layout .TopMenu{float:left; height:auto; width:740px; padding:0; margin:0px;}
      body#layout #outer-wrapper{width:740px; margin-left:auto; margin-right:auto}
      body#layout #header{width:740px; margin-left:auto; margin-right:auto}
      body#layout #LinkList1{padding:0px 3px; margin-left:auto; margin-right:auto}
      body#layout #HTML3{padding:0px 3px; margin-left:auto; margin-right:auto}
      body#layout #lsidebar{width:50%; padding:0px 3px; float:left; margin-left:auto; margin-right:auto}
      body#layout #rsidebar{width:50%; padding:0px 3px; float:right; margin-left:auto; margin-right:auto}
      body#layout #main{margin-left:0px; margin-right:0px; width:370px; padding:0 0 0 0px}
      body#layout #content{margin-left:0px; margin-right:0px; width:368px; padding:0 0 0 0px}
      body#layout #sidebar-right{margin-left:0px; margin-right:0px; width:371px; padding:0 0 0 0px}
      body#layout #header-tabs{float:left; width:740px; padding:0; margin-left:auto; margin-right:auto}
      body#layout .contentwrapper{width:740px; margin-left:auto; margin-right:auto}
      body#layout #header-in{margin-left:0px; margin-right:0px; width:740px}
      body#layout #main-wrapper{margin-left:0px; margin-right:0px; width:500px; padding:0 0 0 0}
      body#layout #sidebar-wrapper{margin-left:0px; margin-right:0px; width:240px; padding:0 0 0 0px}
      body#layout #container-bottom{width:740px; margin:0 auto; padding-top:15px; body#layout .container-top{width:740px; margin:0 auto; padding-top:15px}
      ]]></b:skin>
      </head>
      <body>
      <div id='outer-wrapper'>
      <span id='skiplinks' style='display:none;'>
      <a href='#main'>skip to main </a> |
      <a href='#sidebar'>skip to sidebar</a>
      </span>
      <div class='top'><img src='http://s254.photobucket.com/albums/hh92/eblogtemplates/passionduogreen/top.gif'/></div>

      <!-- (Main) -->
      <div id='header-wrapper'>
      <b:section class='header' id='header' maxwidgets='1' showaddelement='no'>
      <b:widget id='Header1' locked='true' title='Free Online Recipes (Header)' type='Header'/>
      </b:section>
      <div style='clear: both'/>
      </div>


      <!-- (Nav and Search Box) -->
      <div class='TopMenu'>
      <b:section class='header-tabs' id='header-tabs' preferred='yes' showaddelement='no'>
      <b:widget id='LinkList2' locked='true' title='Top Tabs' type='LinkList'/>
      </b:section>
      </div>

      <!-- (Main) -->
      <div class='contentwrapper'>
      <div id='content'>
      <!-- Delete or replace with your ad -->
      <!-- Convert using http://www.eblogtemplates.com/blogge...ode-converter/ -->
      <div id='ga-ads'>
      &lt;script type=&quot;text/javascript&quot;&gt;&lt;!--
      google_ad_client = &quot;pub-&quot;;
      google_ad_host = &quot;pub-&quot;;
      /* 468x60, created 10/2/08 */
      google_ad_slot = &quot;0545131433&quot;;
      google_ad_width = 468;
      google_ad_height = 60;
      //--&gt;
      &lt;/script&gt;
      &lt;script type=&quot;text/javascript&quot;
      src=&quot;http://pagead2.googlesyndication.com...s.js&quot;&gt;
      &lt;/script&gt;
      </div>
      <!-- End Google ad -->

      <b:section class='main' id='main' showaddelement='no'>
      <b:widget id='Blog1' locked='true' title='Blog Posts' type='Blog'/>
      </b:section>
      </div>


      <!-- (Sidebar) -->
      <div id='sidebar-right'>

      <div id='sidebar1'>
      <div class='ads-sidebar'>
      <ul>

      <!-- Replace with your ads -->
      <!-- End of your ads -->
      </ul>
      </div>

      <div class='search'>
      <form expr:action='data:blog.homepageUrl + &quot;search&quot;' id='searchform' method='get'>
      <input id='s' maxlength='50' name='q' onblur='if (this.value == &quot;&quot {this.value = &quot;Type and hit enter to search&quot;;}' onfocus='if (this.value == &quot;Type and hit enter to search&quot {this.value = &quot;&quot;;}' type='text' value='Type and hit enter to search'/>
      </form>
      </div>
      </div>
      <div id='lsidebar'>
      <b:section class='sidebar-left' id='sidebar-left' preferred='yes'>
      <b:widget id='Image1' locked='false' title='' type='Image'/>
      <b:widget id='Label1' locked='false' title='Categories' type='Label'/>
      <b:widget id='Feed1' locked='false' title='Recent Posts' type='Feed'/>
      <b:widget id='Feed2' locked='false' title='Recent Comments' type='Feed'/>
      <b:widget id='LinkList1' locked='false' title='Blogroll' type='LinkList'/>
      </b:section>
      </div>
      <div id='rsidebar'>
      <b:section class='rsidebar123' id='sidebar123' preferred='yes'>
      <b:widget id='BlogArchive1' locked='false' title='Blog Archive' type='BlogArchive'/>
      </b:section>
      </div>
      </div><!-- end sidebar wrapper -->
      <div style='clear: both;'/>
      </div><!-- end contentwrapper -->
      <div class='clear'/>
      <div id='footer'>

      <!-- Please don't remove or modify the credits below. We worked many hours to make this beautiful template available free for you. All we ask is to keep the links below intact -->
      Design by: <a href='http://www.dailyblogtips.com/'>Daily Blog Tips</a> | Sponsored by: <a href='http://www.amazon-kindle-reviews.com/'>Amazon Kindle Reviews</a><br/><a href='http://www.eblogtemplates.com/passion-duo-green-blogger/'>PassionDuo Green Blogger Template</a>
      <div style='clear: both'/>
      </div>

      </div> <!-- end outer-wrapper -->
      </body>
      </html>
      {{ DiscussionBoard.errors[149044].message }}
  • Profile picture of the author sridhar
    A temporary workaround to hide that ad is to add display:none; in the flower brackets.

    #banner-head{}
    {{ DiscussionBoard.errors[149061].message }}
  • Profile picture of the author sridhar
    I dugg deaper and found the solution:
    1. Download the template from PassionDuo Green Blogger Template | eBlog Templates. It's a xml file.
    2. Open the xml file in notepad, do a search for
      Code:
      <!-- Delete or replace with your ad -->
      . It's on line 254. Modify/delete the line below it which reads this:
      Code:
      <a href="http://www.blogmastermind.com/affiliates/index.php?af=782784"><img src="http://www.blogmastermind.com/images/468x60blog-profits-blueprint.gif" alt="Click here to get The Blog Profits Blueprint" width="468" height="60" border="0" /></a>
    3. Save the xml file
    4. In Blogger, go to Layout -> Edit HTML, tick 'Expand Widget Templates', select existing code and delete it.
    5. Paste the code in xml file here and save the template
    As an example, you can see the above applied at one of my abanonded blogs. (going to change the template back to the original one after a couple of days)
    {{ DiscussionBoard.errors[149122].message }}

Trending Topics