Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I am rendering menu using partials but my custom css isn't effected the menu . Its taking by default bootstrap css .
Please help and all help will be highly appreciated .
Hi Arindam,
You you please make sure that your CSS file with the custom CSS are the one that are being load after the default bootstrap CSS.
Hope this helps as a start.
/Dennis
Hi ,Dennis Aaen
I am providing the css order here
<!-- Custom styles for this template --> <link href="~/css/bootstrap.min.css" rel="stylesheet"> <link href="~/css/font-awesome.css" rel="stylesheet"> <link href="~/css/carousel.css" rel="stylesheet"> <link href="~/css/style.css" rel="stylesheet"> <link rel="stylesheet" href="~/css/owl.carousel.min.css"> <link rel="stylesheet" href="~/css/owl.theme.default.min.css">
first one is bootstrap and style.css is our custom css
Please help isnt work in this way .
Okay then you should be sure that you are taget your custom CSS sectors with a higher specificity than the default Bootstrap once.
Try to see this https://www.smashingmagazine.com/2007/07/css-specificity-things-you-should-know/#specificity-hierarchy
Hope this helps,
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Custome style issue
I am rendering menu using partials but my custom css isn't effected the menu . Its taking by default bootstrap css .
Please help and all help will be highly appreciated .
Hi Arindam,
You you please make sure that your CSS file with the custom CSS are the one that are being load after the default bootstrap CSS.
Hope this helps as a start.
/Dennis
Hi ,Dennis Aaen
I am providing the css order here
first one is bootstrap and style.css is our custom css
Please help isnt work in this way .
Hi Arindam,
Okay then you should be sure that you are taget your custom CSS sectors with a higher specificity than the default Bootstrap once.
Try to see this https://www.smashingmagazine.com/2007/07/css-specificity-things-you-should-know/#specificity-hierarchy
Hope this helps,
/Dennis
is working on a reply...