Dynamic CMS Grid in Webflow

Поделиться
HTML-код
  • Опубликовано: 16 янв 2025

Комментарии • 114

  • @yolkk
    @yolkk Год назад +18

    I named my CMS options "Tall" instead of "tall" (then put "tall" in the CSS). Pulled my hair out for a good 10 whilst it didn't work. Thought I'd add the comment incase someone else did the same. Great tutorial :)

    • @whothewho82
      @whothewho82 5 месяцев назад +1

      Hey I tried this but I haven't been able to get it to work. I changed BOTH my CSS and CMS code to lowercase and it still hasn't worked. Were there any special settings that im missing??

    • @KUZON99
      @KUZON99 4 месяца назад

      @@whothewho82 doesnt work for me either

  • @graceongrid
    @graceongrid Год назад +29

    This is exactly the tutorial I needed for a current project. You always seem to come out with things at the exact right time! Thank you for all the time and energy you put into these videos 🙌

    • @timothyricks
      @timothyricks  Год назад

      Oh, wow! Thank you, Grace! I’m really glad this helps

  • @MartijnAanstoot
    @MartijnAanstoot Год назад +4

    The best teacher in this space. So clear and what a beautiful solution

  • @Raavail
    @Raavail Год назад +5

    Amazing! This issue comes up so many times, and this is such an elegant solution, especially for clients! Thank you!

  • @NoahShreve
    @NoahShreve Год назад +5

    Accessing CMS data in attributes is such a game changer

  • @biniamjohannes9853
    @biniamjohannes9853 Год назад +2

    FANTASTIC TUTORIAL TIMOTHY!!

  • @vcrazyedits
    @vcrazyedits Год назад +5

    This video came out just at the right time! I was literally searching for how have dynamic sizes for my cms grid. Thanks so much!! :D

  • @MatthewMunger
    @MatthewMunger Год назад +3

    Great use of dynamic attribute binding!

  • @MuseCraftman
    @MuseCraftman 24 дня назад

    omg that is SO SMART, I didn't know about that CSS selectors, this opens so many doors!!

  • @ihajo
    @ihajo Год назад +2

    Great tutorial, direct to the point and a very clever use of the grid, thanks

  • @martinmendivil2522
    @martinmendivil2522 Год назад

    You're a wizard. This is so useful and it's such a clever approach. I want to be like you when I'm older!

  • @IkevanGerven
    @IkevanGerven 11 месяцев назад +1

    You are a hero! What a great and actually simple solution for a fantastic layout. Thank you.

    • @timothyricks
      @timothyricks  11 месяцев назад

      So glad this helps! Thank you!

  • @madsness101
    @madsness101 Год назад +1

    Amazing Timothy! As for many others here in the comments this came out just in the right time. With the help of your content I can really take my projects to the next level. Thank you so much!

  • @marijanastojanovic198
    @marijanastojanovic198 Год назад +2

    Thank you for everything you do, Timothy. 👏😊

  • @JakeSpirek
    @JakeSpirek Год назад +2

    Thanks for this, Timothy! Great use-case for the new dynamic attributes. Love your tutorials.

  • @harmfull1
    @harmfull1 Год назад +2

    As always! Timothy Straight to the points thanks for this one!

  • @flowavewebflow
    @flowavewebflow Год назад +1

    Now I see why they call you a Webflow wizard. This is so impressive!

  • @andresochoa3040
    @andresochoa3040 Год назад +1

    You make it look very easy!! You are a Webflow machine!!

  • @jesuspastr
    @jesuspastr Год назад +1

    Thank you very much!
    This tutorial has helped me a lot!
    Greetings from Peru, the Webflow community is growing little by little here.

    • @timothyricks
      @timothyricks  Год назад

      I’m so glad this helps! Great to meet you!!

  • @HarshitAgrawalOfficial
    @HarshitAgrawalOfficial Год назад +2

    Wow! As always amazing trick Timothy! 🎉

  • @davidacreates
    @davidacreates Год назад +1

    this is so good. going to use this to refactor a project this week.

  • @loyaldesignco
    @loyaldesignco Год назад

    Awesome use case for the dynamic attributes! Game changer. Thanks Tim!

  • @wacho7934
    @wacho7934 Год назад +1

    Damn Timothy, everytime I need something you have a video for it. Thank you a lot for all the help ✌✌

  • @frankiejamieson3690
    @frankiejamieson3690 Год назад +2

    Awesome video, thanks!

  • @rileydesign
    @rileydesign Год назад +2

    Brilliant, thanks for sharing!

  • @patrickspiegel
    @patrickspiegel Год назад +1

    Ok wow, this is awesome!! Thanks :)

  • @badboujee
    @badboujee Год назад

    Brilliant! Never thought about styling CMS items via data-attributes, but that is such a smart idea! WIll put to good use soon. Thanks for sharing!

  • @wearestudiotonic
    @wearestudiotonic Год назад +1

    This is so sneaky and awesome, great work man and thanks for sharing.

  • @bamoj
    @bamoj Год назад +2

    This is super smart!!

  • @nickjones605
    @nickjones605 Год назад +1

    Almost exactly what I was looking for. Would it be possible to add a lightbox feature when clicking the photos?

  • @ojayz9220
    @ojayz9220 Год назад +1

    thank you

  • @angelicojohnrago2878
    @angelicojohnrago2878 Год назад +3

    How about if its multiple images field?

  • @MichaellaBallas
    @MichaellaBallas Год назад +1

    Thank you Tim!!! You are awesome

  • @kjellruben
    @kjellruben Год назад +1

    Amazing! Would love more of these! :D

  • @HelenPoylova
    @HelenPoylova Год назад +2

    True Genious ! 🤩

  • @PrivateUniversityPreparation
    @PrivateUniversityPreparation 10 месяцев назад +1

    Very Thank you sir

  • @danielcobb6486
    @danielcobb6486 11 месяцев назад +1

    Love this solution!! Top stuff

  • @tuttoele
    @tuttoele Год назад +1

    Really a smart solution, thank you! 😄

  • @lad1723
    @lad1723 Год назад

    Top notch! Thanks for the amazing work. Exactly what i needed.

  • @FernandoComet
    @FernandoComet Год назад +2

    Awesome!

  • @emrannaziremon5503
    @emrannaziremon5503 Год назад +1

    Great work 🎉🎉🎉 You are just awesome ❤

  • @pablogday
    @pablogday Год назад +1

    Smart! Thanks for sharing.

  • @darshakc
    @darshakc 5 месяцев назад +1

    You are the man! 🫡🫡

  • @AurelienSchibli
    @AurelienSchibli Год назад +1

    brilliant. and so simple

  • @favouraderemi1933
    @favouraderemi1933 Год назад +3

    Webflow wizard ✨️

  • @thooriga
    @thooriga Год назад +1

    Helpful Thanks so much!!

  • @anshkid
    @anshkid Год назад +1

    Just brilliant man!

  • @altingrc1924
    @altingrc1924 Год назад +2

    Genius

  • @tomsmith6991
    @tomsmith6991 Год назад +1

    As always, great tutorial 👨🏻‍💻🚀Got a site for a client coming soon that this will be perfect for! - Thank you! 🔆

  • @jelenajovanovic1472
    @jelenajovanovic1472 Год назад +2

    Tnx ❤

  • @deangraubard8640
    @deangraubard8640 4 месяца назад

    Is there any previous tutorial explaining how you built these cards, text-over-image, and all the alignment\auto cropping stuff? I'm trying doing it in different ways but nothing seems to work. Welp :'(

  • @konstantinbodnenko5842
    @konstantinbodnenko5842 10 месяцев назад

    Hello Timothy! It doesn't work inside e-commerce products collection. The purple point that allows to connect the attribute value to cms field is disabled

  • @kendallross5703
    @kendallross5703 Год назад

    As usual you're a mad lad! I have two functions of this on my site. The first funtion works perfectly as shown in this video. But now I'm trying to apply the same logic to my multi reference gallary images for my portfolio, the work flow obviously is slightly different. Any advice?!

  • @bridesontube
    @bridesontube 4 месяца назад

    Doesn't seem to work if using lists with Finsweet Attributes enabled?

  • @akbarbadsha25
    @akbarbadsha25 Год назад

    wow love this tutorial. Its super awesome :)

  • @dozax2824
    @dozax2824 Год назад

    Timothy, can you tell me, if there is no pop-up that pops up when you select a value for a custom attribute, how can you tie up a custom field in this case?

  • @valdiszhvaginsh3825
    @valdiszhvaginsh3825 11 месяцев назад

    Thanks!

  • @leonstoel9028
    @leonstoel9028 Год назад

    Hi Tim,
    Great Idea and Tutorial! Is there a Wway to also affect the name of the dynamic attribute? We can only set the value, for some cases i would like to also set and not set some attribute names. Some integrations and custom code solutions would really benefit from the possibility to have attributes only show op on certain cms items.
    thank you so much for your content tim!

  • @LauraMarielNateraComte
    @LauraMarielNateraComte Год назад

    Can I do that without editing the code? I want to put my CMS collection in grid mode but I don't want all the images to be the same size.

  • @OAGMedia
    @OAGMedia 6 месяцев назад

    Thank you so much for that amazing tutorial, but on the version webflow has now (29.06.2024) there is no "dense" option. Can you tell us where to find or how to fix it maybe with additional css code?
    Br

    • @timothyricks
      @timothyricks  6 месяцев назад

      So glad this helps! The dense button is still there. It just looks different now. It’s the third, final button under "Direction" in the style panel.

    • @AVMmmm
      @AVMmmm 6 месяцев назад

      i added 'grid-auto-flow: dense' in the Custom properties (bottom of Style panel)

  • @crissmoralest
    @crissmoralest 8 месяцев назад +1

    I don't see the dense option in the new interface of webflow. Can someone tell me where can I find it?

    • @OAGMedia
      @OAGMedia 6 месяцев назад +1

      same here. searching for that setting.

    • @whothewho82
      @whothewho82 5 месяцев назад

      @@OAGMedia Hey I noticed that it's an ICON instead of the word in the newer versions of Webflow. Its next to the "Direction" Tab in your Grid Settings under Layout.

  • @goulielmosdermon
    @goulielmosdermon 8 месяцев назад

    The effect doesn't work on my project. Does anyone know why could that be? I am a bit confused with why we use the embed and if I need to do something to that as well.

    • @AVMmmm
      @AVMmmm 6 месяцев назад

      To me it looks perfect in the designer but on the published URL it's just showing them normal grid.. did you find a solution?

    • @AVMmmm
      @AVMmmm 6 месяцев назад

      fixed it. The issue was with the embed. The code was originally placed in the page-specific CSS embed. But when I moved it to the global CSS embed component it worked

    • @goulielmosdermon
      @goulielmosdermon 3 месяца назад

      @@AVMmmm not yet... I don't understand the embed step, I have made an embed but it doesn't work at all. Where is the global css embed?

  • @shaneveldhuizen
    @shaneveldhuizen Год назад +2

    I find myself just shaking my head and saying to myself, "of course..."

  • @Iastrebner
    @Iastrebner Год назад

    Always amazing, Timothy! Do you think there is a way to make this draggable and infinite? Trying to create an infinite grid that can have multiple sizes from CMS and that can also be draggable.

  • @whothewho82
    @whothewho82 5 месяцев назад

    For some reason this isn't working for me. Is there something that im doing wrong? I reset every setting in my Collection Block so I didn't have conflicted settings and its still not working.

  • @dereksoup
    @dereksoup Год назад +1

    Genius!

  • @declanpodmore875
    @declanpodmore875 Год назад

    Is it possible to do something similar to this with multiple items on a single cms item like a portfolio project?

    • @nickjones605
      @nickjones605 Год назад

      this was my initial question, too. I'll probably be going with this option although it's not ideal - I'd prefer to house all of the images from a portfolio in the same CMS collection as all of the other portfolio info.

  • @aaqadasi
    @aaqadasi Год назад

    Can you make a tutorial on creating a custom product review for Webflow e-commerce website?

  • @gabrielluzet6634
    @gabrielluzet6634 Месяц назад

    hi, I'm a beginner and I try to build my own portfolio on Webflow, I didn't find it but how did he came to this cms looking cause mine if far away than what he got to the beginning 😅

  • @AVMmmm
    @AVMmmm 6 месяцев назад

    Hey Tim, this doesn't seem to be working on the published site. It works in the Designer & Preview, but on the published site it's simply showing the standard grid columns... Any ideas?

    • @AVMmmm
      @AVMmmm 6 месяцев назад

      i fixed it. The issue was with the embed. The code was originally placed in the page-specific CSS embed. But when I moved it to the global CSS embed component it worked

  • @dimaka5495
    @dimaka5495 7 месяцев назад

    Nice tutorial! I would rather control it all with CSS. Let's say we set a grid for the first 10 divs and then control each cell within every 10s with code:
    .blog div:nth-child(10n + 1) {
    grid-row-start: span 2;
    grid-row-end: span 2;
    grid-column-start: span 1;
    grid-column-end: span 1;
    }
    This way we can order / sort / filter / paginate grid without gaps

    • @timothyricks
      @timothyricks  7 месяцев назад

      Nth child is another great solution! It really just depends on the needs of the project. Data attributes are useful when a certain item needs to always be a certain size instead of relying on its order.

  • @kevinkuliner7275
    @kevinkuliner7275 Год назад

    Thank you for this tutorial! It works perfectly for my design! Can this same technique be applied to stylizing flex box direction? In my case, I want tall items to be stacked vertically and wide items to be horizontal. I used the same technique as above and it doesn't seem to be working for me. Any insight on this would be greatly appreciated, and keep up the amazing videos!
    Update: I managed to get it to work! The attribute was being placed on the wrong element, but now it works plus some other custom attributes I made. Thank you again for making this eye opening video that’s literally gonna take my website to the next level!!

  • @dima_tregubov
    @dima_tregubov Год назад +1

    Omg🤯🔥🔥🔥

  • @lucasmpr
    @lucasmpr Год назад

    This came up right when I needed it. Thanks a lot, Tim!
    Q: what if I don’t want to manipulate the style of an item through the CMS field, but want to always force my 3rd, 4th, 5th and 6th items shown on the cms list pagination to have that wide layout applied? Is there a code snippet to do that magic?

    • @timothyricks
      @timothyricks  Год назад +1

      So glad this helps, and good question! If you want only the 3rd, 4th, 5th, and 6th items in the list to have that style, you could do something like this.
      .your-cms-item:nth-child(3),
      .your-cms-item:nth-child(4),
      .your-cms-item:nth-child(5),
      .your-cms-item:nth-child(6) {
      grid-column-start: span 2;
      grid-column-end: span 2;
      grid-row-start: span 1;
      grid-row-end: span 1;
      }
      Or if it needs to be a repeatable pattern like every 3, 4, 5, and 6 out of 8, you could do something like this.
      .your-cms-item:nth-child(8n + 3),
      .your-cms-item:nth-child(8n + 4),
      .your-cms-item:nth-child(8n + 5),
      .your-cms-item:nth-child(8n + 6) {
      grid-column-start: span 2;
      grid-column-end: span 2;
      grid-row-start: span 1;
      grid-row-end: span 1;
      }

    • @lucasmpr
      @lucasmpr Год назад +1

      This is great! Thank you ❤

  • @UtkarshChaturvedi-n8j
    @UtkarshChaturvedi-n8j Год назад

    Is it possible to choose between an image or a video thumbnail?

    • @timothyricks
      @timothyricks  Год назад

      Yes, that should be possible natively with a switch field and conditional visibility to hide the image and show the video when the switch is on or if the video field is set

  • @MarkFaamaoni
    @MarkFaamaoni Год назад +2

    WOAH

  • @eeonmall
    @eeonmall Год назад

    Is there any another way to do this without code embed?

  • @productguiderhero2324
    @productguiderhero2324 Год назад +1

    Amazing

  • @dickyjiang
    @dickyjiang Год назад +1

    🎉 smart 😎

  • @hamodi20091
    @hamodi20091 Год назад +1

    🤩

  • @FernandoComet
    @FernandoComet Год назад

    Oh! I used this and worked perfect but then client wanted a filtering system so my grid broke :(

  • @user-dj8gt6ik7c
    @user-dj8gt6ik7c 11 месяцев назад

    Dang...it's not working. What did I miss...?

    • @user-dj8gt6ik7c
      @user-dj8gt6ik7c 11 месяцев назад

      Update* deerrrrpp!!! I had my code wrong.
      instead of correct:
      check your code everyone!! :p
      THANK YOU Timothy this is fabulous and so easy to follow.

  • @moe-alhakeem
    @moe-alhakeem Год назад

    If anyone should go to heaven it should be you my friend!

  • @olivermusic8774
    @olivermusic8774 Год назад

    realy cool tutorial .. but only works with paid version :D

  • @napu52
    @napu52 Год назад

    nasheee

  • @finnbrennan-bohm7109
    @finnbrennan-bohm7109 11 месяцев назад +2

    you skipped over alot in the begining like how do i setup my cms collection. this wouldve been perfect :(

  • @themadute847
    @themadute847 Год назад

    You don't know how many damns I've said while watching this

  • @thompson.studio
    @thompson.studio 10 месяцев назад

    now do Framer. :) But, seriously. It's frustrating me to no end. Should've gone with webflow.

  • @RafaelDiGuglielmo
    @RafaelDiGuglielmo Год назад

    ​ @timothyricks is not working for me! I don't know if I am a stupid hehehehe.