Changing the minimum width

Topic summary

A user is trying to adjust the minimum width of images in a scrolling content section, currently set at 50px, which appears too large for their needs.

Two solutions were provided:

  1. Custom CSS approach: Add CSS code through Online Store > Themes > Customize > Theme settings targeting .Marque elements with width: 35px !important

  2. Theme file modification: Insert custom code in the theme.liquid file, located above the </head> tag, accessed via Shopify Admin > Online Store > Theme > Edit code

Both responses include code snippets and screenshots to guide implementation. The issue remains open as the original poster has not confirmed which solution worked.

Summarized with AI on November 4. AI used: claude-sonnet-4-5-20250929.

How could i change the minimum width of the picture in scrolling content, now its 50px and seems waaay too big,

Website is www.datlook.nl

Hi @saraseiva

To change it, you can add this code to Custom CSS in Online Store > Themes > Customize > Themes settings.

.Marquee-tag__image { width: 35px !important; }

@saraseiva ,

Step 1: Go to Shopify Admin → Online Store ->Theme → Edit code

Step 2: Search file theme.liquid

Step 3: Insert this code above


Result:

If it helps you, please like and mark it as the solution.

Best Regards :blush:

1 Like