[Support request] Putting a border around 2-3 paragraphs

Home Forums Support Putting a border around 2-3 paragraphs

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

    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?

    #970428
    David
    Staff
    Customer Support

    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;
    }
    #970446
    hoya

    Are there any other options? I prefer not to use the latest Gutenberg but wait till it’s released widely.

    #970471
    David
    Staff
    Customer Support

    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.

    #970487
    hoya

    Okay, no problem. Thanks for getting back to me so quickly!

    #970490
    David
    Staff
    Customer Support
    #1335771
    Heidi

    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!

    #1335786
    Leo
    Staff
    Customer Support

    Can you open a new topic for your question?

    Thanks 🙂

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