[Support request] possible to add container to exisiting blocks

Home Forums Support [Support request] possible to add container to exisiting blocks

Home Forums Support possible to add container to exisiting blocks

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1605508
    ken

    Hi there,

    I am wondering if it’s possile to add a container (in generateblock) for blocks/elements that already created or would I need to recreate everything?

    I realized that i need an additional container in this page to have a max width of a wrapper for all the circle. Currently, it’s a column that’ll fill up the page and hence the text below the circle would be too long, i also tried to have a max width for the text but it’s doesn’t work as the circles will take the full width of the page.

    Thanks!

    #1605699
    Leo
    Staff
    Customer Support

    Hi Ken,

    Are you referring to this section here?
    https://www.screencast.com/t/csCMQ4xopn4

    Looks like there is already a container outside the grid wrapper so setting the inner container to Contained should work:
    https://docs.generateblocks.com/article/container-overview/#inner-container

    Let me know if this helps πŸ™‚

    #1606842
    ken

    Hi Leo,

    Ah the container comes with a inner container, ok thanks!

    Is it also possible to set the inner container to center the whole container? It seems that the container is slightly to the left, maybe it’s because of the column option?

    #1606947
    Ying
    Staff
    Customer Support

    Hi Ken,

    The paragraph you added are not using Headline Blocks from GenerateBlocks, so it inherit the margin from the theme.

    You have 2 options here (I would recommend option 1):

    1) Redo the paragraph using Headline Block from GB (blue icon)
    https://docs.generateblocks.com/article/headline-overview/

    2) Add this CSS to center the text:

    p.circle, p.has-text-color {
        margin-left: auto;
        margin-right: auto;
    }

    Let me know πŸ™‚

    #1606976
    ken

    Hi Ying,

    Running out of time, so i took the easier option 2.

    Thanks!

    #1606977
    Ying
    Staff
    Customer Support

    You are welcome πŸ™‚

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