- This topic has 9 replies, 3 voices, and was last updated 2 years, 11 months ago by
Leo.
-
AuthorPosts
-
February 17, 2020 at 2:44 pm #1168550
Bram
A new subject came up:
By adding a categorie (Geestkracht) for my two posts on the page editor, I found out that by clicking on the categorie on the homepage, or elswhere in the footer on other pages, a page Geestkracht opened with a blank headerbackround.
Is this actually a new page that you have add a new headereffect on(colors etc)? Or simply use the header options in elements (dislplay rules location)?
https://rickmoeliker.nl/category/geestkracht/I should like to have the page as shown in this example website https://geldkanon.nl/category/geldtips/
Kind regards
BramFebruary 17, 2020 at 3:20 pm #1168562Leo
StaffCustomer SupportHi there,
You would need to create page hero with this as the content:
Categorie: {{post_title}}
Then assign that to the post category archives in display rules.
Let me know if this helps π
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/February 18, 2020 at 8:26 am #1169327Bram
Hi Leo, thanks for your help, but I sunk into a weard problem.
The categorie page was fine as you discribed.
But suddenly the postpage Uitvindingen came up with the header of the postpage Creativiteit.
Whatever I tried, install image again etc, nothing seems to help. And now I am turning into circles.
Also I have disabled the page Categorie, to go back to the old situation, no result.
It looks like I have caused a conflict between the pages.
Please give me some suggestions.https://rickmoeliker.nl/uitvindingen/
Kind regards,
BramFebruary 18, 2020 at 9:19 am #1169385Leo
StaffCustomer SupportJust sounds like some conflicts in display rules:
https://docs.generatepress.com/article/conflicting-display-rules/Can you make sure to appropriate exclusions under display rules?
Let me know π
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/February 19, 2020 at 4:08 am #1170123Bram
Hi Leo, Thanks very much, with exclusions ‘entire’ site for the different posts, the problem is solved.
There is one left. On the created page categorie Geestkracht, you can see the title ‘Geestkracht’ in the white content (https://rickmoeliker.nl/category/geestkracht/)
Can I hide this title? The title in the header is perfect.Kind regards,
BramFebruary 19, 2020 at 6:26 am #1170252David
StaffCustomer SupportHi there,
add this PHP snippet:
add_action( 'after_setup_theme', function() { remove_action( 'generate_archive_title', 'generate_archive_title' ); } );
https://docs.generatepress.com/article/adding-php/
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/February 19, 2020 at 8:15 am #1170563Bram
Sorry David, but where exactly do I have to place this snippet?
I tried extra css, but the answer is : Unexpected token!Kind regards,
BramFebruary 19, 2020 at 9:04 am #1170629Leo
StaffCustomer SupportThat is PHP: https://docs.generatepress.com/article/adding-php/
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/February 19, 2020 at 1:15 pm #1170860Bram
Again great job!
Thank you very much!!!Kibd regards,
BramFebruary 19, 2020 at 4:58 pm #1170978Leo
StaffCustomer SupportNo problem π
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/ -
AuthorPosts
- You must be logged in to reply to this topic.