- This topic has 12 replies, 3 voices, and was last updated 6 years, 11 months ago by Tom.
-
AuthorPosts
-
April 28, 2017 at 12:02 am #311332Antonio
Hi,
I am developing my Portfolio using GP and GP premium and I want to use the particles.js script in my page Header.
The problem is that the particles.js covers the whole website (also footer) and some elements (like the navigation) seems not working.
This is the website
My CSS
#particles-js { position: fixed; top: 0; width: 100%; height: 100%; left: 0; }
Any Ideas?
April 28, 2017 at 1:04 am #311365TomLead DeveloperLead DeveloperHi there,
I’m not seeing it cover your footer/content (no sections added yet).
To make it so your logo/navigation is clickable, try this:
#particles-js { z-index: 0; } .generate-merged-header .site-header { z-index: 1; }
April 28, 2017 at 1:16 am #311367AntonioHi Tom,
Thanks for the CSS, that fixed the Logo/Navigation Problem.
But the particles.js still cover the content. I added a test section so you can have a look
Thanks in advance
AntonioApril 28, 2017 at 1:18 am #311368TomLead DeveloperLead DeveloperTry this (complete CSS):
.generate-merged-header .site-header { z-index: 1; } #particles-js { position: absolute; top: 0; width: 100%; height: 100%; left: 0; z-index: 0; } .page-header-content { position: relative; }
April 28, 2017 at 1:23 am #311370AntonioOf course!! This fixed the problem.
Thanks Tom. Amazing Theme and support!
April 28, 2017 at 1:24 am #311371TomLead DeveloperLead DeveloperGlad I could help 🙂
May 23, 2017 at 5:02 pm #323148Pedro ChincoaHi Tom,
How are you?
I’m creating my portfolio with GP at localhost.
I created a home page with a script (ParticleJS Background plugin) and 3 sections with text in H1 and H2.
I have disable all items.
The problem is that the links, whether created in the sections or with the menus, do not work and do not allow me to link to the other pages.
Excuse me, how can I fix it?
Thanks in advance
May 23, 2017 at 6:51 pm #323182TomLead DeveloperLead DeveloperI would have to see the site with the issue present in order to give you a solution 🙂
May 24, 2017 at 8:37 am #323508Pedro ChincoaHi Tom,
Thanks for the reply.
I don´t know how to do it so you can see my localhost. So I made a screener with my settings:
https://drive.google.com/file/d/0Bw17luIXEVOzWWh5RFp1dHozREE/view
can you see it? Thank you very much
May 24, 2017 at 11:29 am #323592TomLead DeveloperLead DeveloperHmm, any chance you can reproduce the issue on a live site?
May 24, 2017 at 11:41 am #323605Pedro ChincoaAt the moment, I’m just using GP in this personal portfolio.
I do not know if the video helps. The idea is to work locally and upload it while you are ready to network.
the links work when i disable the plugin,
I tried using the settings in this topic: https://generatepress.com/forums/topic/mobile-site-jumps-on-scroll/… but I did not get it.
May 24, 2017 at 12:29 pm #323638Pedro ChincoaHi again,
I installed everything on: http://halalexperience.com/
But now the particles do not work and there is no problem with the links.
I could not tell you anymore. I have done exactly the same thing as in my local host …May 24, 2017 at 4:48 pm #323743TomLead DeveloperLead DeveloperYou have a couple JS errors: https://www.screencast.com/t/mpz4ffp29ol
Make sure your particles file exists, and that you’re initializing particles exactly as they show you.
-
AuthorPosts
- You must be logged in to reply to this topic.