Hi Aneesh,
First of all, thanks for the valuable help you share with us.
Recently I've created some static pages with the new feature on two of my blogs. Both blogs use Minima template.
The static pages are a sort of gallery and I've hidden the sidebar and footer with conditional in one of my blogs. Here is the page.
I can't do the same in the other blog's gallery and I am not able to find the reason. I tried everything but the conditional has effect on all post pages too and just pushes the sidebar and footer down.
I could hide every widget one by one but it is too much code in the template.
Could you please have a look, when you have the time, and advice me what to do.
Many thanks in advance.
Blogger Forums » Blogger Template Tweaks
Hiding sidebar and footer on static pages
(7 posts)-
Posted 2 years ago #
-
HI Maia,add this code just above </head>
<b:if cond='data:blog.pageType == "static_page"'>
<style type="text/css">
#sidebar-wrapper,.footer-column {display:none;}
</style>
</b:if >
and you will have both of them hidden.
Posted 2 years ago # -
Thank you very much Aneesh.
The problem was that in the second blog I inserted it by mistake above the]]></b:skin>.
Now I changed it right above the</head>and it works perfectly.
Thank you very much again for your immediate answer.Posted 2 years ago # -
i am glad that it helped. you have got a nice blog. Get a Custom Domain
Posted 2 years ago # -
Thank you.
Maybe some day I'll get a custom domain but for now I don't see the advantages of it in my case.
Besides, there are too many changes to make and too many problems with Blogger, after switching to custom domain.
I'll think about it.Posted 2 years ago # -
If you buy the domain via blogger, blogger automatically configures the settings for you. if you buy the domain from some other provider, you will have to do it by yourself. There are plenty of tutorials around.
Posted 2 years ago # -
I know, I've read many of them including yours but I've also read about the problems people have.
I don't blog for a living and every time I have to fight the platform I am glad that I don't spend money on it, though it is affordable.
I published a painting tutorial a few days ago, my original four days' work, and the next day my PR from the homepage was gone. Probably I've used some stop word or made some other mistake, so first I have to learn many things.
Anyway, I am glad that I've found your blog and that you are so kind to help out people in need.Posted 2 years ago #
Reply
You must log in to post.

