[Resolved] Parallax Speed or whatever?

Home Forums Support [Resolved] Parallax Speed or whatever?

Home Forums Support Parallax Speed or whatever?

Viewing 15 posts - 1 through 15 (of 25 total)
  • Author
    Posts
  • #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 ?

    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 ?

    #111094
    Tom
    Lead Developer
    Lead Developer

    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 πŸ™‚

    #111096
    Adrian Cojocariu

    Ok that is great πŸ™‚ It’s gonna make it the one theme and only !

    #111099
    Tom
    Lead Developer
    Lead Developer

    Thanks! I’ll update this thread once I’ve added the filter with the code that will work in the next version πŸ™‚

    #111100
    Adrian 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:

    http://callmenick.com/post/simple-parallax-scrolling-effect

    #111196
    Tom
    Lead Developer
    Lead Developer

    Awesome! πŸ™‚

    #250668
    Aldo

    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.

    #250704
    Tom
    Lead Developer
    Lead Developer

    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

    #251316
    Bill

    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.

    #251328
    Tom
    Lead Developer
    Lead Developer

    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 πŸ™‚

    #251341
    Bill

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

    #251353
    Tom
    Lead Developer
    Lead Developer

    No problem! πŸ™‚

    #268172
    Alexander

    Should the speed filter be working now?

    #268174
    Tom
    Lead Developer
    Lead Developer

    Yep πŸ™‚

    #268289
    Alexander

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

Viewing 15 posts - 1 through 15 (of 25 total)
  • You must be logged in to reply to this topic.