Breaking News
Loading...
Wednesday, 26 March 2014

How To Add Link To Blogger Header Title h1?

add url to blogger header title

Normally in the most of the blogger templates, header title don't contain links which when clicked takes you to the homepage of your site. It is because in homepage your blogger's header title will appear as simple text only, to fix it you will have to do a little of tweaking in your blogger's template. After tweaking you will get wordpress like results, that means header title will appear as a link in all the pages.
Let us see how to tweak the header title codes.



  • Open Blogger dashboard → Template → Html Editor
  • Now open widget selection lists and open Header1
    add url to header title in blogger

    • Now expand the widget and then expand id='title'
    • You will see a code like this
      add url to header title in blogger

      • Replace it with the following given code

        Xml

        <a expr:href='data:blog.homepageUrl'><data:title/></a>


        • Save the template afterwards and you're done.



        Final Words

        In my initial days while learning web designing and coding, I have worked in vain for hours to fix this issue in my blogger template. Also there wasn't any tutorials article out there which would give me an idea or any hint to fix this problem. So to help innumerable others like me I have written this small tutorial, If my article really helped you then help us growing our community by joining our social media sphere.

        0 comments:

        Post a Comment

         
        Toggle Footer