Demo Templates - Byron Center, MI

Buttons should have site colors from very beginning instead of just the standard gray

Assigned to
Kyle Sullivan, Web Development at Diocesan Kyle S.

Comments & Events

Kyle Sullivan, Web Development at Diocesan
I've added this on the Dev Site, the Demo Site, the Design Site and the Showcase Site.
Kyle Sullivan, Web Development at Diocesan
Kyle Sullivan completed this to-do.
Kyle Sullivan, Web Development at Diocesan
The following should be inserted in custom.php, around line 203.
.wp-block-button__link {
  background: <?= get_field('primary_color', 'options'); ?> !important;
  border: 0;
  color: #FFFFFF;
  font-family: <?= $fontMain; ?> !important;
  transition: 0.25s ease-in;
}
  .wp-block-button__link:hover, .wp-block-button__link:focus {
    background: <?= get_field('secondary_color', 'options'); ?> !important;
  }