Site logo

[Resolved] Two Content Areas?

Home Forums Support [Resolved] Two Content Areas?

Home Forums Support Two Content Areas?

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #167586
    Mary Pearson

    Hi Tom,

    Is it possible to add a second “content” area?

    Please see http://caribecampo.com/

    I would like to continue the page by adding full width content with text and slideshow – i.e. no sidebars below the level of the bottom of the picture.

    Is this possible?
    Thanks!

    #167602
    Tom
    Lead Developer
    Lead Developer

    You would have to use GP Hooks to add a container outside of the content container.

    You would also have to apply the appropriate styling to your second content area, and use conditionals to apply it to specific pages: https://generatepress.com/forums/topic/slider-6/#post-167593

    #167606
    Mary Pearson

    Thanks for your guidance Tom and for the link. It’s exactly what I needed to get me started!

    #167615
    Tom
    Lead Developer
    Lead Developer

    No problem 🙂

    #167714
    Mary Pearson

    Tom, can you tell me how to put it in a separate box please. I want to make the box the full width and put a border around it.

    Thanks!

    #167755
    Tom
    Lead Developer
    Lead Developer

    You’ll need to use HTML/CSS:

    <div class="my-box">
         My content
    </div>

    And then the CSS:

    .my-box {
        background: white;
        border: 1px solid #DDD;
    }
    #167759
    Mary Pearson

    You are an absolute gem!!!! Thank you so much!

    #167760
    Tom
    Lead Developer
    Lead Developer

    You’re welcome 🙂

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