[Resolved] Frame around content

Home Forums Support [Resolved] Frame around content

Home Forums Support Frame around content

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #749089
    Rui

    Hi!

    I would like to make a kind of frame around my Blog container,
    like shown in this pic: http://www.astronomia.space/image.jpg (yellow arrow)

    How could I do with CSS?

    Thanks!

    #749092
    Leo
    Staff
    Customer Support

    Hi there,

    Would something like this help?
    https://docs.generatepress.com/article/adding-a-container-wrapper/

    If not can you link me to the page in question?

    #749106
    Rui

    Thanks, Leo!

    Well, the wrapper I had in mind was more like a bar not a shadow.
    The original site I saw is: http://www.zenite.nu/buracos-negros/ (but it does not use GP). See the gray little bar around the whole content? Something like that, with just 5px width or so.

    #749111
    Leo
    Staff
    Customer Support

    You can just modify the CSS:

    .site-wrapper {
        border: 2px solid #222;
    }
    #749603
    Rui

    Just perfect, Leo! Thank you.

    I only put ‘After Header’ hook in GP Hooks, because ‘Before Header’ (as told in https://docs.generatepress.com/article/adding-a-container-wrapper/) will narrow the header.

    #749856
    Leo
    Staff
    Customer Support

    No problem 🙂

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