How to optimize the Glyphicons font with font-display: swap ?

I want to optimize the loading of the Glyphicons font for the Google PageSpeed Insights tool. I need to apply the CSS code below :

font-display: swap

Here is the location of my font :

https://www.example.com/themes/custom/bootstrap_subtheme_front_office_old/bootstrap/assets/fonts/bootstrap/glyphicons-halflings-regular.woff2

Translate READ MORE at article overview page

Hello,

I want to translate the "READ MORE" text, located at the /node page with the article overview, however i cannot find where to change this. To try to translate, i did try to find it at the translate page, located at /admin/config/regional/translate, however i am not finding a string with "READ MORE".

Where can i find this to be translated? 

Best regards,

Roland

When Check button is pressed(h5p)

Hi everyone

I'm new to Drupal and i would like to ask something because i m creating my own module( PHP ).

I would like to capture when the check button in an h5p quiz (question set or multiple choice ) is pressed.

How can i do this?

Is there maybe a specific function or an event that is triggered when the check button is pressed?

 

Thanks in advance

Ajax Form Callback deletes all properties

Hi,

I have a form for a single dropdown select that uses a callback on change to update some elements on the page and make a few calls to an API, to update values in the API. Here's the code:

Drupal 7 -> 8 upgrade -- just need book content

I'm dipping my toes into the Drupal 8 waters. I have a Drupal 7 site which I'm going to upgrade to Drupal 8 and complete overhaul the design (building from scratch). In testing the 7 -> 8 migration, I'm finding it's bringing over a lot of cruft that isn't easy to strip out. All I need from the old site is the book content. Is there any way to bring just that over?

Google Translate changes HTML - Removes link

Hi there,

I have recently developed a website for my local council, and am having some trouble getting Google's online translate feature to work on a specific portion of it.

The website currently uses Bing translate successfully, but the business have asked to move to Google translate as my local area has a large population of people who speak languages not supported by Bing Translate.

Pages

Subscribe with RSS Subscribe to RSS - Drupal 8.x