Hi,
i would like to add this custom code to all my pages (it’s snowflakes for christmas)
#snowflakeContainer {
position: absolute;
left: 0px;
top: 0px;
}
.snowflake {
padding-left: 15px;
font-family: Cambria, Georgia, serif;
font-size: 14px;
line-height: 24px;
position: fixed;
color: #FFFFFF;
user-select: none;
z-index: 1000;
}
.snowflake:hover {
cursor: default;
}
<div id="snowflakeContainer">
<p class="snowflake">*</p>
</div>
<script src="https://erreur42.fr/fallingsnow_v6.js"></script>
I’ve tried to put this in header.php like As I was doing with my previous theme but it doesnt work đ
Thanks in advance !
-
This topic was modified 9 years by
DarkStarzs.
Hello DarkStarzs,
All the custom CSS code should have been added in Custom Box area, from Theme panel, like this -> http://screencast.com/t/oGQu2iGG
Thanks for the message!
Hi, thanks for the reply
I’ve added the CSS in the part but i need to put this
<div id="snowflakeContainer">
<p class="snowflake">*</p>
</div>
<script src="https://erreur42.fr/fallingsnow_v6.js"></script>
in an HTML document, when i add this to “Custom HTML” field in the admin panel (https://puu.sh/sNXOq/418d1bceab.png) the snowflakes appear only under the footer (and make the page bug) : https://puu.sh/sNXRe/610eced6d1.png
Thanks !
PS: Thanks cloin1 for this tip (I had never heard of it :o) but i prefer my script ^^’
Hello DarkStarzs,
Unfortunately, I do not know what type of code you have added in this section and also, we cannot provide support for your additional customizations. Please notice that all you can say is that there you need to put the code. Regarding on code functionality, you should fix yourself because we cannot provide custom work at the moment, sorry!
Thanks for your understanding!
