AMP fonts and language

Posted in: Newspaper
Post count: 35

Hi everybody,

for AMP sites, I don’t see any possibility to change the font for comments. Although I set other fonts, that does not apply to AMP site, as you can see here: https://imgur.com/a/55gKYTN

Also, the language is set to English at some parts, for example search: https://imgur.com/a/anKvBMU

How can I change these? Thanks a lot in advance.

Post count: 18283

Hello !

For the fonts you will have to do it via CSS. Please provide a link to your website in order to take a look.

The language can be set from Theme panel – Translations.

Thank you !

Post count: 35

Hi,

thanks a lot for your help. Here is a link to an AMP site: http://test2.skispringen.com/2020/04/andreas-wellinger-erleidet-schluesselbeinbruch/?amp (login with user / userpasswd)

Post count: 35

Hi,

thanks a lot for your help. Here is a link to an AMP site: http://test2.skispringen.com/2020/04/andreas-wellinger-erleidet-schluesselbeinbruch/?amp (login with user / userpasswd)

The translations setting in Theme Panel does not affect the AMP page – for example Search. So I already translated “Search” into German and it works for the normal website, but on AMP it’s still English.

Post count: 35449

Hi,

Indeed the font style is not apply, what you can do is to use a custom css like this one
.comment .comment-content, .comment .comment-content p {
font-family: "Open Sans";
}

If you are using the mobile theme plugin with amp, then you can set it here -> https://i.imgur.com/GBLhxs0.png

In amp version is set a placeholder for Search…, this can be change only in theme files wp-content/plugins/td-composer/mobile/header-amp.php -> https://i.imgur.com/Vv97OdL.png

Thank you!

Viewing 5 posts - 1 through 5 (of 5 total)
The forum ‘Newspaper’ is closed to new topics and replies.