- This topic has 24 replies, 6 voices, and was last updated 9 years, 1 month ago by
Tom.
-
AuthorPosts
-
May 28, 2015 at 12:14 pm #111026
Adrian Cojocariu
I was wondering if this theme could get even more overpower.
Is there any way I could get the same results as on this site ?
I mean the background is there on a section, it has it’s parallax on, but is there any way I can change the direction and speed on which the background moves ?
May 28, 2015 at 11:31 pm #111094Tom
Lead DeveloperLead DeveloperAs of right now, the parallax functionality is very simple.
I do however have plans to include a filter so the speed of the scroll can be adjusted – this will be in the next version ๐
May 28, 2015 at 11:34 pm #111096Adrian Cojocariu
Ok that is great ๐ It’s gonna make it the one theme and only !
May 28, 2015 at 11:42 pm #111099Tom
Lead DeveloperLead DeveloperThanks! I’ll update this thread once I’ve added the filter with the code that will work in the next version ๐
May 28, 2015 at 11:51 pm #111100Adrian Cojocariu
I just managed to get some code out of CallMeNick’s website ๐
Works great.
Till you get the time to set it up, here’s the link:
May 29, 2015 at 9:43 am #111196Tom
Lead DeveloperLead DeveloperAwesome! ๐
December 2, 2016 at 10:25 am #250668Aldo
Hi, any news about having options to the parallax effect?
I have a fullscreen page header and the height of the image is the same of the window browser, so if I activate the parallax effect with the actual setting the background scroll faster then the content resulting in a repeated bacground image. Not so good to look at. How can I set the background to scroll slower then the content?
Look here what I mean: http://alberoweb.it/Thank you.
December 2, 2016 at 11:23 am #250704Tom
Lead DeveloperLead DeveloperWell I added a speed filter to Sections, but looks like I neglected to add it to page header.
I’ve just done that for the next version.
This will work in 1.2.93:
add_filter( 'generate_page_header_parallax_speed','tu_page_header_parallax_speed' ); function tu_page_header_parallax_speed() { return 6; }The lower the number, the faster it will scroll.
Feel free to email me if you want me to email you the latest: https://generatepress.com/contact
December 4, 2016 at 10:02 am #251316Bill
I am getting the same as Aldo with my full page image.
I put the above code in the child theme’s functions.php and tried changing the values for speed but it didn’t have an effect.
December 4, 2016 at 10:43 am #251328Tom
Lead DeveloperLead DeveloperThat function will only work when 1.2.93 is released.
I can email it to you if you contact me: https://generatepress.com/contact/
Or you can just use a taller image for now ๐
December 4, 2016 at 11:17 am #251341Bill
Oops, I didn’t read the above right. No prob, I can wait. Thanks again!
December 4, 2016 at 11:20 am #251353Tom
Lead DeveloperLead DeveloperNo problem! ๐
January 25, 2017 at 2:13 am #268172Alexander
Should the speed filter be working now?
January 25, 2017 at 2:13 am #268174Tom
Lead DeveloperLead DeveloperYep ๐
January 25, 2017 at 4:25 am #268289Alexander
Strange. I tried return 1 to return 9; and did not get any difference…
-
AuthorPosts
- You must be logged in to reply to this topic.