Hi Bishal, sorry I took so long to get back to this.
I had a quick try with those codes and they don’t quite do it. But that is ok, those code lines have given me some incite in to the programing and should help me in any case.
Also I went to your demo sight again and realised that if the featured image is a reasonable size then the blue bar looks fine – as if it belongs there.
Sorry to trouble you and thank you very much for your time,
PS. I will head over to the review page and certainly give you a good rating.