[Resolved] Show sidebar beside "image before content"

Home Forums Support [Resolved] Show sidebar beside "image before content"

Home Forums Support Show sidebar beside "image before content"

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #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

    #66647
    Pieter

    Link didn’t show up in my question I see
    –> http://www.kaartjesvanpieter.nl

    #66702
    Tom
    Lead Developer
    Lead Developer

    Hi 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 πŸ™‚

    #66806
    Pieter

    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

    #67151
    Tom
    Lead Developer
    Lead Developer

    Give 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 πŸ™‚

    #67282
    Pieter

    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

    #67394
    Tom
    Lead Developer
    Lead Developer

    A 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 πŸ™‚

    #67557
    Pieter

    Ah, I see! Well thanks again for the quick response!

    Gave you a 5 star rating on wordpress.org! πŸ™‚

    Gr. Pieter

    #67561
    Tom
    Lead Developer
    Lead Developer

    Thank you! πŸ™‚

Viewing 9 posts - 1 through 9 (of 9 total)
  • You must be logged in to reply to this topic.