Archived topic
Frame around section
7 replies · Started by Kevin on April 1, 2017
Hello, it's possible to add a frame around a section?
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.
hey Leo don't works, I try different possibilities. But no one work. Maybe other CSS Style?
It should work.
Can you provide a link to the page where it's not working?
Thanks!
I only copy and paste the css
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.
ahhhh now it works :D thx for your help. Now I understood
You're welcome :)