Make Background Image Of Your Blog Clickable With This CSS Tweak


+Kanyi Okeke alerted me via comments that once you implement it on a Blogger blog, it automatically links anything on the page to the link in the code above.I will find a solution to this and update this post asap.

Earlier today, +Temi Baby  asked me how to make the background image of her blog clickable and probably link to an external website, while also ensuring that the link opens in a new tab/window. Initially, I thought such won’t be possible on a Blogger blog but after making some research, I realized it’s possible and can be achieved with css.

You can see a demo at Clicking on the background image on desktop and mobile view of the blog takes you to + it opens in a new window/tab without taking you away from the blog page.

So, let me assume you’ve already added a background image to your blog.

==> Log in to, go to your blog dashboard, click “Templates” > “Edit HTML

==> Click inside the HTML editor, press CTRL F on your keyboard to find < body

==> Directly under < body, paste the code below:

<a href=”” id=”blogbackground-link” target=”_blank”> </a>

==> Replace with the link you want the background to open when clicked.

==> Click “Save Template“.

==> Click inside the HTML editor again and use CTRL F to find ]]></b:skin>

==> Paste the css code below, directly above ]]></b:skin>

#blogbackground-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1;
    height: 4000px;

==> Click “Save Template“.

View your blog, click on the background image and it should open your link in a new tab/window.

See also :   How To Make Related Posts To Show On Blogger Mobile View

That’s all.

Don’t know how to add background image to your blog?

Paste the css code below, directly above ]]></b:skin>

body {
    background-image: url(‘‘);   
    background-position: top center;
    z-index: 1;
    background-attachment: scroll;
    background-repeat: repeat-y;
    background-color: grey;

Carefully replace the highlighted link; with the link to your background image.

That’s all.

NB: If you are a WordPress user,  copy and paste the code below, directly below the <body tag.

<a href=’‘ id=’blogbackground-link’ target=’_blank’> </a>

Thereafter, you can paste the css code in your custom css file.

==> Replace with the link you want to use

I hope it works for you. Let me know via comments, if there are challenges.

Please Share :

Written by Jide Ogunsanya

Pro Nigerian Blogger, Digital Marketer and Web designer. I help business owners to grow their businesses online. You can join my Facebook Group here.


Leave a Reply
  1. Jide, on your test blog, i observed that when you click on the navigation tabs, it pops open in a new page opening and that's where the blog background image is linked to.

  2. nice nice nice, I'll try this one on my blog, maybe that's why I'll put my blog logo, since all the logos I've been uploading refuse to work, thanks oga Jide.
    how to hide files and folders on your Android

  3. My entire blog is now clickable using this code. It looks right but I can't click on the actual content anymore. Is there a way to ONLY make the background image clickable and not the entire blog?

  4. Jide, you still have not corrected the error of turning every clickable link into the supposed background image link. A correction will be of great help. Blogger blog concerned.

  5. Thanks Jide for the info. Initially when i tried using your own description,I also noticed the whole blog was click-able.Having observed that,i have corrected the css input thus : #blogbackground-link {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 0;
    height: 5000em;
    So readers,if you're experiencing similar issues on your blogger blogs,i suggest you edit the css code above and save. Simple! Check out mine here >>>

Leave a Reply

We're glad you have chosen to leave a comment. Please keep in mind that comments are moderated according to our comment policy. Your email address is required but will not be published. No keyword stuffing in the name field and commenting from blah blah blah makes no sense. Thank You.

  • Millionaire Reveals How You Can Make Millions Doing What You LoveRead More
  • Free Ebook Explains How To Design WebsiteDownload Now
  • We can help you ship items from Amazon USA to NigeriaMore Info
  • Do you want to ask some questions?Click To Ask

Google Domains: New Domain Registration Service by Google

VictoryAkpomedaye.Com : Blog In Nigeria for Mobile/Internet Marketing and Entrepreneurship Tips