Closed FelixINX closed 8 years ago
Hey @FelixINX,
To set the particles at the background you have to create an empty div with the particles.js class with a fixed or absolute position, like on this page (check the #particles-js div) : http://devserver.me/pjs/issue-fullpage/
This dosen't seem to work, here is the repo of my website : https://github.com/FelixINX/felixinx.me
Maybe is the CSS of my template fault?
Add top and left:
#particles-js {
position: fixed;
z-index: 50;
width: 100%;
height: 100%;
top: 0;
left: 0;
}
Yes it works! But, it is on top of my content, have you any idea?
On your content div:
.is-loading {
z-index: 100;
position: relative;
}
Works now on local. Will be pushing online soon.
Thank you very much! And, particle.js is just, awesome!
Hi I managed to do this but having it as a background disables all interactions. Is that normal? Thanks
Hi. I LOVE particles--thank you for all the hard work on it! I am, however, having trouble seeing them after deployment to Github pages. In my browser it works beautifully (using "gulp dev" to hot reload a startbootstrap-resume theme)--any ideas about what this could be?
I have that same problem, adding it on the background disables the interactions. How can i solve it?
You can push it to the back using z-index. My problem is slightly different and has to do with transpiling (build pack) because particles has its own set-up and start-bootstrap are developed with gulp. I guess I'm not understanding how to incorporate this in a build file for production.
I found the solution, I pushed my main container back like you said and the particlejs on the front, so that the particle.js is between my main container and content container.
Thank your for your reply.
Yay! Glad it worked.
Thank you solved my problem.
THANK YOU SO MUCH! You are great! I've been looking for a solution for so long and I couldn't find it! I am so glad! I am also experimenting with particles - changing shapes into starts, and colors. It is wonderful! THANK YOU, VINCENT!
Hi,
I am trying to make Particle JS work as a background. As you can see on my website, the body as the attribute
particles
but, the particles are only after the content. It dosen't follow the order. Here is the config:Thanks!