In Webflow, how can I make an image stick to the bottom of a section so that it remains fixed even when the screen size changes?

Published on
September 22, 2023

To make an image stick to the bottom of a section in Webflow and have it remain fixed even when the screen size changes, you can follow these steps:

  1. Select the section: Start by selecting the section in which you want the image to be positioned at the bottom.

  2. Set the section position: In the Style panel, click on the Position dropdown menu and choose "Relative". This will allow the section to serve as a reference point for absolute positioning.

  3. Insert a div block: Inside the section, insert a new div block. You can do this by clicking on the plus icon within the section, and selecting the Div Block option.

  4. Set the div block position: With the div block selected, go to the Style panel and set its position to "Absolute". This will enable you to precisely position the image within the section.

  5. Set the div block dimensions: Adjust the dimensions of the div block to match the size of the image you want to place at the bottom. You can do this by entering the desired width and height values in the Style panel.

  6. Set the positioning properties: In the Style panel, set the following positioning properties for the div block:

  • Position: "Absolute"
  • Bottom: "0"
  • Right or left: Choose either "Right" or "Left" depending on where you want the image to be positioned within the section.
  1. Insert the image: Drag and drop or upload the image into the div block. You can also use the Image component from the Add panel.

  2. Adjust image properties: With the image selected, you can further modify its properties by using the Style panel. This includes setting the size, margin, padding, and applying any desired effects.

  3. Preview and refine: Preview your website to see how the image sticks to the bottom of the section. Adjust any positioning, sizing, or styling properties as needed until you achieve the desired result.

In this way, you will be able to make an image stick to the bottom of a section in Webflow, ensuring that it remains fixed even when the screen size changes.

Example CSS:

The following CSS can be used to achieve the desired effect:

.section {  position: relative;}.div-block {  position: absolute;  bottom: 0;  left: 0; /* or right: 0; depending on your preference */}

Additional Questions:

  1. How do I make an image stick to the top of a section in Webflow?
  2. Can I make an element stick to a specific part of the screen while scrolling in Webflow?
  3. Is it possible to create a sticky navbar in Webflow?