parallax background image position

5 replies · opened Aug 23, 2017

BbaroninkjetAug 23, 2017

I am trying to make parallax page title and need the background image to **not ** be anchored at the top. My CSS modifications are ignored relative to vertical positioning, though they work with horizontal positioning.

#page-title.page-title-parallax {
	background-color: transparent;
	background-attachment: fixed;
	background-position: right center!important;
	background-repeat: no-repeat;
}

What am I doing wrong?

http://beta.of-g.com/meetdeveloper-test.html

I really do not care if it is parallax or not, just want the background image positioned properly.

Please help!

BbaroninkjetAug 24, 2017

Upon further examination, the problem seems to relate to large monitors. Page works appropriately when I am on 1920 x 1080 laptop. However nothing I can do will make it scale properly on 2560 x 1600 screen. I have tried everything!

Please help! I am going bonkers over this!!!

BbaroninkjetAug 24, 2017

It appears that the css background img is scaling based on the size of the monitor, regardless of the size of the browser window.

BbaroninkjetAug 24, 2017

Something is causing the img to be magnified -- like about 2x its actual size -- when it does not need to do this to fit the container. I don't know if it is the fact that I have two 2560x1600 monitors or something else. Even if I remove all custom css, still have magnification effect.

And again, all works fine on 1920 x 1080 laptop.

SSemicolon WebSTAFFAug 24, 2017

Hello,

Remove the the background-size:cover; and data-stellar-background-ratio=".1" from the HTML Codes.

This will definitely fix your issue. Hope this Helps!

Let us know if we can help you with anything else or if you find any further issues.

BbaroninkjetAug 25, 2017

Thank you. Yes, I figured out the issue with "cover". The problem is there is no way to make the BG img stretch like you need it for a large screen without using cover. Something seems very buggy here in the way the magnifications work. Not sure if it's CSS or the javascript, but somewhere. I got it close enough for what I am doing though, so not my problem.

Thanks again!

Have the same question, or something new?

Sign in to the Canvas dashboard to reply or open your own topic. Canvas owners get direct help from the SemiColonWeb team.

Reply on the dashboard