How to use CSS Grid in Divi + Free Layout Set

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

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

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

    Here's where you can download the Free Grid Layout Set: divilover.com/css-grid-based-layout-set/

    • @DinomiksCZAuntie
      @DinomiksCZAuntie 3 ปีที่แล้ว

      Hi Ania, this is an amazing video thank you for. I would love to ask, is it possible to somehow add class into any of the module’s internal element? As I can see grid-area:image1 would work like that probably right? But how about if I got fullwidth section in it I got a module fullwidth header but in the module you got alrady buttons and it is not really like button module itself, so I would need to give the button one class to work with that particular button....is there any possibility to do it please? Thank zou so much for your time and for these helpful videos.

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

      @@DinomiksCZAuntie you don't need a unique CSS class on an element to target it with CSS - you can use the parent container CSS class or ID and then target elements inside the container (using pseudo-selectors such as nth-child or others). www.w3schools.com/cssref/css_selectors.asp

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

    I wish I had seen this about 2 years ago!!! Far easier to follow than the mission I went on to make a CSS grid DIVI homepage!!! Brilliant!

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

      This is do good to hear, I'm happy I could help!

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

    I was looking for this for 1 month and finally fount it. Thanks

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

    I can handle a grid okay for regular web pages, but I haven't dared to try it in Divi. Putting the code in the page settings makes this a pretty easy edit for some really beautiful results. Thank you for your excellent tutorial.

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

    Thank you very much, we need more TH-camrs like you!

  • @vlidk
    @vlidk 3 ปีที่แล้ว

    Thank you Ania. The way you explain everything is refreshing.

    • @aniaromanskacom
      @aniaromanskacom  3 ปีที่แล้ว

      Thank you so much for your kind words! 😊💜

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

    Thanks a lot, fixed my problem with your tutorial in 15'

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

    Thank you, Ania, for this tutorial... I was looking to create this on one of my websites, tried it so many times... but was unable to define a similar grid... this tutorial will help me get it fixed... So easy and simple... You make it so easy...

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

      😊I'm very happy to hear that it was helpful, Ravindra! Thank you for your comment :-)

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

    New subscriber here! Thank you for this insight! I was having a hard time making DIVI respond correctly to my grid rules. Your approach did the trick for me. It seems that DIVI's wrappers for elements are messing up direct CSS definitions. But your strategy worked beautifully. Thank you.

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

      Welcome :-) I'm very glad it was helpful!

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

    but the layout in the video shows a tab grid view but the tabs do not exist in the layout? Please help me assign it.

  • @JfDesigns
    @JfDesigns 3 ปีที่แล้ว

    I’ve wanted to learn the css grid technique inside of Divi. This was fantastic. Thank you.

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

    Again I learned a LOT from your video. Thank you very much Ania!!

  • @chrisbaylis4733
    @chrisbaylis4733 3 ปีที่แล้ว

    That's fantastic. I just built a site in oxygen because it has grid and I didn't know how to do in divi. This is amazing and I think I will try it out.

  • @m.mashhoodansar4102
    @m.mashhoodansar4102 3 ปีที่แล้ว

    Thank you so much for this tutorial . The way you explaining is fantastic.

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

    Excellent tutorial! Wonder when this will be built into Divi?

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

    lovely technique & teacher, thanks!

  • @mustafaalawad2667
    @mustafaalawad2667 2 ปีที่แล้ว

    The CSS grid is really powerful, nice video, the only issue that I find is a divider, that will make it unclickable! I will try it with the image module✌️ thank you for inspiration ✌️

  • @nancymikyska2832
    @nancymikyska2832 2 ปีที่แล้ว

    Why do you use the Divider module to bring in the images? Couldn't you use the Image module?

  •  3 ปีที่แล้ว +1

    Very useful, thank you Ania.

    • @aniaromanskacom
      @aniaromanskacom  3 ปีที่แล้ว

      I'm very happy to hear that! Thank you 😊

  •  ปีที่แล้ว

    Hi Ania! Congratulations on the video, the steps are very easy to follow and everything is easy to understand as you explain each step. I also subscribed to your channel!

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

      You are so kind, thank you! I'm happy you found this tutorial helpful

  • @gangaindoage
    @gangaindoage 3 ปีที่แล้ว

    great tutorials Ania, thanks for sharing it

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

    Thanks for explaining this nice solution.

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

    You helped me truly a lot! Ty very much

  • @shontam
    @shontam 19 วันที่ผ่านมา

    I'd love to do this with rows as the cells and section as the parent, but I cannot get a Divi row to span any cells. Any ideas?

  • @ultimatekv
    @ultimatekv 3 ปีที่แล้ว

    Wooooow impressive Ania. Will definitely be helpful :)

    • @aniaromanskacom
      @aniaromanskacom  3 ปีที่แล้ว

      That is great to hear! Thank you 😊

  • @scrat18
    @scrat18 3 ปีที่แล้ว

    Wow! So well explained... Thank you Ania!

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

      You're welcome, Michiel! I'm glad I could help 😊

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

    This is genius Ania, thank-you. I've been fighting with Divi's speciality sections for far too long! Do you know of a way to replace the static background-image panels with a basic image slider instead please?

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

      Hi Will, thank you, I'm glad it's helpful. For simple image sliders you can try using the Gallery module.

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

      @@aniaromanskacom thanks for your reply Ania, can confirm that the Gallery module works a treat.

  • @tjveach
    @tjveach 3 ปีที่แล้ว

    Very well done Ms Ania!!

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

      Thank you, sir! ;-)

    • @tjveach
      @tjveach 3 ปีที่แล้ว

      @@aniaromanskacom love when you call me sir! Just kidding … !!

  • @17aig
    @17aig 3 ปีที่แล้ว

    Thank you so much for this tutorial you're explaining it so clear can't wait for the next one

    • @aniaromanskacom
      @aniaromanskacom  3 ปีที่แล้ว

      You are welcome, I am soo happy to hear it was helpful and easy to follow! 😊

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

    Hi , how about if i want the grid layout at desktop just same in mobile or tablet , is that possible?
    Tq

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

    Hi Ania. Just came across your channel. Some good stuff here. So we'll explained too. Thanks for sharing. I have a couple of questions. 1. By using css grid and a single row, does it make the website faster cf to using multiple divi columns? 2. If the divi theme is updated, will the css dissappear? Many thanks.

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

      Hi Gerard, thank you, I'm glad you find the content helpful. To answer your questions..
      1. No, I don't think adding grid will help you speed up your site. What we're doing is basically adding more CSS to change the default behaviour/alignement.
      2. No, the CSS code added in the child theme stylesheet or Theme Options custom CSS field will not be deleted when updating the Divi theme.
      Hopefully, this helps ;-)

  • @AsitAithal
    @AsitAithal 3 ปีที่แล้ว

    As usual, amazing!

  • @XavierLarrea
    @XavierLarrea 3 ปีที่แล้ว

    Great tutorial!
    As always!

  • @pw4677
    @pw4677 3 ปีที่แล้ว

    Thank you for this. Absolutely amazing!!

  • @michaelfarmhand
    @michaelfarmhand 3 ปีที่แล้ว

    Thanks, that was really helpful

  • @gangaindoage
    @gangaindoage 3 ปีที่แล้ว

    amazing worked perfectly

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

    Thank you 👍

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

    Thanks you very much!!

  • @moroco.design
    @moroco.design 3 ปีที่แล้ว

    Awesome, Ania! It's like magic... Does it work with other page builders too? (e.g. Elementor)

    • @aniaromanskacom
      @aniaromanskacom  3 ปีที่แล้ว

      Ahh yes, the magic of CSS! 😊 It should work the same in other page bilders, you just need to make sure to keep similar HTML structure (the parent container uses display:grid; and all children are grid items with corresponding area names).

    • @moroco.design
      @moroco.design 3 ปีที่แล้ว

      @@aniaromanskacom Thanks for your reply. I'll try it when I get the time to do it

  • @eamonmchugh2995
    @eamonmchugh2995 2 ปีที่แล้ว

    for some reason, Divi wont let me type in "1fr" into the page settings

    • @aniaromanskacom
      @aniaromanskacom  2 ปีที่แล้ว

      Hi Eamon, the syntax error checker in Divi is not perfect, it doesn't recognize all CSS features correctly, but you can be sure that the code is correct - the error message is false 🤓

    • @eamonmchugh2995
      @eamonmchugh2995 2 ปีที่แล้ว

      @@aniaromanskacom it keeps deleting the code I type in :(

    • @aniaromanskacom
      @aniaromanskacom  2 ปีที่แล้ว

      @@eamonmchugh2995 that's odd. I'd suggest moving the CSS to the Theme Options or child theme stylesheet. Or using a Code module with tag if you don't want this to run globally and just on a single page.