Dynamic CMS Grid in Webflow

แชร์
ฝัง
  • เผยแพร่เมื่อ 21 ต.ค. 2024

ความคิดเห็น • 112

  • @yolkk
    @yolkk 11 หลายเดือนก่อน +15

    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 3 หลายเดือนก่อน +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 หลายเดือนก่อน

      @@whothewho82 doesnt work for me either

  • @graceongrid
    @graceongrid ปีที่แล้ว +27

    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 ปีที่แล้ว +3

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

  • @NoahShreve
    @NoahShreve ปีที่แล้ว +3

    Accessing CMS data in attributes is such a game changer

  • @Raavail
    @Raavail ปีที่แล้ว +5

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

  • @mislavrepinac
    @mislavrepinac ปีที่แล้ว +1

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

  • @MatthewMunger
    @MatthewMunger ปีที่แล้ว +3

    Great use of dynamic attribute binding!

  • @biniamjohannes9853
    @biniamjohannes9853 ปีที่แล้ว +2

    FANTASTIC TUTORIAL TIMOTHY!!

  • @IkevanGerven
    @IkevanGerven 8 หลายเดือนก่อน +1

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

    • @timothyricks
      @timothyricks  8 หลายเดือนก่อน

      So glad this helps! Thank you!

  • @ihajo
    @ihajo ปีที่แล้ว +2

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

  • @marijanastojanovic198
    @marijanastojanovic198 ปีที่แล้ว +2

    Thank you for everything you do, Timothy. 👏😊

  • @vcrazyedits
    @vcrazyedits ปีที่แล้ว +4

    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

    • @timothyricks
      @timothyricks  ปีที่แล้ว +3

      Oh, awesome!! Glad this helps!

    • @Roadrebelsoffroad
      @Roadrebelsoffroad ปีที่แล้ว +1

      Same here.... Thanks @Timothy Ricks🎉

  • @davidacreates
    @davidacreates ปีที่แล้ว +1

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

  • @wacho7934
    @wacho7934 ปีที่แล้ว +1

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

  • @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!

  • @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!!

  • @harmfull1
    @harmfull1 ปีที่แล้ว +2

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

  • @HarshitAgrawalOfficial
    @HarshitAgrawalOfficial ปีที่แล้ว +2

    Wow! As always amazing trick Timothy! 🎉

    • @timothyricks
      @timothyricks  ปีที่แล้ว +1

      Thanks so much, Harshit!

  • @andresochoa3040
    @andresochoa3040 ปีที่แล้ว +1

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

  • @angelicojohnrago2878
    @angelicojohnrago2878 ปีที่แล้ว +3

    How about if its multiple images field?

  • @frankiejamieson3690
    @frankiejamieson3690 ปีที่แล้ว +2

    Awesome video, thanks!

  • @JakeSpirek
    @JakeSpirek ปีที่แล้ว +2

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

  • @rileydesign
    @rileydesign ปีที่แล้ว +2

    Brilliant, thanks for sharing!

  • @wearestudiotonic
    @wearestudiotonic ปีที่แล้ว +1

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

  • @MichaellaBallas
    @MichaellaBallas 10 หลายเดือนก่อน +1

    Thank you Tim!!! You are awesome

  • @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!

  • @loyaldesignco
    @loyaldesignco ปีที่แล้ว

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

  • @patrickspiegel
    @patrickspiegel ปีที่แล้ว +1

    Ok wow, this is awesome!! Thanks :)

  • @kjellruben
    @kjellruben ปีที่แล้ว +1

    Amazing! Would love more of these! :D

  • @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!

  • @bamoj
    @bamoj ปีที่แล้ว +2

    This is super smart!!

  • @ojayz9220
    @ojayz9220 11 หลายเดือนก่อน +1

    thank you

  • @pablogday
    @pablogday ปีที่แล้ว +1

    Smart! Thanks for sharing.

  • @nickjones605
    @nickjones605 9 หลายเดือนก่อน

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

  • @tuttoele
    @tuttoele ปีที่แล้ว +1

    Really a smart solution, thank you! 😄

  • @danielcobb6486
    @danielcobb6486 9 หลายเดือนก่อน +1

    Love this solution!! Top stuff

  • @kendallross5703
    @kendallross5703 9 หลายเดือนก่อน

    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?!

  • @shaneveldhuizen
    @shaneveldhuizen ปีที่แล้ว +2

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

  • @PrivateUniversityPreparation
    @PrivateUniversityPreparation 7 หลายเดือนก่อน +1

    Very Thank you sir

  • @AurelienSchibli
    @AurelienSchibli ปีที่แล้ว +1

    brilliant. and so simple

  • @lad1723
    @lad1723 ปีที่แล้ว

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

  • @deangraubard8640
    @deangraubard8640 หลายเดือนก่อน

    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 7 หลายเดือนก่อน

    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

  • @emrannaziremon5503
    @emrannaziremon5503 ปีที่แล้ว +1

    Great work 🎉🎉🎉 You are just awesome ❤

  • @anshkid
    @anshkid ปีที่แล้ว +1

    Just brilliant man!

  • @tomsmith6991
    @tomsmith6991 ปีที่แล้ว +1

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

  • @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?

  • @darshakc
    @darshakc 2 หลายเดือนก่อน +1

    You are the man! 🫡🫡

  • @dimaka5495
    @dimaka5495 4 หลายเดือนก่อน

    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  4 หลายเดือนก่อน

      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.

  • @favouraderemi1933
    @favouraderemi1933 ปีที่แล้ว +3

    Webflow wizard ✨️

  • @jelenajovanovic1472
    @jelenajovanovic1472 ปีที่แล้ว +2

    Tnx ❤

  • @thooriga
    @thooriga ปีที่แล้ว +1

    Helpful Thanks so much!!

  • @LauraMarielNateraComte
    @LauraMarielNateraComte 10 หลายเดือนก่อน

    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.

  • @AVMmmm
    @AVMmmm 3 หลายเดือนก่อน

    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 3 หลายเดือนก่อน

      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

  • @bridesontube
    @bridesontube 2 หลายเดือนก่อน

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

  • @FernandoComet
    @FernandoComet ปีที่แล้ว +2

    Awesome!

  • @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!

  • @whothewho82
    @whothewho82 3 หลายเดือนก่อน

    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.

  • @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.

  • @akbarbadsha25
    @akbarbadsha25 9 หลายเดือนก่อน

    wow love this tutorial. Its super awesome :)

  • @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!!

  • @altingrc1924
    @altingrc1924 ปีที่แล้ว +2

    Genius

  • @HelenPoylova
    @HelenPoylova ปีที่แล้ว +2

    True Genious ! 🤩

  • @valdiszhvaginsh3825
    @valdiszhvaginsh3825 8 หลายเดือนก่อน

    Thanks!

  • @OAGMedia
    @OAGMedia 3 หลายเดือนก่อน

    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  3 หลายเดือนก่อน

      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 3 หลายเดือนก่อน

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

  • @crissmoralest
    @crissmoralest 5 หลายเดือนก่อน +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 3 หลายเดือนก่อน +1

      same here. searching for that setting.

    • @whothewho82
      @whothewho82 3 หลายเดือนก่อน

      @@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.

  • @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 ❤

  • @aaqadasi
    @aaqadasi ปีที่แล้ว

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

  • @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

  • @declanpodmore875
    @declanpodmore875 11 หลายเดือนก่อน

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

    • @nickjones605
      @nickjones605 9 หลายเดือนก่อน

      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.

  • @dereksoup
    @dereksoup ปีที่แล้ว +1

    Genius!

  • @goulielmosdermon
    @goulielmosdermon 5 หลายเดือนก่อน

    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 3 หลายเดือนก่อน

      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 3 หลายเดือนก่อน

      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 20 วันที่ผ่านมา

      @@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?

  • @FernandoComet
    @FernandoComet ปีที่แล้ว

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

  • @eeonmall
    @eeonmall ปีที่แล้ว

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

  • @user-dj8gt6ik7c
    @user-dj8gt6ik7c 8 หลายเดือนก่อน

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

    • @user-dj8gt6ik7c
      @user-dj8gt6ik7c 8 หลายเดือนก่อน

      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.

  • @hamodi20091
    @hamodi20091 11 หลายเดือนก่อน +1

    🤩

  • @dickyjiang
    @dickyjiang ปีที่แล้ว +1

    🎉 smart 😎

  • @dimka_tregubov
    @dimka_tregubov ปีที่แล้ว +1

    Omg🤯🔥🔥🔥

  • @MarkFaamaoni
    @MarkFaamaoni ปีที่แล้ว +2

    WOAH

  • @olivermusic8774
    @olivermusic8774 ปีที่แล้ว

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

  • @finnbrennan-bohm7109
    @finnbrennan-bohm7109 8 หลายเดือนก่อน +2

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

  • @moe-alhakeem
    @moe-alhakeem ปีที่แล้ว

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

  • @themadute847
    @themadute847 ปีที่แล้ว

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

  • @napu52
    @napu52 ปีที่แล้ว

    nasheee

  • @productguiderhero2324
    @productguiderhero2324 ปีที่แล้ว +1

    Amazing

  • @thompson.studio
    @thompson.studio 7 หลายเดือนก่อน

    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.