To create a scrolling effect for a section with multiple company logos of varying widths in Webflow, you can follow these steps:
1. Structure your section: Start by creating a section element where you want the logos to be displayed. Inside the section, create a div block and give it a class name, such as "logo-container".
2. Add logo images: Within the "logo-container" div block, add image elements for each company logo you want to display. You can either upload the logo images directly or use the "Image" element in Webflow to point to external logo URLs.
3. Set up the scrolling effect: Select the "logo-container" div block and go to the "Scroll" tab in the right sidebar. Look for the "Position" section and check the box that says "Fixed". This will ensure that the logos remain fixed on the screen while the user scrolls.
4. Create a wrapper for the logos: Inside the "logo-container" div block, create another div block and give it a class name, such as "logo-wrapper". This wrapper will be used to contain all the logo images.
5. Adjust the width of the wrapper: With the "logo-wrapper" div block selected, go to the "Align" tab in the right sidebar. Change the "Display" property to "Inline Block" and set the "Width" property to "Fit Content". This will make the wrapper adjust its width to fit the combined width of the logo images.
6. Apply styles to the logo images: Select each logo image individually and go to the "Sizing" tab in the right sidebar. Set the "Max Width" property to the desired width for the logos. You can also apply additional styles to customize the appearance of the logos, such as margins or padding.
7. Customize the scrolling behavior: To fine-tune the scrolling effect, you can adjust the position and size of the "logo-container" div block on your page. Experiment with values in the "Position" and "Size" sections of the "Scroll" tab to achieve the desired scrolling effect and visual presentation.
8. Preview and test: Preview your website to see how the scrolling effect looks and feels. Make sure the logos scroll smoothly and the layout appears as intended. Test the scrolling effect across different device breakpoints to ensure responsiveness.
By following these steps, you can create a scrolling effect for a section with multiple company logos of varying widths in Webflow. This method allows you to showcase a collection of logos in an engaging and visually appealing way, enhancing the user experience on your website.