Site logo

Archived topic

Parallax Speed or whatever?

24 replies · Started by Adrian Cojocariu on May 28, 2015

Viewing posts 1–15 of 25

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 ?

http://grandeoptique.ro/

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 ?

As 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 :)

Ok that is great :) It's gonna make it the one theme and only !

Thanks! I'll update this thread once I've added the filter with the code that will work in the next version :)

Awesome! :)

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.

Well 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

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.

That 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 :)

Oops, I didn't read the above right. No prob, I can wait. Thanks again!

No problem! :)

Should the speed filter be working now?

Yep :)

Strange. I tried return 1 to return 9; and did not get any difference...

This archived topic is closed to new replies.