Pages

Friday, April 20, 2012

Removing the attribution gadget from mobile template blogs

This article is about removing the "Powered by Blogger" statement from the bottom of blogs that have a mobile template.

Blogger and attribution gadgets

Picture of a cellphone with "Powered by Blogger" taking up screen space
Previously I've described the attribution gadget that Blogger has added to blogs with designer templates, and various ways of removing it.

This was a real game of cat-and-mouse:   I found a way to delete the gadget, Blogger's engineers put in code to add it back in again if you removed it using that method.  But eventually I found some methods that haven't stopped working - or maybe Google saw the logic in my arguments and gave up trying. 

(For the record, I show the gadget on most of my blogs, but really didn't want it on one particular blog that is really powered by Google custom Maps:  Blogger is just a nice wrapper around the custom maps that it shows.)

Now a reader has asked about getting rid of the attribution from a blog that uses a mobile template. This is easy provided you accept the risks of editing your template.


How to remove the attribution from a mobile template

Edit your template in the usual way - you don't need to expand the widget templates.


Use the browser search tool to find this statement:
<b:widget id='Attribution1' locked='true' mobile='yes' title='' type='Attribution'/>
The number after the word "attribution" may be different, if you've tried several other ways to remove the "powered by Blogger" statement.   This doesn't matter - just make sure the same number is used in the original statement and the replacement one.



Replace it with this statement
<b:widget id='Attribution1' locked='true' mobile='no' title='' type='Attribution'/>

Save your template .


And that should be "job done".


It is a good idea to check what your blog looks like on a mobile device.    If you find that this approach  doesn't work for your blog, please leave a comment including your blog's URL - in case there are some conditions that I've missed.

Note:   test so far make me thing that this setting is kept even if you change which mobile template your blog uses, and even if you switch off the mobile template and then switch it off again later.



Related Articles

Removing the attribution gadget from designer-template blogs

How to edit your blogger template

Editing your blog's template:  advantages and disadvantages

Showing Google custom Maps on your blog

Why your blog may need a mobile template - and how to give it one.

8 comments:

  1. Both statement you wrote on the article are similar!
    How should it work?!

    And also there isn't any script like that in my template to replace with itself again!

    ReplyDelete
    Replies
    1. Sorry, I had a typo there - fixed now. If there's no script like that, perhaps you have a dynamic template, or don't have mobile templates enabled?

      Delete
  2. There must be a newer version of blogger as no place in the HTML can I locate <b:widget id=’Attribution1′ or even the word attribution

    Anyone with insights on a different id please let me and the rest of us know.

    ReplyDelete
    Replies
    1. dashboard/setting/layout...click edit in the attributions box and the id will be at the end of the URL. I haven't tried to locate it in HTML yet, as I'm just reading how to do it. And you are right, Blogger has a new version now so things are different than when this blog was wrote.

      Delete
  3. Just wondering if you happen to know how to remove the post preview on the mobile version of blogger? I've been searching but can't find a solution anyway. I want the posts to show in full on the mobile version, I don't want the user to only see the preview and have to click through to the full post. Little help?!?

    ReplyDelete
  4. wow thanks for the tip... I'm using the blogger default template (Awesome Inc) I have to set the Attribution widget to "false" to enable me to remove the powered by blogger on the destop template.. from the code you gave above, i noticed that when I replaced with it works fine on the mobile template by removing the powered by blogger, but this line(...widget id='Attribution1' locked='true'...) calls back the already removed attribution widget from the desktop template and place it at my left sidebar. so the issue I'm having now is that when i try to remove the mobile attribution the desktop attribution shows and when i remove the desktop attribution widget the mobile attribution widget shows up... Please help me if you have any suggestion to fix this.. I want it in such a way that both in my mobile and desktop views there will be no powered by blogger. thanks once again

    ReplyDelete
  5. Hi,

    How can I change fonts in Blogger Mobile?

    ReplyDelete