0

_nav file in bootstrap CDN damaging my navbar style So HOW TO DELETE OR OVERRIDE _NAV.sccs FILE FORM BOOTSTRAP CDN?

I have added bootstrap CDN to Magento 2 it changed my main menu alignment how to fix it??

display: block fixing it instead of display: flex CSS style but I don't know how to add it

how to add display:block css style to override display: flex bootstrap CDN css style in _nav.scss file I have already added .nav { display: block; } but it doesnt work

3
  • _navigation.less file ?????? Jun 14, 2019 at 5:17
  • I have added bootstrap cdn to magento 2 it changed my main menu alignment how to fix it??
    – user71446
    Jun 14, 2019 at 11:11
  • display: block fixing it instead of display: flex css style but I don't know how to add it
    – user71446
    Jun 14, 2019 at 11:12

1 Answer 1

0

If you have added .nav {display: block;} to your custom CSS, try adding !important like this:

.nav { display: block !important; }

Sorry I can't add this as a comment (I need 50 reputation).

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.