Notification texts go here Contact Us Buy Now!

How To Hide Featured Image In Blogger Post Page

How To Hide Featured Image In Blogger Post Page How To Hide Featured Image In Blogger Post Page

There can be scenarios when you have featured image for a post, but instead of removing it you can just hide your feature image. Here is the real trick that will make your Blogger featured image that will only show your featured image only on home page.

You just have to add a simple CSS code snippet in your Blogger template and then use the hidepic class each time you want to hide your featured image in your post. Just follow the simple steps and you will be done in no time.

How to hide featured image in Blogger post and only show it on a homepage



Step 1. Login to your Blogger blog and click on Template and select Edit HTML.

How To Hide Featured Image In Blogger Post Page How To Hide Featured Image In Blogger Post Page

Step 2. Click anywhere inside the HTML code area and by pressing Control + F together and search for below code.
 ]]></b:skin>   

Step 3. Past the below code just below the ]]></b:skin> code.
 <b:if cond='data:blog.pageType != &quot;index&quot;'>    <style>.hidepic{display: none;}</style>    </b:if>   
Step 4. Add the CSS code snippet to hide (display:none) the images with hidepic class, and Click Save to save your template.

So, how it works?

Whenever you create a new post and if you want to hide your featured post image, switch to the HTML tab to see the HTML code of your image, which will look similar as below.
 <div class="separator" style="clear: both; text-align: center;">    <a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgaMfeNZK7zg33MrApfyod37D7oS5jrjIYQREtj5lj6Q-FeIS74nabO3CrzpqTUxs_of42JIXI4wzCRXoa9eoboOIPmVZyCPfc0z1ADch6SlP_TNku2h-3WL-4YxooswT9EQh8fUCOKez0/s1600/fire_bird_by_fhrankee-d32af8v.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgaMfeNZK7zg33MrApfyod37D7oS5jrjIYQREtj5lj6Q-FeIS74nabO3CrzpqTUxs_of42JIXI4wzCRXoa9eoboOIPmVZyCPfc0z1ADch6SlP_TNku2h-3WL-4YxooswT9EQh8fUCOKez0/s320/fire_bird_by_fhrankee-d32af8v.png" width="320" /></a></div>   

Note: That the HTML code should be on the exact location where your feature image is.



Also, note that you have to make sure; you upload your images in Compose mode only or else the image code will omit the div containing the separator class.

Step 5. Replace the Separator CSS class with hidepic – below is the screenshot for your reference.
How To Hide Featured Image In Blogger Post Page How To Hide Featured Image In Blogger Post Page


Now Publish or Update your post and enjoy or for any suggestion or queries or you have found any difficulties in implementing the codes, you may leave a comment below.

   

إرسال تعليق

Cookie Consent
We serve cookies on this site to analyze traffic, remember your preferences, and optimize your experience.
Oops!
It seems there is something wrong with your internet connection. Please connect to the internet and start browsing again.
AdBlock Detected!
We have detected that you are using adblocking plugin in your browser.
The revenue we earn by the advertisements is used to manage this website, we request you to whitelist our website in your adblocking plugin.
Site is Blocked
Sorry! This site is not available in your country.