Demo Templates - Byron Center, MI

Page - Button seems like it should float in the container and just move to its own line

Assigned to
Kyle Sullivan, Web Development at Diocesan Kyle S.
Notes
2021 theme (still not great obviously) vs Robert theme
https://robert.diocesanweb.org/faith-formation/child-formation/
Here are the classes that need to change on Desktop/Laptop and from what I saw on mobile, only need one class removed/changed. 
  • .wp-block-buttons.is-content-justification-center: add text-align: center
  • .wp-block-buttons.is-content-justification-right: add text-align: right
  • .wp-block-buttons: change display: flex to display: block
  • Mobile: .wp-block-buttons>.wp-block-button:last-child: remove the margin-right: 0;
With those three (four with the justification-right thing) things changed and added button to show that it works.

Comments & Events

Kyle Sullivan, Web Development at Diocesan
I've added the following to the Parent Theme and have pushed it to the Showcase Site. Is this correct, Cody Armock, Web Content Specialist at Diocesan Cody ? Please advise if so, and I'll push this to the other sites.
.wp-block-buttons {
  display: block;
  &.is-content-justification-center {
    text-align: center;
  }

  &.is-content-justification-right {
    text-align: right;
  }

  @media screen and (max-width: 576px) {
    &>.wp-block-button:last-child {
      margin-right: initial;
    }
  }
}

Cody Armock, Web Content Specialist at Diocesan
Looks like it would have the desired effect!
Kyle Sullivan, Web Development at Diocesan
Kyle Sullivan completed this to-do.