[Resolved] Page Header parallax mobile

Home Forums Support [Resolved] Page Header parallax mobile

Home Forums Support Page Header parallax mobile

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #504846
    roman.bobak

    Hi Tom & Leo,
    one quick question.

    When I use the Page header with “Content” and “Add Backgroung image” + “Parallax”, how can I disable the parallax effect on mobile devices?

    Thank you very much.

    Btw. GP is seriously good! πŸ™‚

    #504915
    Tom
    Lead Developer
    Lead Developer

    Hi there,

    Glad you’re enjoying it! πŸ™‚

    Try this CSS:

    @media (max-width: 768px) {
        .page-header-content {
            background-position: center center !important;
        }
    }
    #504956
    roman.bobak

    Thank you very much, working! πŸ™‚

    #505350
    Tom
    Lead Developer
    Lead Developer

    You’re very welcome πŸ™‚

    #1493114
    Marcus

    Hi Tom & Team,

    just wanted to let u know … i see jitter when i use the parallax effect in page header on my mobile ( iOS ) but only in Low Power mode! … so this has nothing to do with you in the first place.

    But, here is my question: I wanted to disable parallax on the mobile and found this Post here. But your CSS doesn’t seem to work anymore. Has the selector changed ? I use the Posts Featured Image.

    Cheers Marcus

    #1493532
    Tom
    Lead Developer
    Lead Developer

    Hi there,

    Yes, the selector has likely changed as the Page Header module is now deprecated. If you can open a new topic with your website URL we can provide the updated CSS.

    Thanks!

    #1494687
    Marcus

    Thank you!

    The selector has changed to page-hero.

    This CSS works for me:

    @media (max-width: 768px) {
        .page-hero {
            background-position: center center !important;
        }
    }
    #1495862
    Tom
    Lead Developer
    Lead Developer

    Glad you got it working πŸ™‚

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