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

script not working because of conflict with page structure/css #250

Open
elphin opened this issue Oct 26, 2017 · 0 comments
Open

script not working because of conflict with page structure/css #250

elphin opened this issue Oct 26, 2017 · 0 comments

Comments

@elphin
Copy link

elphin commented Oct 26, 2017

Hi,
I am fully aware that this has nothing to do with your plugin. It is caused by the way my page is constructed.

I use thrive architect (a page builder) for this page.
The builder places the content container inside a wrap div with a set width (940px) for the content-container and auto margin to center the content.
To be able to use full-width sections the script adds the width of the screen to a div with a negative positioning of the (width-of-the-screen - content-container)/2.

Using your plugin on such a div does not work because on enabling and disabling the stickyness the width and size somehow get's recalculated and the div jumps to the left; leaving a gap to the right.

Do you understand the problem? Is there a solution to this situation?

A million thanks if this can get solved... :|

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

1 participant