Support for Envato Buyers Forums Samsara Disable Parallax?

Viewing 10 reply threads
  • Author
    Posts
    • #7643

      I would like the background image on a row to be fixed (no Parallax) and at full width.

      How do I do this?

      Sorry for all the questions!

    • #7649

      Temporarily, there’s no ready option to disable the parallax, but you can put the following custom javascript into “Samsara options > custom styles > javascript codes”

      jQuery(document).ready(function($){
        $('.parallax').removeClass('parallax').css('background-attachment','fixed');
      });
    • #7654

      Are you sure? This didn’t work.

    • #7661

      I tried it on my demo site, and it’s working fine.

      Could you tell me your link and login details again? I can try it on your site again.

      Also, what’s browser you used? What’s the size of your screen?

    • #7668

      It’s working for an image that I uploaded after putting in the code and not for any images that I added before adding the code. Maybe that has something to do with it?

    • #7670

      Is there any way to reproduce the issue to me? Because I checked the homepage, the background image of sections seems fixed and no parallax.

    • #7673

      Hi Johnny,

      What are you meaning by fixed?

      I am wanting the images to be fixed onto the rows that they are in, so when you scroll, the image moves up too.

      Is this what you are meaning too?

    • #7675
      This reply has been marked as private.
    • #7681

      Maybe I understood wrong for this “I would like the background image on a row to be fixed”, I was thought that you want to make the image to be fixed. And in your last reply, you said “so when you scroll, the image moves up too.”, actually you want to the image to be scroll (background-attachment:scroll in CSS expression).

      If so, you should edit the row in Visual Composer, select “design option”, please set the custom background color as well like I did for the last section, then the background image will be move up when you scroll the page.

    • #7692

      Excellent that perfect. Thanks very much!

    • #7698

      Great!

Viewing 10 reply threads
  • You must be logged in to reply to this topic.