Тёмный
No video :(

Understand EM & REM Font Size for Elementor and what is the Parent and the Root HTML? 

Web Squadron
Подписаться 81 тыс.
Просмотров 6 тыс.
50% 1

One of the most confusing topics for newbies and veterans especially when you 're trying to make sense of Responsive Text.
We'll cover off EM and REM Font Sizes in Elementor and I'll show you where the Parent and Root HTML Controls sit!
- Get Elementor Pro here --- elementor.com/...
-- Of course, we're affiliated to them, but it helps to pay for resources to keep creating ace content for you :)
-- Book an Appointment/Consultation: calendly.com/i...
-- LinkedIn: / imran-siddiq-7320a74a
-- Instagram: / batswebsitedesign
-- Twitter: / imranwebsites
-- Facebook: / websquadrontraining
PS: websquadron.co.uk
PPS: Contact us at info@websquadron.co.uk
PPPS: We only build with Elementor Pro

Опубликовано:

 

29 авг 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 86   
@websquadron
@websquadron 2 года назад
If you like what you see - then please do Like and Share! And if you don't - then let me know - because we always want to improve.
@Dhananjaynaidu91
@Dhananjaynaidu91 2 года назад
Spent many weeks fudging around, well done
@Clarity-808
@Clarity-808 Год назад
Thank you for making these advanced Elementor/CSS tuts, we are an underserved niche!
@mnburch
@mnburch 2 года назад
Hi Imran. This is probably not a typical comment you receive, but here goes. I am turning 75 this December and live in Florida with my wife of 45 years. We have four children and six grandchildren. My wife taught elementary school-aged special needs children when we lived in Nashville, Tennessee (this will all come together eventually). I am a retired computer programmer and web developer and took many live and online training classes during my working career. I was a Divi subscriber for two years and watched tons of Divi tutorials on RU-vid during that time. About a year ago or so, I switched over to Elementor and recently upgraded to Elementor Pro. Considering all the live and online classes, training, and tutorials I've had over decades, including all of the Divi and Elementor tutorials I've viewed, you are one of the best, most gifted teachers I've ever encountered. I think you would make an exceptional school teacher, and I mean very exceptional. I wish all of my school teachers could have been like you. I know I would have done so much better. You make learning fun and informative. Please, if you ever encounter any opportunities to exercise your exceptional teaching gift with school-aged children, don't pass them by. You, and the children, will be greatly enriched as a result. May God richly bless you.
@websquadron
@websquadron 2 года назад
My eyes welled on reading that. Your kind words and sincerity has blown me away. A huge thanks.
@mnburch
@mnburch 2 года назад
@@websquadron Absolutely my pleasure and honor. Please keep up what you're doing and take every opportunity to share your unique teaching gift, Imran.
@websquadron
@websquadron 2 года назад
@@mnburch I hope to be there for you too!
@mnburch
@mnburch 2 года назад
@@websquadron You have been, are, and will be I'm sure. I can tell teaching is ingrained in you in a very special way. I really don't know anything about you personally, but I know God has given you a wonderful, unique gift of teaching. Have you ever considered pursuing teaching as a career? Please forgive me if I'm getting too personal. There is such a dearth of teachers of your caliber in the world today. Children desperately need teachers like you.
@websquadron
@websquadron 2 года назад
@@mnburch I have many times considered teaching but have often stopped at the stages of applying or looking deeper into it.
@radialtech
@radialtech Год назад
BEST video explaining EM and REM in Elementor - thanks for explaining where the Parent and Root are controlled from. Much appreciated!! Subb'd
@fazanash
@fazanash Год назад
You give me what I looked for, greaaat
@peerlessaquacare
@peerlessaquacare Год назад
Brilliant! Simply Brilliant!
@websquadron
@websquadron Год назад
Many thanks!
@NeilSnapePhotography
@NeilSnapePhotography Год назад
Finally, thank you so much, a very important video! Now I have an idea of why and where these settings are useful. I have been using REM without knowing why.
@Ife-Emmanuel
@Ife-Emmanuel 2 года назад
This is really helpful
@reniseporter9119
@reniseporter9119 2 года назад
(Girly Screams Happiness) Thank you so much . I have spent weeks correcting for desk top to phone.
@stevemarrs3149
@stevemarrs3149 2 года назад
How did I miss this?! There should be plenty of shiny happy people switching to REM after this video...
@websquadron
@websquadron 2 года назад
Totally :) Trying to work out Parent v Root HTML - let alone what they were confused me so much - so I ended up using Pixels for fonts for a long time. Now I feel okay with using REM :) Okay.... I'm just going to blast out 'Losing my Religion' now...
@amiebrown7594
@amiebrown7594 Год назад
This is the first time these concepts have made a bit of sense to me. Thank you so much!
@websquadron
@websquadron Год назад
This might interest you: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-DGl5Zl586i4.html
@ozartdesign
@ozartdesign 2 года назад
Holy Crap... thanks Imran that makes so much sense finally!! Great video, really easy to follow :)
@websquadron
@websquadron 2 года назад
For almost 12 months, the use of EM and REM used to plague me, but once I made the 'Eureka' discovery fo exactly what the Parent and Root HTML was, I had to share :)))
@OscarObians
@OscarObians 2 года назад
Thanks for making this video Imran. The missing piece for me was finding what controls the EM vs REM sizing. Thanks a lot
@websquadron
@websquadron 2 года назад
Same here. People mention the Parent or Root HTML but never explained where. So glad that we got there :)
@worksmartomnimediatv5890
@worksmartomnimediatv5890 2 года назад
Do you have any video tutorial explaining the basics and difference between PX, EM, REM, VH and other size options Elementor uses, best practices for use of each, when you should use each of them and which is best for responsiveness. You know the basic stuff.
@websquadron
@websquadron 2 года назад
@@worksmartomnimediatv5890 Not a detailed video, but I did this PX v EM video: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-dKUHLAB0Fyw.html My Recommendations are: Only use PX for margins, padding and images. Use REM instead of EM, just because it's better responsively. VH - I only use for Sections when I make them Full Screen. Never bothered or found a good reason to use it for fonts.
@worksmartomnimediatv5890
@worksmartomnimediatv5890 2 года назад
@@websquadron Thank you so much!
@Pedant_Patrol
@Pedant_Patrol 2 года назад
Dude, I am loving this content!
@websquadron
@websquadron 2 года назад
Glad you enjoy it! Great to have you :)
@cw5986
@cw5986 2 года назад
Great explanation, thank you! Too bad I didn't find this video 10 videos ago.
@fulilaoji7483
@fulilaoji7483 Год назад
Great explanation, thank you! 👍👍👍
@sofunes
@sofunes Год назад
This is amazing! Thanks! Amazing content!
@websquadron
@websquadron Год назад
This updated version is much more helpful. ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-oWONLR_arA0.html
@alindaalvin8049
@alindaalvin8049 Год назад
you're the best brother
@websquadron
@websquadron Год назад
See this updated video: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-kKG5dabkEuc.html
@amrfarrouh
@amrfarrouh 2 года назад
Thank you finally I understand it with easy way
@websquadron
@websquadron 2 года назад
Yessssssss :))))))))
@TheZebaldo
@TheZebaldo 2 года назад
Thx, nice video dude. Now I now the difference, and how it works together.
@websquadron
@websquadron 2 года назад
Ace :)
@sajjadabouei6721
@sajjadabouei6721 2 года назад
perfect thank you
@websquadron
@websquadron 2 года назад
You're welcome!
@danygingras7782
@danygingras7782 2 года назад
woo I was looking for this. Now I have to redo few website I guess ^^
@websquadron
@websquadron 2 года назад
Only if the time is worth it :)
@adied7725
@adied7725 2 года назад
This is a superb video, at last someone who really tries to explain this easily........i was looking at the other video and now kinda stuck on what really are the best overall website settings for hello theme with elementor for font sizes for web please. For: H1 to H6 desktop & mobile? sizes rem / em Sub Heading heading desktop/ mobiles? em/ rem Body size desktop/mobile em/rem? i would love to know what you use as a guide line, please. Thanks for making great videos easy for us
@websquadron
@websquadron 2 года назад
Great question. It does depend on the Spec and what you're going after. I leave the ROOT HTML as 16PX, thus no need to modify. H1 = 3 REM H2 = 2.5 REM H3 = 2 REM Text = 1 REM, but sometimes 1.2 REM
@BrockBarr
@BrockBarr 2 года назад
REM is my preferred, simply because I can get more tweakability from my CSS code. Also, REM had that great song, Shiny Happy People! 😉
@websquadron
@websquadron 2 года назад
Love the Band REM. Losing my Religion always hits me deep. Totally agree on REM for Fonts.
@theresasouthern8631
@theresasouthern8631 Год назад
Not at all confusing! You made perfect sense. I do have one question though. If you don't set the root in your CSS, does it just get it from the person's browser? And would this be a preferred way of doing it?
@websquadron
@websquadron Год назад
Yes from the browser but most are set as 16px so it’s quite consistent
@antoniomaria2012
@antoniomaria2012 Год назад
Great video! Do I need to set the REM values for mobile?
@websquadron
@websquadron Год назад
I would and you may want to see this: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-kKG5dabkEuc.html And: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-oWONLR_arA0.html
@DanfredSerrano
@DanfredSerrano 9 месяцев назад
Just the explanation I was looking for! Thanks @Web Squadron! One quick question tho... I'm having an issue with the hero section of a website I'm currently building for a client. I work on a 24" screen and my laptop is 17", screen res in 1920*1080. My client has a small laptop, I believe 13" or 14". All my hero section is built with VW and VH and percentages, which works nicely for now, but when he visualizes the page in his laptop, the text displays massively, and some elements overlap with the nav menu. I asked what screen res he had, and said 1920*1080, just like mine, so I'm guessing this "shouldn't happen" since the screen resolutions are the same regardless of physical screen size? Is this correct? or am I missing something here?... This is exactly the reason I was researching for EMs and REMs right now... thanks in advance!
@websquadron
@websquadron 9 месяцев назад
You're right, it shouldn't though this where I would advise on using Clamp Typography. ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-pV4UJ_rL-jo.htmlfeature=shared
@cupa
@cupa Год назад
Очень важная и интересная информация, смотрю не смотря на то что её преподносят абсолютно мерзко (в этом видео)
@websquadron
@websquadron Год назад
Can you add that in English?
@cupa
@cupa Год назад
@@websquadron Yes i can )
@polarendtech
@polarendtech 2 года назад
Really well done! For sure answered more questions than confused me :) I may have missed it, but, Why are you leaning towards REM? And, why would you use REM over EM? It seemed the only difference is where you put the base line px size to scale off of (Elementor typography vs theme additional css - parent vs root) Yes, I know it is a difference, but I don't see why it is significant.... Thank you!!
@websquadron
@websquadron 2 года назад
Apparently after speaking to many, REM reacts better for responsive sizing. It's all to do with the HTML being the CORE UNIT, thus if the HTML is 20px, then everything else will run off that. It does get complicated but you will find more people leaning to REM now :)
@worksmartomnimediatv5890
@worksmartomnimediatv5890 2 года назад
@@websquadron So I guess using px to get everything pixel oerfect is all a fallacy? Asking for a friend...🤓🤔
@websquadron
@websquadron 2 года назад
@@worksmartomnimediatv5890 Yes. Just use PX for margin/padding and image sizing. REM for fonts is a winner :)
@MatichekYoutube
@MatichekYoutube Год назад
one thing to point out, is that rem is really powerful in colab with @media queries cause you can nicely scale the fonts for different sizes with few lines of css
@websquadron
@websquadron Год назад
I’ve now moved onto using them with clamp. Make sure you see the clamp video I put out a few weeks ago :)
@MatichekYoutube
@MatichekYoutube Год назад
@@websquadron ohh snap, ok, will take a look, thanks
@lisastackhouse1055
@lisastackhouse1055 2 года назад
Thank you for this well-explained video of fonts!! Is there any concern of elementor wiping out the custom CSS when they do an upgrade to a newer version of their software?
@websquadron
@websquadron 2 года назад
No, the Code will be fine - but to be extra-extra safe - I add my codes to Code Snippets - which is Free - and created by Verdi Heinz (who works for Elementor).
@lisastackhouse1055
@lisastackhouse1055 2 года назад
@@websquadron Thank you! I appreciate the tip on using code snippets!
@BalloonSchool
@BalloonSchool Год назад
I really liked that you want to point out the differences as non of the other videos talk about it deeply. BUT... sadly I still didn´t get it :(
@websquadron
@websquadron Год назад
Watch this updated version :) ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-kKG5dabkEuc.html
@BalloonSchool
@BalloonSchool Год назад
@@websquadron thanks a lot! for you quick response - I will watch the new version right away. Btw do you have also a video about "why its possible (yes I know this is a very basic question) to change the page title / tagline in the WP Settings, in the Theme Settings and then also on top in the Page Settings?" Its very confusing and what would be the right way to do this?
@scottsspiderman
@scottsspiderman Год назад
Hello, what video should i watch. I have 2 columns and when I stretch they both lose there sizing and it looks horrible
@websquadron
@websquadron Год назад
You could set their Custom Width in the Advanced Tab
@robinwoodactivitycentres1526
Why are you leaning towards REM over EM?
@websquadron
@websquadron Год назад
Force of habit with no scientific explanation.
@frontweb9984
@frontweb9984 10 месяцев назад
hello Emran, the text is larger when opening the website in Facebook internal browser. and looks good on normal browsers. how to solve this please?
@websquadron
@websquadron 10 месяцев назад
Not sure about why that happens
@clevermissfox
@clevermissfox Год назад
The code is not in description
@websquadron
@websquadron Год назад
For the Root HMTL? .root { font-size: 16px; }
@ElementoryMyDearWatson
@ElementoryMyDearWatson Год назад
If changing the root (html) font size from 16 px to something smaller, best to use a percentage value rather than a fixed pixel size as this impacts accessibility should someone want to increase their browser font size in the appearance settings. 10 px is 62.5% of 16 px, so the code should be html { font-size: 62.5%; }
@websquadron
@websquadron Год назад
I would go deeper and suggest using Font Clamp(). See this: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-DGl5Zl586i4.html
@ElementoryMyDearWatson
@ElementoryMyDearWatson Год назад
@@websquadron I have used a number of online clamp calculators, but as you point out, this is great to be able to copy all settings at once to paste into one's CSS location. Very useful tool, many thanks Imran
@Releasly
@Releasly 2 года назад
@stuartibbotson7179
@stuartibbotson7179 Год назад
epic
@VSongu
@VSongu 22 дня назад
Great thank you!
Далее
px vs rem: what to use for font-size in your CSS
16:11
px em and rem - Fast and easy way
3:08
Просмотров 32 тыс.
Why use REM Typography in Webflow
17:11
Просмотров 22 тыс.
Are you using the right CSS units?
6:30
Просмотров 452 тыс.