Archived topic
Revolution slider before header
4 replies · Started by Óscar on December 12, 2018
Hi, I want to put a rev slider before my navbar in the homepage.
How could I do it?
Hi there,
create a new hook element:
https://docs.generatepress.com/article/hooks-element-overview/
Add your slide shortcode to to the content.
Select the after_header hook.
Check the Execute Shortcodes
Set the priority to 1
On display rules set where you want it displayed.
This is assuming you have the navigation set to after the header. If not let us know or provide me access to the site so i can see :)
I think it's not working.
I want to display the rev slider above the navbar and also header. Only on homepage.
I've selected priority one, execute shortcode and display rules only on the page I want it, but nothing happens.
My navigation is not after the header, is stacked I think.
Ok the problem is the display rule. If it's in the entire site it works properly. But when I try to apply only in the homepage, it doesn't shows...
Why is this even possible?
EDIT: It's because it was the homepage, so it got fixed setting "front page" in display rules.
Looks like you got it resolved. Let me know.