X-Mas is comming!

Tagged: , , ,

ThemeBurn SupportForumsOpenCart ThemesBurnEngineX-Mas is comming!

This topic has been marked as not resolved.

Hi everyone,

X-Mas is comming! Here is a little something to make your Theme X-Masly. It’s going to add falling snowflages to your background.

Go to Menu composer -> Header area -> Global -> add a HTML “Theme block” -> insert this code:


<script data-capture="0" type="text/javascript" defer src="//cdn.pi-case-designer.com/catalog/view/javascript/snowflake.js"></script>
<script type="text/javascript">
$(document).ready(function(){
$.fn.snow({
minSize: 5, // Minimumsize of the snowflake (px)
maxSize: 25, // Maximum size of the snowflake (px)
newOn: 350, // Frequency they fall (ms)
flakeColor: '#FFF' // Colour of the snowflake
});
});
</script>

Snow

I hope you enjoy it as much as I do :)

Ps.: If your Background is white you might want to change this line to:
flakeColor: '#99FFF' // Colour of the snowflake

November 9, 2017 at 2:28 pm #62441

Hi,

Thanks for submitting this little script. We’ve modified your code a bit so it can work with all optimizations options enabled.

BR,
ThemeBurn team

November 13, 2017 at 3:52 pm #62502
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.