• Resolved twgerber

    (@twgerber)


    How can I add a border to the container?

    I’d like to specify a border style and width and so on. Which div is best to change?

    .ab-container-content adjustments {border:5px ridge #d3d3d3}
    .wp-block-atomic-blocks-ab-container {border:5px ridge #d3d3d3}

    I am surprised this option isn’t given OOTB.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author atomicblocks

    (@atomicblocks)

    Hi there,

    It depends on your use case, but generally I would say you could apply a border to .ab-block-container. We want to be careful about adding too many options and styles until we know how Gutenberg will shape up in the future. For now, this could be done with some CSS!

    Thread Starter twgerber

    (@twgerber)

    Is the CSS above correct? Sorry a bit new to css ??

    Thread Starter twgerber

    (@twgerber)

    I got my border working. Thx

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘AB Container – add border’ is closed to new replies.