- This topic has 9 replies, 3 voices, and was last updated 6 years, 1 month ago by
Leo.
-
AuthorPosts
-
October 17, 2017 at 9:39 am #405040
George
I have used the following code on one of my sites, and it works fine:
/*remove navigation links below posts*/
.post-navigation {
display: none;
}/*hide date on comments*/
.comment-metadata {
display: none;
}Now I added the same code in the Simple CSS area on another website, and it doesn’t work. No idea why. I cleared cash and cookies- doesn’t help. Can you take a look please. This is one of the pages on the site:
https://www.staging10.shamakern.com/how-to-cook-traditional-thai-sweets-village-style/October 17, 2017 at 12:39 pm #405148Leo
StaffCustomer SupportHi there,
Looks like it’s working to me?
I don’t see the paging navigation on that page: https://s1.postimg.org/3tf5vegx27/2017-10-17_1238.png
Let me know.
October 17, 2017 at 7:26 pm #405325October 17, 2017 at 11:23 pm #405368Tom
Lead DeveloperLead DeveloperThere’s an option to remove that in GPP 1.5, which is currently in beta: https://generatepress.com/gp-premium-1-5-alphabeta/
If that CSS isn’t working, it’s likely there’s a syntax error in the CSS above it. You can test by adding it to the top of your custom CSS.
October 18, 2017 at 8:31 pm #405977George
I tried putting it on top of the other CSS, but it still doesn’t work. This is strange, since I used the exact same code for another website which also uses GP, and it works just fine. Any ideas?
Do you have an approximate release date for GPP 1.5?October 18, 2017 at 11:48 pm #406035Tom
Lead DeveloperLead DeveloperThis is the page where it’s not working?: https://www.staging10.shamakern.com/how-to-cook-traditional-thai-sweets-village-style/
If so, it looks like it’s working now – I see the CSS, and the post navigation is hidden. Maybe try clearing your browser cache?
October 19, 2017 at 6:11 am #406229George
Too weird, I tried it in two browsers, cleared cache in both of them, and the CSS is not working. But you say it is working at your end. Now I am really confused how this is possible.
As you can see, the post date is still there – after I cleared cache:
https://www.screencast.com/t/v8EYjrmgOctober 19, 2017 at 8:56 am #406363Leo
StaffCustomer SupportBut you didn’t add the CSS to hide the date?
.entry-header .entry-meta { display: none; }
October 19, 2017 at 9:31 am #406392George
I used this CSS which worked perfectly on another website:
/*remove navigation links below posts*/
.post-navigation {
display: none;
}/*hide date on comments*/
.comment-metadata {
display: none;
}Now I added the CSS which you just gave me, and it works! Any reason why
.comment-metadata {
display: none;
}
is not working, and should I delete this?And do you have another CSS to get rid of the post navigation at the bottom?
Do you have an ETA for the stable version of GPP 1.5 which will eliminate the need for this CSS according to Tom?
October 19, 2017 at 11:08 am #406442Leo
StaffCustomer SupportThat only hides the date on comment I think.
The date, author and tag links can already be removed using the customizer options:
https://docs.generatepress.com/article/blog-overview/#blog-contentThe only one that’s not there is the post navigation which will be added in next version.
-
AuthorPosts
- You must be logged in to reply to this topic.