Support for Envato Buyers › Forums › Samsara › Disable Parallax?
- This topic has 10 replies, 2 voices, and was last updated 10 years, 8 months ago by
FocuxTheme Support.
-
AuthorPosts
-
-
February 27, 2015 at 11:33 am #7643
lucasplunkett
MemberI 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!
-
February 27, 2015 at 11:11 pm #7649
FocuxTheme Support
KeymasterTemporarily, 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'); }); -
February 28, 2015 at 10:43 am #7654
lucasplunkett
MemberAre you sure? This didn’t work.
-
March 1, 2015 at 12:22 am #7661
FocuxTheme Support
KeymasterI 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?
-
March 1, 2015 at 11:01 am #7668
lucasplunkett
MemberIt’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?
-
March 1, 2015 at 11:42 pm #7670
FocuxTheme Support
KeymasterIs there any way to reproduce the issue to me? Because I checked the homepage, the background image of sections seems fixed and no parallax.
-
March 2, 2015 at 6:45 am #7673
lucasplunkett
MemberHi 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?
-
March 2, 2015 at 6:59 am #7675
lucasplunkett
MemberThis reply has been marked as private. -
March 2, 2015 at 7:59 pm #7681
FocuxTheme Support
KeymasterMaybe 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.
-
March 3, 2015 at 9:07 am #7692
lucasplunkett
MemberExcellent that perfect. Thanks very much!
-
March 3, 2015 at 8:52 pm #7698
FocuxTheme Support
KeymasterGreat!
-
-
AuthorPosts
- You must be logged in to reply to this topic.
