Archived topic
Create second Hero Image Header
2 replies · Started by Daniel on November 28, 2020
Hey,
I need your help with creating a second header above or below my navigation bar (menu). I already made a header with Generatepress --> Elements --> Header to show a Hero Image on my Homepage and my Category Pages.
But now a company reached out to me and would like to publish an AD Banner on my site. The AD Banner should be sitewide and situated above or below the navigation bar. I would like to keep my Hero Image Headers but also want to add the Banner AD.
How can I achieve this?
- Homepage Header as Hero Image
- Category Page with Header as Hero Image
Thanks,
Daniel
Already solved it.
Hi there,
use the Hook Element to place your Ad code in the generate_before_header hook
https://docs.generatepress.com/article/hooks-element-overview/