-
takkularapsis
Hi,
I dont know how to keep background image still when opening the accordion in the page?
The background also moves? Any help for that. The accordion is in the middle o the page.
Background are dotts in boths side. -
David
Hi there,
not really, not without introducing other issues.
When you open the accordion the height of the container changes and so does its center position. Which is why it moves.You could set the Background Attachment to
fixed
and that would stop that particular issue but it would lead to a fixed background. -
takkularapsis
Hi,
I understand, thanks!
I managed to put height for the container to 500px, and the background isnt moving anymore. I guess it isnt correct method, but still it seems to work as needed π
-
David
Make that a Min Height and it should do the same thing without risking an overflow issue
Good solution π -
takkularapsis
Yes, sometime you get lucky π
Thanks, ill do that also!
-
David
Use
Min Height
and remove theHeight
option π -
takkularapsis
Yes, ill do that, thanks!
- You must be logged in to reply to this topic.