How to add many google fonts to slider

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

 Hello,

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="https://fonts.googleapis.com/css?family=Playfair+Display" rel="stylesheet">|<link href="https://fonts.googleapis.com/css?family=Gochi+Hand" rel="stylesheet">|<link href="https://fonts.googleapis.com/css?family=Berkshire+Swash" rel="stylesheet">|<link href="https://fonts.googleapis.com/css?family=Cookie" rel="stylesheet">

Here are result:

https://photos.app.goo.gl/27e8u6Q548Ta9feP8

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
cindy
Fri, 10/05/2018 - 00:53

Hello, 

If you are using MD Slider for Drupal 8, please modify file MDSliderConfigForm.php as in this screenshot http://prntscr.com/l2dk2g

Result: http://prntscr.com/l2dl7j

We provide instructions to add google fonts in config page already http://prntscr.com/l2dm8x

If you want to import several google fonts, you can choose at https://fonts.google.com

Ex:

- select two fonts and font style of each font http://prntscr.com/l2doc1

- get google fonts link http://prntscr.com/l2dp9f

- paste google fonts link to slider import box.

result: 

http://prntscr.com/l2dq42

http://prntscr.com/l2dqd6

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 https://prnt.sc/l2dqd6  

forus1983's picture
forus1983
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?

Thanks!

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

Hello

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: http://prntscr.com/l3eept

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.