Snowflakes

Started by Skhilled, December 23, 2024, 08:36:17 PM

Previous topic - Next topic

Dave

Is there a way to have the Diverse and Halloween choices behind the css wrapper? I would like falling leaves for my new autumn theme, currently under construction, which you can see here

I've tried changing the z-index but that doesn't work, it seems your mod is 'always on top'.
If you want play quizzes or games click below

Chen Zhen

#16
In the current stable version there isn't an option for this.
However, in the beta/rc download section I've included version 1.87-RC1 which you can try out.

I've added additional settings for the 2 Snowflakes effect types that you are targeting.
For the new parent container setting I suggest using #footerfix and check the Z-Index box.

This is assuming your custom theme is based off of the default theme & uses some of the initial class names.
If this is different then pick a container at the onset of the page after the body tag (experiment ~ trial & error).

If the class or id does not exist it will just use the default which is attaching itself to the body tag.

SMF-Snowflakes v1.87-RC1

Dave

Quote from: Chen Zhen on June 07, 2026, 03:51:35 AMIn the current stable version there isn't an option for this.
However, in the beta/rc download section I've included version 1.87-RC1 which you can try out.

I've added additional settings for the 2 Snowflakes effect types that you are targeting.
For the new parent container setting I suggest using #footerfix and check the Z-Index box.

This is assuming your custom theme is based off of the default theme & uses some of the initial class names.
If this is different then pick a container at the onset of the page after the body tag (experiment ~ trial & error).

If the class or id does not exist it will just use the default which is attaching itself to the body tag.

SMF-Snowflakes v1.87-RC1


Has anyone ever told you you're brilliant  ;) it works just as I want it to, thank you. Have a look here.

I'll change the leaf image but for the time being I'll leave it so it's easy to see
If you want play quizzes or games click below

Dave

#18
Houston we have a problem.

I didn't realise there had been an update for this mod since 1.83, so I wasn't aware of the latest issue until today.

In v1.86 and the latest v1.87RC1 when you use 'Diverse' and select leaf.png the colour does not change on the settings, the colour overrides the look of the leaf itself and the leaves are blue, it doesn't do this in v1.83.

I have tried all combinations of settings but on Diverse and any leaf is blue

That's why I said in the previous post
QuoteI'll change the leaf image but for the time being I'll leave it so it's easy to see
I thought it was an option to change the colours of the leaves

See attached
If you want play quizzes or games click below

Chen Zhen


RC2 is now available.
I took away the class/id setting and just left the checkbox.
This time it simply moves the effect to the first child of the body and flips the z-indexes so the effect appears behind the other content. Perhaps I should have left it as it was because some themes might take the full width of the body.

I tested the leaf color & it works fine for me.
The hex color you've shown in your example image is blue so that is why you are getting blue leaves.

Try this: #008000

Chen Zhen


I changed it to a "nth child" setting.
For your environment this will be set to 1 which just means the snowflakes will be attached to the 1st child of the body which is #footerfix.

Dave

#21
Thank you

The main reason for the report was that in v1.83 the leaves were the natural colour you created/supplied, the option for colour when a 'leaf' is chosen from the dropbox disappears when it's selected. Now the colour option remains and you need to add a colour for the leaves.

With your v1.83 the leaves look more natural.

I've taken another screenshot so you can see the definition of the leaves

If you want play quizzes or games click below