Archived topic
Putting a border around 2-3 paragraphs
9 replies · Started by hoya on July 29, 2019
I have GeneratePress. When using the Wordpress Gutenberg editor, is there a way to put a border around 2-3 paragraphs along with a photo or two in order to set it apart from the rest of the page? Would I need to add CSS in the Wordpress editor, or something I need to do within GeneratePress?
Hi there,
if you install the Gutenberg Plugin ( which provides the latest version of the editor):
https://en-gb.wordpress.org/plugins/gutenberg/
This version has a Group Block so you can wrap as many blocks within it, then on the Advanced tab for the group block give it an an Additional CSS Class eg. custom-group
Then you can use some CSS to style that:
.custom-group {
padding: 10px;
border: 1px solid #ccc;
}
Are there any other options? I prefer not to use the latest Gutenberg but wait till it's released widely.
Not without using HTML or a 3rd party plugin that provides a section / group block.
We are working on our own Block plugin that will provide this functionality - but it won't be available for a while.
Okay, no problem. Thanks for getting back to me so quickly!
You're welcome.
I have the new Generate Blocks plugin and would like to put a border around some text in a block. I see in the color section there is an option to put a color for a border, but when I do, nothing shows up. Am I doing something wrong? Is that not to make a border in that block? I am brand new to GeneratePress and Gutenberg (former Divi user) and I'm trying to relearn everything.
Thanks!
Can you open a new topic for your question?
Thanks :)
I want to put a border around text like the same: https://ibb.co/0XZ6qKL
Hi there,
can you raise a new topic where we can assist you directly.