Masonry Grid - Google Fonts?
Permalink Browser Info Environment
I've probably done something silly or just missed something, but the <h3> markup in Masonry Grid is ignoring the h3 font I've defined in Google Fonts. Other areas on the page are taking the font, so I know Google Font integration works - can you advise what I need to do for the Masonry Grid to use Google Fonts?
Thanks!
Thanks!
Type: | Pre-Sale |
---|---|
Status: | In Progress |
Hi, just wondering if there had been any thoughts / updates surrounding this?
Thanks
Thanks
This is because the heading in the page list is often also a link (anchor tag).
The link font family is set in the theme customization/design options.
If you want to overwrite this then you would have to update the packages code.
We don't support changes to our packages so please make sure you make a back up before editing any files and make sure you make a note of what you've changed as if you upgrade the package at any point these changes will be lost.
You need to edit the main.less file here - packages/fundamental/themes/fundamental/css
On line 54 change...
to...
Then make sure you've cleared your cache etc.
The link font family is set in the theme customization/design options.
If you want to overwrite this then you would have to update the packages code.
We don't support changes to our packages so please make sure you make a back up before editing any files and make sure you make a note of what you've changed as if you upgrade the package at any point these changes will be lost.
You need to edit the main.less file here - packages/fundamental/themes/fundamental/css
On line 54 change...
font-family: @link-type-font-family;
to...
font-family: inherit;
Then make sure you've cleared your cache etc.
Is there any way that the page list will use Google Fonts? I could really do with a consistent font setup on the website using your theme.
Thanks in advance.