How to add a Bootstrap CSS for Your Magento 2 Theme

  Рет қаралды 8,661

Max Pronko

Max Pronko

Күн бұрын

Пікірлер: 38
@mawizshahab2416
@mawizshahab2416 2 жыл бұрын
Thanks a lot Max! ♥️
@MaxPronko
@MaxPronko 2 жыл бұрын
You are welcome
@bbaros77
@bbaros77 3 жыл бұрын
Thank your tutorials!
@MaxPronko
@MaxPronko 3 жыл бұрын
Thanks for watching!
@tantivit
@tantivit 3 жыл бұрын
Many thanks for the video!
@MaxPronko
@MaxPronko 3 жыл бұрын
Thanks for watching!
@NishaChar786
@NishaChar786 5 жыл бұрын
Awesome tutorial
@NishaChar786
@NishaChar786 5 жыл бұрын
Can you teach KO js
@andresamartins26
@andresamartins26 5 жыл бұрын
@@NishaChar786 There is a guy who has an amazing Magento 2 KnockoutJS course. You can have a trial for free on his website - www.mage2.tv. I was able to create my first component right after the lessons - github.com/andresams/magento2-cart-popup.
@iamviduranishantha
@iamviduranishantha 4 жыл бұрын
Thanks, Max
@abautixta
@abautixta 3 жыл бұрын
cool Max, could you make one with tailwind css?
@MaxPronko
@MaxPronko 3 жыл бұрын
I definitely could.
@williamengbjerg
@williamengbjerg 3 жыл бұрын
@Max Could you make one with tailwind css as well? Would be pretty cool. Thx.
@MaxPronko
@MaxPronko 3 жыл бұрын
I definitely have to try with tailwind css and make a video. Thanks
@bohdanbatsenko4843
@bohdanbatsenko4843 2 жыл бұрын
Please what is the difference adding css files into - Magento_Theme/web/css and directly into - web/css? Thanx
@naimali6385
@naimali6385 5 жыл бұрын
Thank you.
@mohamedmekkaoui3277
@mohamedmekkaoui3277 5 жыл бұрын
Thank you Max, I've been trying to order my custom.css after style-l.css and style-m.css as per client demand, I will try using head.additional but is it a good idea in term of best practices ?
@MaxPronko
@MaxPronko 5 жыл бұрын
Mohamed Mekkaoui best practice is to have all your custom styles included into style-l.css and style-m.css, for this you would have to write tour custom styles in less files
@mohamedmekkaoui3277
@mohamedmekkaoui3277 5 жыл бұрын
@@MaxPronko Thank you! yes Ideally, I forgot to mention that this custom.css is minified ... the battle of client satisfaction vs best practices may begin
@alangoldberg4723
@alangoldberg4723 4 жыл бұрын
What's the surprise at the end?
@MaxPronko
@MaxPronko 4 жыл бұрын
Have a look the full video
@perfectwebsolutions
@perfectwebsolutions 5 жыл бұрын
if you only need to add css compiled then why you need to download the source? rather than downloading the Compiled CSS and JS?
@MaxPronko
@MaxPronko 5 жыл бұрын
This was my decision :)
@perfectwebsolutions
@perfectwebsolutions 5 жыл бұрын
@@MaxPronko oh Ok, I thought you are going to show how to use sass with magneto as we know Magento already support .less but the bootstrap source is in .scss format.
@DesiTonyFaimly
@DesiTonyFaimly 5 жыл бұрын
best videos
@meghvankawala3563
@meghvankawala3563 4 жыл бұрын
I am using luma theme and when I add bootstrap.css to my theme, bootstrap css is applied to footer section also and it messed up the footer. I only want to apply bootstrap css only content section (not header and footer).
@victorpinochet6745
@victorpinochet6745 5 жыл бұрын
ty men
@reenakotadiya819
@reenakotadiya819 Жыл бұрын
and bootstrap JS ???
@ZorlacSkater
@ZorlacSkater 4 жыл бұрын
But this will make bootstrap override your magento CSS, because it gets loaded after magento 2 styles... There are conflicts and some pages changes... for example in customer area in frontend. Is there a fix ?
@MaxPronko
@MaxPronko 4 жыл бұрын
I don’t have any issues on my Magento 2 website with the bootstrap enabled. If you can show me what you mean
@ZorlacSkater
@ZorlacSkater 4 жыл бұрын
@@MaxPronko For example in the frontend customer area (/customer/account) the list on the left looks weird after adding bootstrap. See screenshot: i.stack.imgur.com/IRDM5.png I am using 4.5.2. The problem is, that bootstrap is overriding the class `.nav` I had to fix it by overriding it with `.nav { display: block !important; }`
@MaxPronko
@MaxPronko 4 жыл бұрын
No one said that there couldn’t be issues. At least you can fix all the issues found. Good luck
@ZorlacSkater
@ZorlacSkater 4 жыл бұрын
@@MaxPronko If we load bootstrap before styles-m.css / styles-l.css, then it does not override anything from magento. Do you know how we can load bootstrap before?
@pegatino
@pegatino 5 жыл бұрын
After doing this it gives me an error in the CLI , ' There are no commands defined in the "c" namespace. ' ! Why?
@MaxPronko
@MaxPronko 5 жыл бұрын
Try “cache” instead of c. Maybe there is some misconfiguration.
@Viralplace
@Viralplace 4 жыл бұрын
Now Go to the single view of the product ... you will not see the image do you know? You will have width 1px height 1px.
@pegatino
@pegatino 5 жыл бұрын
Why do you use the design folder, I thought that nothing was added to that folder? I created my own module and put all my stuff there, including the web folder with the css file inside, but it doesn't work for me
@MaxPronko
@MaxPronko 5 жыл бұрын
Design folder for design and theme changes e.g. layout, phtml and less related files that are particularly used on the storefront.
Add Template to Layout in Magento 2
2:02
Max Pronko
Рет қаралды 3,5 М.
Customise the Luma header - front end theme development - Magento 2
16:54
Another Magento Dev
Рет қаралды 17 М.
She made herself an ear of corn from his marmalade candies🌽🌽🌽
00:38
Valja & Maxim Family
Рет қаралды 18 МЛН
My scorpion was taken away from me 😢
00:55
TyphoonFast 5
Рет қаралды 2,7 МЛН
Magento 2 Custom Themes: How to Make a Theme from Scratch
25:18
Max Pronko
Рет қаралды 11 М.
How to build Custom Theme in Magento 2
16:26
Max Pronko
Рет қаралды 83 М.
How to Create a  Dropdown Login on Header in Magento 2
6:08
Technical Rajni
Рет қаралды 505
Add CSS and Javascript in Page Head in Magento 2
7:38
Alaa Al-Maliki
Рет қаралды 6 М.
Getting started with a custom theme in Magento 2
10:54
Another Magento Dev
Рет қаралды 3,4 М.
👩🏼‍💻 What is Bootstrap? / Beginner CSS Framework
8:26
Magento 2 Custom Theme: Logo, Navigation and Layout
15:07
Max Pronko
Рет қаралды 22 М.
Extending Luma theme in Magento 2 - front end theme development
11:58
Another Magento Dev
Рет қаралды 8 М.