[Resolved] is there a "wrapper" to target for styling

Home Forums Support [Resolved] is there a "wrapper" to target for styling

Home Forums Support is there a "wrapper" to target for styling

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #226655
    Duncan

    If my header, nav and footer are all contained, is there a div that contains the whole lot that I can target for styling?

    For example, this site has a thin green border around all of the content, and a margin applied top and bottom.

    Is there a way to achieve this with GeneratePress?

    Thanks

    #227938
    Duncan

    OK, so I guess I could add borders to header, main content and footer separately to achieve what I want, but that wouldn’t work if I wanted to use a box shadow.

    So the question is still the same – is there a div that I can target for styling that wraps around the header, main content and footer (when they are contained)?

    Thanks

    #228089
    Jamal

    Hi

    I think this is what you are looking for https://generatepress.com/forums/topic/can-generate-press-create-frames/#post-118821

    On step 3 where you add the css, you need top and bottom margins so this should be your complete css

    .full-container {
          box-shadow: 0 10px 10px #555555;
          border: 5px solid #222222;
          margin-top: 20px;
          margin-bottom: 20px;
    }

    Agressively support the kind of work you want to see. Buy it. Talk about it. Review it.

    #228142
    Tom
    Lead Developer
    Lead Developer

    Thanks, Jamal ๐Ÿ™‚

    Not sure how I missed this topic, sorry Duncan!

    #228362
    Duncan

    Thanks Jamal! I never thought of using the hooks, but that solution is perfect!

    Hey Tom, no problem – I’m amazed that you keep up with all these posts!

    #228503
    Tom
    Lead Developer
    Lead Developer

    I’ll catch the next one! ๐Ÿ™‚

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