The type of sliding box animation could be changed from its init function
MrGreensWorkshop opened this issue · 1 comments
MrGreensWorkshop commented
Is this enhancement or feature is related to a problem?
SlidingMsgBox were used for language_translation_offer_box feature
and cookie consent box.
However, the slide type is set as shown below. (It looks like it's only used for language_translation_offer_box)
MrGreen-JekyllTheme/_includes/default/sliding-msg-box.html
Lines 7 to 11 in 765026e
This could be easily misunderstood, as I did before. #135
Describe the solution you'd like
It may be possible to correct the misconfiguration by setting the slide type of the sliding box in its init function.
With this, we can individually set the slide type for both the language offer box and the cookie consent setting box at _data/conf/main.yml.
Describe alternatives you've considered
none
Additional context
none
MrGreensWorkshop commented
done with PR #137.