- This topic has 8 replies, 2 voices, and was last updated 11 years, 1 month ago by
Tom.
-
AuthorPosts
-
January 19, 2015 at 5:54 am #66646
Pieter
Hi,
I don’t know how to explain in the title. But simple problem see
I want a picture before the content, and it must only be shown on the first page. I want it as shown on te website, so nothing white around it. But I want the right sidebar beside it. I want to have a picture, button or text in it. Now the sidebar starts beside the content, but needs to go up.
First I did it with a hook, but the hook shows on every page, so now I added the picture into the page (under putting the text into the page there is the option of the pageheader)
How can I fix this or is this even possible?Thanks in advance!
Gr. Pieter
January 19, 2015 at 5:55 am #66647Pieter
Link didn’t show up in my question I see
–> http://www.kaartjesvanpieter.nlJanuary 19, 2015 at 9:55 am #66702Tom
Lead DeveloperLead DeveloperHi there,
Have you tried the Page Header add-on? It allows you to place the page header above the content (as it is now), or inside the content (next to the sidebar).
Let me know 🙂
January 19, 2015 at 2:11 pm #66806Pieter
Hi Tom,
Thank you for your response. That’s exactly how I want it, but it keeps adding the white padding around the picture… See the website. I don’t know what I’m doing wrong.
Gr. Pieter
January 20, 2015 at 3:51 pm #67151Tom
Lead DeveloperLead DeveloperGive this CSS a try:
.inside-article .page-header-image { margin: -40px -40px 40px !important; }You may have to adjust the 40px depending on what you have set in the Spacing options.
Let me know 🙂
January 21, 2015 at 1:25 am #67282Pieter
Hi Tom,
Thanks, that did the job!
But I has not to be this way? I mean, if I look at the 2nd youtube video on the page header page –> http://generatepress.com/downloads/generate-page-header/ on 33sec. it’s works just in a flow, without using extra css code…
But it works for me now!
Thanks again and also for the great theme, ad-ons and support!
Gr. Pieter
January 21, 2015 at 12:23 pm #67394Tom
Lead DeveloperLead DeveloperA couple of our child themes have this style by default, but the main parent theme doesn’t.
Looking into adding this option into the Page Header add-on 🙂
January 21, 2015 at 11:34 pm #67557Pieter
Ah, I see! Well thanks again for the quick response!
Gave you a 5 star rating on wordpress.org! 🙂
Gr. Pieter
January 22, 2015 at 12:08 am #67561Tom
Lead DeveloperLead DeveloperThank you! 🙂
-
AuthorPosts
- You must be logged in to reply to this topic.