[Resolved] Frame around section

Home Forums Support [Resolved] Frame around section

Home Forums Support Frame around section

  • This topic has 7 replies, 2 voices, and was last updated 7 years ago by Leo.
Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #300497
    Kevin

    Hello, it’s possible to add a frame around a section?

    #300499
    Leo
    Staff
    Customer Support

    Hi Kevin,

    Try this:
    – Add this CSS:

    .section-border {
        border: 2px solid #000;
    }

    Adding CSS: https://docs.generatepress.com/article/adding-css/

    – For the section you want to add a border, add the section-border class to the Custom Classes field:
    https://docs.generatepress.com/article/sections-overview/#opening-the-section-settings

    Let me know.

    #300732
    Kevin

    hey Leo don’t works, I try different possibilities. But no one work. Maybe other CSS Style?

    #300755
    Leo
    Staff
    Customer Support

    It should work.

    Can you provide a link to the page where it’s not working?

    Thanks!

    #300757
    Kevin

    I only copy and paste the css

    #300761
    Leo
    Staff
    Customer Support

    Looks like you copied and pasted everything into the Custom Classes field.

    Can you try again following the instruction I provided above?

    The CSS code should be added using one of these methods: https://docs.generatepress.com/article/adding-css/

    Then all you should be adding in the Custom Classes field is section-border.

    Let me know if this makes sense.

    #300768
    Kevin

    ahhhh now it works ๐Ÿ˜€ thx for your help. Now I understood

    #300771
    Leo
    Staff
    Customer Support

    You’re welcome ๐Ÿ™‚

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