Showing posts with label Template Customization [CSS/HTML Tricks]. Show all posts
How to Use Google Adsense Ads on Responsive Website
Nowadays many of us are making use of responsive the design of their weblogs and
web site. By developing a responsive website design is good concept to get
visitors from throughout platforms such as desktop, mobile phones and pills. The
simple website design not appears good when you visit on mobile phones or upon
tablets Because of that your advertisements also vanished from the web site or
appears awkward.
Producing Google Adsense ads reactive along with website design is good concept to increase generating. But the query is that will Google actually allow the modifications on advertisements code? The answer then is we are not really changing the particular ad program code|code calculatordecoder} by applying some more code which is right now officially suggested by Search engines to reactive design site owners.
You might discover if you are using Google Adsense
advertisements on your reactive web design that the content change as per the
screen-size but the Google Adsense advertisements not growing or
diminishing based on the screen-size due to its repair size.
To have an example, you might using the 728x90 leaderboard advertisement unit on the website as well as the ad device will be lengthen to out from the screen anybody is going to your website making use of mobile phones that has only 320 pixels.
engines Adsense advertisements are not the particular responsive automatically but we are able to use some Javascripts which will workaround to your Google Adsense advertisements to make it react to the display size. The advisable thing is that the Google Adsense group officially authorized the reactive ads method.
To produce multiple advertisement unit sign in to your Adsense account dash and create advertisement units such as 768x90, 468x60 and 300x250. In over code change google_ad_client (ca-pub-1234) with your bar id plus google_ad_slot (AAA, BBB, and so forth ) together with your identifiers within the code.
Right now paste the above mentioned code anyplace on your webpages and the advertisement will be demonstrated based on the screen-size on various devices. The particular most appropriate advertisements will be proven to the display.
Let me know your own experience comparable.
Special Thanks to the BloggingTuition.Org....
Producing Google Adsense ads reactive along with website design is good concept to increase generating. But the query is that will Google actually allow the modifications on advertisements code? The answer then is we are not really changing the particular ad program code|code calculatordecoder} by applying some more code which is right now officially suggested by Search engines to reactive design site owners.
Responsive Google AdSense Advertisements
You might discover if you are using Google Adsense
advertisements on your reactive web design that the content change as per the
screen-size but the Google Adsense advertisements not growing or
diminishing based on the screen-size due to its repair size.To have an example, you might using the 728x90 leaderboard advertisement unit on the website as well as the ad device will be lengthen to out from the screen anybody is going to your website making use of mobile phones that has only 320 pixels.
engines Adsense advertisements are not the particular responsive automatically but we are able to use some Javascripts which will workaround to your Google Adsense advertisements to make it react to the display size. The advisable thing is that the Google Adsense group officially authorized the reactive ads method.
Make Google Adsense Advertisements Responsive
<!-- You can add multiple Adsense Ad units here--><!-- Just change the ad on Line#4 and Line #7 --><div id="google-ads-1"><script type="text/javascript">adUnit = document.getElementByIdundefined"google-ads-1");adWidth = adUnit.offsetWidth;/* Replace this with your AdSense Publisher ID */google_ad_client ="ca-pub-1234567890";ifundefined adWidth >= 768 ) {/* Leaderboard 728x90 */google_ad_slot ="AAA";google_ad_width = 768;google_ad_height = 90;}elseifundefined adWidth >= 468 ) {/* Banner undefined468 x 60) */google_ad_slot ="BBB";google_ad_width = 468;google_ad_height = 60;}elseifundefined adWidth >= 336 ) {/* Large Rectangle undefined336 x 280) */google_ad_slot ="CCC";google_ad_width = 336;google_ad_height = 280;}elseifundefined adWidth >= 300 ) {/* Medium Rectangle undefined300 x 250) */google_ad_slot ="DDD";google_ad_width = 300;google_ad_height = 250;}elseifundefined adWidth >= 250 ) {/* Square undefined250 x 250) */google_ad_slot ="EEE";google_ad_width = 250;google_ad_height = 250;}else{/* Ad Link Unit undefined200 x 90) */google_ad_slot ="FFF";google_ad_width = 200;google_ad_height = 90;}</script><script type="text/javascript"</script></div>
To produce multiple advertisement unit sign in to your Adsense account dash and create advertisement units such as 768x90, 468x60 and 300x250. In over code change google_ad_client (ca-pub-1234) with your bar id plus google_ad_slot (AAA, BBB, and so forth ) together with your identifiers within the code.
Right now paste the above mentioned code anyplace on your webpages and the advertisement will be demonstrated based on the screen-size on various devices. The particular most appropriate advertisements will be proven to the display.
Let me know your own experience comparable.
Special Thanks to the BloggingTuition.Org....
Posted by Harpreet Singh
How to create Post Template for Blogger [Step By Step]
If its hard to wright posts again and again, Then this is a best way to save you post template for future posts. See the steps below how we can do it :
1. First go blogger dashboard
2. Create New post and switch back compose to html option then show all html code post. Select all code (CTRL + A).
1. First go blogger dashboard
2. Create New post and switch back compose to html option then show all html code post. Select all code (CTRL + A).
3. After Copy, click on settings >> Post and comments option then show the Post Template option.

Paste Copied HTML
code in Post template option blank space. If create new post then
it's existing code already place in your post. So It would be easy for you!
Hope you liked it, If you are facing any Problem, Please comment it below.
Posted by Harpreet Singh
HTML Parse/Escape Tool / Adsense Ad Code Converter
This tool will make your Javascript code to correct format. This tool automatically converts javascript ad code into the correct format so you can embed it directly into your new xml Blogger template. It’s perfect for converting AdSense, AdBrite, Chitika or any other javascript ad code you may have. See below:
Please Like us:
Follow @WaliaTech
www.facebook.com/waliatech
www.twitter.com/waliatech
Steps:
Thank you for using our tool. Special Thanks will be gone to HelpBlogger.
Please Life our FB Page.
Please Like us:
Follow @WaliaTech
www.facebook.com/waliatech
www.twitter.com/waliatech
Steps:
- Get Your Javascript code From (Adsense,Chitika,Adbrite or any)
- Paste code in below box.
- Click on "Convert"
- Code has been Converted. Copy it!
Please Life our FB Page.
Posted by Harpreet Singh
How to change the Authors Comment's Color,Style,Design in Blogger?
|
- Comment-author
- Comment-body
- Comment-footer
Before Do this trick in your blog, Authors Comments Shown Like this
|
Change Author's Comment Style & Color In Blogger
( Highlight and Customize Author's Comments In Blogger )1. First Login to Blogger >> Template >> Edit in Html
2. Backup Your Template for Safety.
3. Tick (Check) "Expand widget templates" box.
4. Then Find below (Ctrl + F)
]]></b:skin>5. Now Just above it paste (Ctrl + V) The Below CSS Code
.Walia-comment-body {
background: #FFFFFF;
color: #008000;
border: 1px solid #008000;
margin:0;
padding:0 0 0 10px;
width:520px;
}
Make some Customization (Changes)
- To Change the Background Color of Author's Comment, Change #FFFFFF;
- To Change the forn color of Author comment, change #008000;
- To Change the size of border change 1px to yours. And to Change Border style change solid to Dotted, Dashed or Solid And to change a Color of border change #008000;to yours as your wish.
- To Change the width of the Comment body change 520px.
6. Now Again in your template Seach Carefully Below's Similer code..
<data:commentPostedByMsg/>
</dt>
<dd class='comment-body'>
<b:if cond='data:comment.isDeleted'>
<span class='deleted-comment'><data:comment.body/></span>
<b:else/>
<p><data:comment.body/></p>
</b:if>
</dd>
8. Replace above code with the following code
<data:commentPostedByMsg/>
</dt>
<b:if cond='data:comment.author == data:post.author'><dd class='mbt-comment-body'><p><data:comment.body/></p></dd>
<b:else/><dd class='comment-body'>
<b:if cond='data:comment.isDeleted'>
<span class='deleted-comment'><data:comment.body/></span>
<b:else/>
<p><data:comment.body/></p>
</b:if>
</dd>
</b:if>
8. Now Save your Template and you are Done :)
Now you can visit your blog and see the Authors Comments is seeing differently from others like this
![]() |
| Change Author's Comment (Click to Large) |
If you have any Question , Any Problem or any Suggestion Please Comment below.I would be Glad to helping you. Thanks..
Posted by Harpreet Singh
How to Remove Blogger Navigation Bar From your Blog
There is so many peoples who don't like "Navigation Bar" in their own blog in blogger. So it is very easy and simple to remove it from your blog. Removing blogger navigation bar is as easy as
drinking a cup of tea! Below I have shared a pretty easy way of getting
rid of that annoying nav-bar. The blogger navbar is a default feature
that appears at the top of every blogger hosted blog. There are many
reasons why you should remove the blogger navbar, some of which are
mentioned below, - It makes your blog look less professional
- You can be flagged by anyone!
- It allows your readers to view other member blogs by clicking the “Next Blog” button, which may contain objectionable content like adult explicit content!
Now
you would agree with me, why I called it annoying. Before you may
remove or hide blogger navigation bar please ensure that you have made a
backup of your template.
Backup Your Template
Now,Firstly before start its "Backup Your Template". its very necessary to remember before start any template customization.
As we are adding code directly to the Blogger template for this customization, it is necessary to make a back-up of the existing template code. If suppose you get an error while customizing your template or you delete or break a code accidently, you will be able to easily restore your template.
To make a back-up of your Blogger template, go to Layout > Edit HTML in your Blogger dashboard, and look for the “Download full template” link near the top of the page.
Clicking on this link will prompt you to save your existing template to your computer hard drive. Save it somewhere so that you could find it easily while restoring your template.
As we are adding code directly to the Blogger template for this customization, it is necessary to make a back-up of the existing template code. If suppose you get an error while customizing your template or you delete or break a code accidently, you will be able to easily restore your template.
To make a back-up of your Blogger template, go to Layout > Edit HTML in your Blogger dashboard, and look for the “Download full template” link near the top of the page.
Clicking on this link will prompt you to save your existing template to your computer hard drive. Save it somewhere so that you could find it easily while restoring your template.
Now Let's go to Remove Blogger Navigation Bar :
Now there is very simple and easy 5 steps to Remove blogger Navigation Bar
- Go to layout > Edit HTML in your blogger dashboard
- Copy the code below ( You can use Ctrl + C to Copy And Ctrl + V to Paste)#navbar-iframe { height:0px; visibility:hidden; display:none }
4. Paste the above code just before/above Variable definitions ( Like that ; See Pic below )
5. Now , Click Save Template.Blogger Navigation is Removed.So your blog is becomes Pro Blog.
Enjoy with WaliaTech.Blogspot.Com and get More Blogger, PC, Money Earning & Adsense Tricks and Tips here.
Posted by Harpreet Singh

