Posts not showing on 'Blog' page – Static Front Page
-
Thank You! GREAT! I use it at one Blog.. Its look like its worx good! 😉
But on my other Blog the first Post – Header (H2 ?) kills the (Blog- ) Site
and there is no sidebar..
I deinstall Graphene, inall it again.. the same
Upload all via ftp = the same..
Maybe you can have a look..? 😉
http://www.doc-germanicus.net/blog/blog/
PS: i think i used in both sites the same plug-ins…
I think i cancel Graphene on my Site ../blog/ ..
its coasts me to much time and nervs 😉
Bur thank You for Your help!
Helmut
I am having the same problem. I use a static front page and /blog for the posts. I have isolated the issue, but fixing it causes another problem.
After searching this forum, I found how to remove the page title from the static homepage by using the following code in the Custom CSS section of the graphene options:
.post-XXXX .post-title, .post-title a {
display: none;
}
XXXX being the post ID.
When I have that added to the custom CSS section, the homepage does not show the title, however, it hides the title from the /blog page as well as all category and tag pages. The posts themselves still show the title once they are opened.
If I delete the code from the custom CSS section, the titles return on the /blog, /category and /tag pages, but the title on the homepage comes back.
Any ideas?
AdminJust use this:
.post-XXXX .post-title {
display: none;
}ModTry refreshing your browser cache: CTRL + F5
Not working.
To be exact, when I use this code the homepage does not show the title, and the blog page/ category pages does not show the titles either (However, they do show on the individual posts):
.post-1560 .post-title, .post-title a {
display: none;
}When I use this code, the homepage title returns on the static page, as well as the category pages and blog page:
.post-1560 .post-title, {
display: none;
}(Post ID is 1560)
ModPut code in between backtick (
Code:`) characters. It’s usually located above the Tab key on your keyboard. I have corrected this for you.
You need to understand how CSS works. If I use this code:
.post-1560 {
display: none;
}it means that post #1560 won’t display at all.
If I use this code:
.post-1560 .post-title {
display: none;
}it means that only the
.post-title
div on post #1560 won’t show. Everything else for post #1560 won’t show.If I use this code:
.post-1560 .post-title .post-title a {
display: none;
}It means that the link (
<a>
) won’t show, provided that it is wrapped in a<div>
with the class.post-title
and only if that<div class=".post-title">
occurs on post #1560. All other posts will not be affected, nor will any other part of the.post-title
<div>. Notice that there is no comma in that section.However, if I use this code:
.post-1560 .post-title, .post-title a {
display: none;
}this will do something different, because there is a comma in there. This is essentially the same as using this code:
.post-1560 .post-title {
display: none;
}
.post-title a {
display: none;
}The first part says to hide the entire
<div class="post-title">
section from post #1560, while the second part says to not show the link in the <div class=”post-title”>section on any post or page, although the rest of what is in that
<div>` will show.Now, to get back to your original problem: I think the code you want to use is:
.post-1560 .post-title .post-title a {
display: none;
}with no comma.
Quote:@KennethThanks for the great explanation. Based on your descriptions I was able to figure it out as well as learn a little bit.
Interesting enough, it was this code that worked:
.post-1560 .post-title {
display: none;
}
Is there somewhere I can shoot a few bucks your guy’s way? Besides the fact that the Graphene theme is amazing, the support you all provide here is wonderful.
- You must be logged in to reply to this topic.