Links in Ping Pong block do not inherit Canada theme styles

Created on 8 April 2025, about 1 month ago

Problem

When using the Ping Pong block on sites that use Canadian branding colors, links inside the block retain default Y-USA styling. This happens because the block does not properly inherit styles from the ws_colorway_canada module, which defines the correct Canadian colorway. As a result, links appear with incorrect colors, causing inconsistency with Canadian branding, especially on sites such as ywinnipeg.ca.

Steps to Reproduce:

  • Log in to the site (e.g., ywinnipeg.ca) as an admin/editor.
  • Create a new Landing Page.
  • On the newly created Landing Page, click "Layout" to open Layout Builder.
  • Add the Ping Pong block
  • In the Description field of any Ping Pong item, add a link, for example: <a href="https://example.com/register">Register online</a>
  • Save the block and layout.
  • View the landing page on the frontend.

Solution

This issue is resolved by ensuring link styling within the Ping Pong block inherits colors and styles from the ws_colorway_canada definitions. The fix provides consistent branding across Canada-themed implementations.

πŸ› Bug report
Status

Needs review

Version

1.2

Component

Code

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024