Community guidelines
Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.
Thomas Foy Member
@tom0360 · Joined 6 years ago · 50 posts · 4 topics · 1 reputation
Badges
Recent posts
-
Make parallax work on Quark
· 5 years ago
@dev77, Grav does have a cache and it is what was interfering with the JavaScript refreshing on my site. I do understand where you are coming from about switching from WordPress to Grav. I spent the
-
Dropmenu - how to limit number of pages?
· 5 years ago
@pamtbaau, I am enjoying learning and taking it slow. I feel like I am re-inventing the wheel at times. Many things that seem standard in other platforms require modifying templates to try and make wo
-
Dropmenu - how to limit number of pages?
· 5 years ago
pamtbaau, Thanks for taking the time to post a solution. I tried to figure it out with Twig Templating but have not spent anytime learning Twig yet. I am still learning how to work the basics of Grav.
-
Dropmenu - how to limit number of pages?
· 5 years ago
If your dropdown menu is in the same order and it looks like it is by the numeric prefix, the first code I gave you would hide the first 4 items of the menu. .dropmenu ul ul li:nth-of-type(1n+5) {disp
-
Dropmenu - how to limit number of pages?
· 5 years ago
Is the menu sorted by date or by title? Would reversing the CSS so it removed 5 from the other end of the menu work or is the menu sorted alphabetically? .dropmenu ul ul li:nth-of-type(n+8) {display:
-
Make parallax work on Quark
· 5 years ago
weird it works fine on my site. Make sure your cache is not interfering. Go in to the system caching and turn it off and refresh the site. Also, try in a private instance of the browser. I know I had
-
Dynamic counter
· 6 years ago
hmmm, I would think you would need to parse the yaml file if possible or maybe use twig to pull the needed values and pass the information into the Javascript file.
-
Make parallax work on Quark
· 6 years ago
So it seems you can make it function a little more like what you would expect by editing the site.js file and change this function: function parallaxBackground() { $('.parallax').css('background-posit
-
Dynamic counter
· 6 years ago
Hey bosse, What about just using some JS like https://github.com/bfintal/Counter-Up or https://inorganik.github.io/countUp.js/
-
Make parallax work on Quark
· 6 years ago
Yeah, the background is not staying in a fixed position which makes it seem clunky when scrolling. Works good when you use the button the scroll.