This is a question for my live website. How can I delete footer from all pages except homepage? Is it even possible to keep footer at homepage and delete anywhere else? Otherwise just code to delete everywhere on mobile. I'll recreate the footer with a page builder. :)
I actually check on my phone, I don't use inspect in Chrome. Maybe that's it. And I have a Google pixel 7, it's 1080 by 2400 pixels. Could that be the issue?
Why do we always choose for max 640px. Are there no phones with wider screens?
Hello,
This is a question for my live website. How can I delete footer from all pages except homepage? Is it even possible to keep footer at homepage and delete anywhere else? Otherwise just code to delete everywhere on mobile. I'll recreate the footer with a page builder. :)
This didn't work:
@media(max-width:700px){div#footerbottom div#footermenu {display:none;}}
Thank you, GIjs!
Please try adding this custom css in your wp-admin-> appearance-> customize -> custom css :
div#footerbottom {
display: none;
}
.home div#footerbottom {
display: flex;
}
But only on phone.. So can it be a setting? Or must it be custom css? If so, what should I add?
yes
remopve previous css and
Please try adding this custom css in your wp-admin-> appearance-> customize -> custom css :
@media(max-width:640px){
div#footerbottom { display: none; }
.home div#footerbottom { display: flex; }
}
Worked. Problem left is the big height of the white field a the bottom of every phone page without footer. How can I make this smaller?
please share the url at which this space is showing
It's at this page: https://env-meestergijs-premium.kinsta.cloud/cursusaanbod/, all the way at the bottom.
Keep in mind! Only when on a phone.. Delete it please.
That's correct. Because I left the code out because of the gap. That's why you see the footer at that page. I now have added the code again. Please have another look: https://env-meestergijs-premium.kinsta.cloud/cursusaanbod/#component=course
again not seeing the issue please clear cache ;
https://somup.com/c3XX2kvs33
I actually check on my phone, I don't use inspect in Chrome. Maybe that's it. And I have a Google pixel 7, it's 1080 by 2400 pixels. Could that be the issue?
Why do we always choose for max 640px. Are there no phones with wider screens?
nope google pixel do not have width more than 640px .
that is resolution you are talking about , width is different .
Please try clearing the browser cache on the pixel device then
https://support.google.com/accounts/answer/32050?hl=en&co=GENIE.Platform%3DAndroid
I think it's just at the cursusaanbod page. But I will create another one for that...
Let's close
Thanks!