Trick: Change the Size of Webflow CMS Elements via a Toggle

Level: Intermediate
Webflow CMS
ressourcen
Free Cloneable
Live Vorschau
* AFFILIATE LINK
Details
Level
Intermediate
Date
July 12, 2026
Author
Lächelnder Mann mit kurzem braunem Haar und Bart vor orangem Hintergrund.
Jonas Arleth
Blog Post

It has often happened to me that I wanted to change the size or design of certain elements, e.g. in a CMS image grid or a blog teaser list. This is not possible directly in Webflow Designer, as only every first, last or even and odd CMS element can be addressed at the same time. With a bit of custom jQuery code, however, this problem is quickly solved and you can change any elements within a collection list in the design.

In my example, every CMS element has a “medium”, “large” and “align bottom” toggle. As soon as one of these options is active, custom code is used to add a class to the “grid-item” element, which changes the size of the element or the alignment. The classes and sizes of the tiles can be changed in the hidden grid under the CMS collection.
For it to work, the jQuery custom code must be added. The result can only be seen on the live page.


More content

Blog Archiv

Starting a New Webflow Project – AI (Claude) Migrates My CMS

Transfer your Webflow CMS to a new project with Claude AI: collections, items, and localization – here’s how migration really works.
Video
Kategorie
Webflow CMS
Skill
Beginner

Anschauen
Beitrag anschauen

Build a course bundle system in Webflow & Ablefy (including checkout)

This is how you build a flexible bundle and shopping cart system for courses, services or products in Webflow — without Shopify, without plugins and without classic e-commerce.
Video
Kategorie
Webflow CMS
Skill
Professional

Anschauen
Beitrag anschauen

Trick: Change the Size of Webflow CMS Elements via a Toggle

A clever trick to dynamically control the size of Webflow CMS elements using a switch field — no custom code required.
Video
Kategorie
Webflow CMS
Skill
Intermediate

Anschauen
Beitrag anschauen

Introduction to Liquiflow — How to build Shopify themes with Webflow

Liquiflow overview: How to create dynamic Shopify themes with Webflow — including structured tagging, block elements & section converter.
Video
Kategorie
Webflow CMS
Skill
Intermediate

Anschauen
Beitrag anschauen

Professional design in Webflow: Implementing my course overview page

Learn how to develop the overview page for my Webflow professional course. I'll share my design process, tips for implementing it in Webflow, and how you use advanced techniques.
Video
Kategorie
Webflow CMS
Skill
Beginner

Anschauen
Beitrag anschauen

Change the Date Format in Webflow from English to German

A quick guide to switching the date display language in Webflow CMS from English to German — using a simple custom code snippet.
Video
Kategorie
Webflow CMS
Skill
Beginner

Anschauen
Beitrag anschauen