Theme font options do not match the dynamic data (pro 6.5.11)

If I use a custom font in the theme options to assign it to the body and header, this works as intended with body and h# elements.

But if I want to access this font option for other elements, I get incorrect data from the dynamic theme options:

Theme options:
screenshot_ 2024-11-27 um 15.20.36 screenshot_ 2024-11-27 um 15.20.45

Dynamic content over {{dc:theme:…:

screenshot_ 2024-11-27 um 15.21.29 screenshot_ 2024-11-27 um 15.22.00

In this example i get Lato instead of Lexend.

Hello @Regnalf,

Thanks for writing in! Using the {{dc:theme:x_body_font_family}} will return the saved font family from the Theme Options when the Font Manager is not enabled. When it is enabled, you might need to have something like: {{dc:global:font id="dc03251263c6ac0f8b14bf802bd0b361"}} which may not be available as of the moment. I will ask our developers for some inputs here.

Please bear with us.

It would be x_headings_font_family_selection not x_headings_font_family. Cornerstone uses the later when Font Manager is disabled. If Font Manager is enabled (which it is by default for newer sites) you would use the _selection based theme options. Let us know if that helps.

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