CSS issues after update

Not sure if your support covers this, but wanted to ask.

The background image of the guy on http://www.mortenlissau.dk/om/ was placed towards the right of the page until i updated from Pro 1.1.1 (or something like that I think) to 1.2.7.

I have the following custom CSS for the image

@media (min-width: 768px){
img.mortenbaggrund {
position: absolute;
z-index: -1;
top: -40px;
right: -150px;
max-height: 720PX;
}
}

@media (max-width: 767px){
img.mortenbaggrund {
position: absolute;
z-index: -1;
top: -40px;
right: -70px;
max-height: 620PX;
}
}

It seems like the absolute positing doesn’t work.
Any idea why?

Thanks!

Hi There,

Please try updating your custom CSS to this:

@media (min-width: 768px){
	img.mortenbaggrund {
		position: absolute; 
		z-index: -1; 
		top: -40px; 
		right: -350px; 
		max-height: 720PX;
	}
}

@media (max-width: 767px){
	img.mortenbaggrund {
		position: absolute; 
		z-index: -1; 
		top: -40px; 
		right: 0; 
		max-height: 620PX;
	}
}

Let us know how it goes!

1 Like

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.