Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question on Positioning #32

Closed
darknailblue opened this issue Feb 24, 2015 · 2 comments
Closed

Question on Positioning #32

darknailblue opened this issue Feb 24, 2015 · 2 comments

Comments

@darknailblue
Copy link

Hi!

I'm working on a site right now and seem to be running into a pitfall with the positioning. If you look at http://globalsteeringsystems.asquaredhosting.com/global-steering/ and size the browser down (more towards a mobile width) the background images end up not extending 100% to the right. I've uploaded some pretty big images too over 5k in with and 2k in height.

Am I doing something wrong? Is this a bug? Please let me know.

@mikegreiling
Copy link
Member

After playing around with your website in the chrome developer console, it seems that the img { max-width: 100% } declaration is what is throwing it off. Also, the body { height: 100% } with a white background was partly obscuring the parallax images when I checked it out in Safari until I changed the z-index value of the parallax sliders.

I'll update the plugin to explicitly declare the max-width in a future patch, but for now you should be able to fix the issue with the following CSS:

img.parallax-slider {
   max-width: none;
} 

@darknailblue
Copy link
Author

okay awesome. Thanks so much. I love this thing!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants