- This topic has 10 replies, 2 voices, and was last updated 9 years, 11 months ago by Tom.
-
AuthorPosts
-
October 2, 2014 at 3:18 am #36150KEvin
Hi,
I want a different header per page. I mean a header image on the right and text at the left of the header image. This ”extra header content per page” must be above the main content area and sidebars, but under the main navigation. Hard to explain (have a image made in paint, but can’t upload it here?)
October 2, 2014 at 11:15 am #36318TomLead DeveloperLead DeveloperHi Kevin,
If your navigation is below your header, and you want another header below the navigation, and want it different on every page, then our Page Header addon is what you’re looking for.
If you want the main header (where I have the GeneratePress logo above) to be different on each page, you’ll need to use the GP Hooks addon, and use PHP conditionals to target specific pages and show their respective headers.
Let me know if that makes sense – if you need to go the GP Hooks way, I can provide some code examples.
Thanks!
October 2, 2014 at 11:33 pm #36401KEvinHi Tom,
I have the page header and it worked. BUT I want text and an image. Now I only have text.
Can I add a slider shortcode in the page header? How do I have to do this, in the text area of the page header?October 3, 2014 at 10:44 am #36531TomLead DeveloperLead DeveloperAbsolutely – simply add the shortcode for your slider into the Content section of the Page Header.
Let me know if you have any problems with it π
October 8, 2014 at 12:22 am #37630KEvinHey Tom,
Actually I have one problem with it haha.
When I paste the shortcode into the page header (add on) content area, the slideshow shows up under the text. I want the slideshow on the right and the text on the left. I hope you understand me.
Do you know the solution?October 8, 2014 at 9:20 am #37765TomLead DeveloperLead DeveloperI’m not sure what you mean.
The Page Header addon should insert whatever you put into it above the content of the page.
You want the slideshow on the right of the content text? Floating?
Let me know π
October 9, 2014 at 4:25 am #38050KEvinHey Tom,
The slider works in the page header but it appears under the text. And I want to show it on the right side of the text. So in the page header: text left, slideshow right.
I hope you understand me now?
October 9, 2014 at 4:36 am #38054KEvinI made an image in paint to make it clear to you. This is what I want:
October 9, 2014 at 1:51 pm #38202TomLead DeveloperLead DeveloperThanks for the image – that helps a lot.
GeneratePress has a built in grid system which is super useful with stuff like this.
This should do what you’re looking for:
<div class="your-container-name grid-parent clearfix"> <div class="grid-30"> Your text in here. </div> <div class="grid-70"> Your slider shortcode in here. </div> </div>
That should do it π
October 10, 2014 at 12:27 am #38383KEvinHey Tom!
THANKS MATE for all your help, very useful! It works and I am very happy with it!!
October 10, 2014 at 10:23 am #38437TomLead DeveloperLead DeveloperGlad I could help! π
-
AuthorPosts
- You must be logged in to reply to this topic.