Liferay theme and portlet topper positioning

Sebastian Wikholm, modified 2 Years ago. Regular Member Posts: 110 Join Date: 3/10/11 Recent Posts

Hi

Im having trouble with a custom Liferay theme based on the atlas theme, with the portlet topper, ie the blue thing that when you edit a page, appears above each selected portlet.

It seems as, as long as i do not scroll, the position is calculated correctly by the system, like this:

But as soon as i scroll, the system gets confused about the positioning, like this:


 

Has anybody experienced this before? Does anybody any information what could cause the system to calculate the positioning of the portlet topper wrong? Any information to help me solve this would be really appreciated. Thank you

Jamie Sammons, modified 1 Year ago. New Member Posts: 2 Join Date: 1/12/24 Recent Posts

I see the same issue in our environment since we upgraded to 7.4 from 7.2. Were you able to solve this?

Jamie Sammons, modified 1 Year ago. New Member Posts: 2 Join Date: 1/12/24 Recent Posts

Ok I found what caused this issue in our case:

The #wrapper div had this rule defined:

position: unset !important;

Once removed the issue has been solved.