Home › Forums › Support › adjusting the width of div to the container This topic has 5 replies, 2 voices, and was last updated 1 year, 10 months ago by David. Viewing 6 posts - 1 through 6 (of 6 total) Author Posts May 28, 2022 at 11:34 pm #2236599 Gerhard Hello, how can I adjust the width of the div which shows on hovering the years (see link) to the width of the grid-container (1600px) ? Greetings from Cologne Gerhard May 29, 2022 at 8:59 am #2237044 DavidStaff Customer Support Hi there, do you want to contain the width of the Image ? If so, change this CSS: .chrono-bild img { width: 100%; position: fixed; height: 100%; max-height: 100%; max-width: 100%; object-fit: cover; object-position: 50% 50%; z-index: -20; } to: .chrono-bild img { width: 100%; position: fixed; height: 100%; max-height: 100%; max-width: 1600px; object-fit: cover; object-position: 50% 50%; z-index: -20; left: 50%; transform: translateX(-50%); } May 30, 2022 at 2:00 am #2237661 Gerhard Thank you, David! I helped me by changing the footer’s and header’s width in the customer. But your solution is what I was looking for. Greetings from Cologne Gerhard Weber May 30, 2022 at 2:48 am #2237714 DavidStaff Customer Support Is that resolved ? May 30, 2022 at 8:01 am #2238204 Gerhard Oh yes, thanks a lot, David!!! May 31, 2022 at 1:01 am #2238834 DavidStaff Customer Support Glad to hear that! Author Posts Viewing 6 posts - 1 through 6 (of 6 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In