How to add many google fonts to slider

forus1983's picture
Thu, 10/04/2018 - 04:50
How to add many google fonts to slider


I have some questions:

 1.Pls help to guide how to add many google fonts to slider? I tried to add google fonts as instruction in slider configure but error in @import space. And many fonts error.

Here are what i did in @import space:

<link href="" rel="stylesheet">|<link href="" rel="stylesheet">|<link href="" rel="stylesheet">|<link href="" rel="stylesheet">

Here are result:

2. Incase i use 1 slier only - no animation, no movement - same as a normal banner --> how to set?

3. I can not write the Italic or Bold words - there is not this function?

Thank you!

cindy's picture
Fri, 10/05/2018 - 00:53


If you are using MD Slider for Drupal 8, please modify file MDSliderConfigForm.php as in this screenshot


We provide instructions to add google fonts in config page already

If you want to import several google fonts, you can choose at


- select two fonts and font style of each font

- get google fonts link

- paste google fonts link to slider import box.


In case you have only one slide and you want it to display as header banner, please uncheck option auto play, show bullet, show next previous button, show thumbnail in page config slider

Font style depends on the font you set for text  

forus1983's picture
Fri, 10/05/2018 - 04:16

Hi Cindy,

Thank you very much for ur detail instruction!

I want to use Megaslider to make many banners with different content on my website: Home, categories, blog. Is there any problem and any special instruction?


cindy's picture
Mon, 10/08/2018 - 00:08


Our module is made for creating slider. So, if you want to creat banner (slider with 1 slide only). you please follow our suggested settings above. You can create several sliders (each slider has 1 slide only) then go to /admin/structure/block, assign those blocks slider to region. Then you have to config to show block to display on a certain page:

Log in or register to post comments
Have More Idea?

We are here to build your website!

No Universal solution fits all special business requirements. Our experienced team is ready with ideas and state-of-the-art technical solutions to consult the best solution within your budget.