Still unable to set the colour of links and delimiters in Breadcrumbs

Hi Theme.co,

Just as a follow-up to this post:

I’ve made the changes as requested in https://theme.co/forum/t/still-cant-set-the-colour-of-breadcumbs-links-and-or-delimiters-using-dynamic-content/107857/3, but it’s still not working. In trying to diagnose this issue further, it looks like it’s down to CSS variables not being set somewhere.

When I set the property using {{dc:archive:meta key="hero_fg" fallback="#ffffff"}} on other elements, you’re setting the colour using a CSS variable on the element - in the case of the h2 heading, you’re using the variable --tco-dccs11-0 as shown in the screenshot below:

Screenshot 2024-02-09 at 18.22.58

This variable is set, and has a value of #ffffff, as expected. However, on the Breadcrumbs, it looks like the CSS variable name is being used in the CSS color attribute, but the variable itself isn’t being set:

Screenshot 2024-02-09 at 18.23.55

As a reminder, I’m using exactly the same value ({{dc:archive:meta key="hero_fg" fallback="#ffffff"}}) on both items, and the colour is working just fine on other elements – just not those within the Breadcrumbs. The --tco-dccs10-0 variable just doesn’t appear to be set.

I’ve also switched the value to {{dc:archive:meta key="hero_fg" fallback="#ffffff"}} and this doesn’t work either. And, just to prove that both values work:

Hoping this helps you to isolate the root cause of the issue. (I’m temporarily using the fallback value of #fallback to show that the actual value is being retrieved from the achive/term meta.)

Thanks,
Anthony

Hey Anthony,

I believe that this is a bug in the latest release of the theme. This will be added to our issue so that our developer will be informed.

Please bear with us.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.