Archived topic
Content on the Home Page doesn't show
11 replies · Started by Daren on January 24, 2019
The content between the header and the footer doesn't show when I visit the site's home page. But if I change the home page to a different page then view that page it does show up. But what ever page I assign to be the home page in Settings > Reading then the content on that page doesn't show. So for example, if I make the blog page the home page the blog post snippets don't show, just the header and the footer show.
Hi there,
Any chance you can link us to the site in question?
You can edit the original topic and use the private URL field.
Let me know :)
Hi Leo, here is the link: http://staging.djmwpwebsites.com/
This is the page I want to display as the home page: http://staging.djmwpwebsites.com/home-page
But which ever page I assign under reading as the home page will not display content between the header and footer.
Because you have this CSS added in Simple CSS:
body.home #page {
display: none;
}
Always check your CSS first for problems like this.
Thanks!
Leo, if you need login credentials you can use this:
UN: Matteo
PW: d&F6)BEb^i16Q&q%eg6XpRgx
Wow, I didn't add that. But thank you Leo. Good lesson learned.
No problem :)
What line is it on? I don't see it.
Not in simple CSS I found it in the customizer.
Awesome :)
I was working on someone else's site and I spent the better part of the past 24 hrs trying to find out why this was happening. But looking on the bright side I did learn a little but about The Loop...Small comforts, right?
Thank you again Leo
No problem :)
If you are working on lots of sites, then it might be good to learn to use browser's inspect tool.
It will save you lots of headache.