• How do I put a divider line between columns in the gutenberg columns block?

    • This topic was modified 2 years, 1 month ago by Jan Dembowski. Reason: Moved to Fixing WordPress, this is not an Developing with WordPress topic

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Moderator bcworkz

    (@bcworkz)

    Some custom CSS adding a left or right border to the appropriate column should do the trick. If you add custom CSS classes to the columns, it’ll be easier to target them with CSS selectors. You can fiddle with the padding and margin styling to get the border line positioned where you want it.

    You might consider instead applying a custom background color to the columns. These can be specified in the block settings, saving you from needing to come up with custom CSS. IMO color backgrounds do a better job of separating columns than a divider line would do.

Viewing 1 replies (of 1 total)
  • The topic ‘Column block dividers’ is closed to new replies.