Archived topic
The banner of a particular page does not appear
5 replies · Started by Jean-Pol on July 1, 2020
On a site, I have 2 banners defined in Elements. One for the entire site EXCEPT a particular page, then one for this particular page.
I have configured as follows:
Banner 1: Entire site + exclude page "bric-à-brac" (orange color)
Banner 2: "Bric-a-brac" page (green color)
Unfortunately, it's banner 1 that appears everywhere, even on the "bric-à-brac" page.
How should you configure?
Hi there,
The display rules look good to me.
However, the color is set using a classes and CSS though so are you using a different class and different CSS for the Bric-a-brac page?
Let me know :)
I put the css of each banner above the html code of the banner in Elements
When I look at the source code of the pages (home and bric-à-brac), it's the same thing, while the 2 CSS and the 2 HTML of the headers must be different.
I put the css of each banner above the html code of the banner in Elements
Not sure if I understand. CSS should be added using one of these methods:
Adding CSS: https://docs.generatepress.com/article/adding-css/
(deleted)
Sorry what is the reply here?