I would like to integrate the Requiem's animatedblock into template G5-Helium, but I have a problem to identify where I have to change code so the particle can read out the fonts and more.
After copy the files animatedblock.html.twig, animatedblock.yaml and _animatedblock.scss I have added @import "animatedblock"; to my custom.scss and performed recompile CSS but get an error "Undefined variable $font-family-promo".
What can I do to make sure the particle can read the font-value?
I will use the particle to have a tile menu because I'm not able to write a new particle, not yet, but I will learn how can I do this to be able to link existing menu entries
Thanks a lot in advance for your help.
Regards,
Daniel
I think the issue is in line 32 / _animatedblock.scss:
font-family: get-font-family($font-family-promo);
Re: How integrate Requiem'2 "animatedblock" particle
Posted 8 years 7 months ago
I have analyzed the issue, the variable "$font-family-promo" not exists in template G5-Helium
The variable "$font-family-promo" in the original template was declared within the configuration file "_typography.scss", but within the same file in G5-Helium not. To solve the issue, I replaced "$font-family-promo" with one of the G5-Helium variables (="$font-family-default") and it works now.
Re: How integrate Requiem'2 "animatedblock" particle
Posted 8 years 7 months ago
Dear all,
I have a second question...
By mouseover the desciption scroll up and I can klick "Read more ..." to open the link. I know it works as designed, but how can I change the particle so the link will works no matter where I click in the block?
The link should work when I click on the block like a image with link.
Re: How integrate Requiem'2 "animatedblock" particle
Posted 8 years 5 months ago
Are you still having an issue? 1 Issue per thread only please.
Please also note that when you reply to your own thread you take it out of our moderator queue... best to only reply to yourself/original post if you've solved your own issue... otherwise just Edit your first post until a Mod replies
SEARCH the forum first! These boards are rich in knowledge and vast in topics. This includes searching just the 'Solved' forums, using Google, and using ChatGPT