Forum Discussion
Hi cike !
I am trying to use my custom community header and footer made with the Bootstrap 4 and it looks like in my case it dramatically affects Lithium's default components and layout.
Сould you please describe in more detail the process of injecting the pre-made Bootstrap 4 code (custom community header and footer in my case) into the default responsive community skin?
Below is the approach I am using with no luck.
<link rel="stylesheet" href='${asset.get("/html/assets/bootstrap.min.css")}'/> <link rel="stylesheet" href='${asset.get("/html/assets/header-footer.css")}'/> <script src='${asset.get("/html/assets/jquery-3.3.1.slim.min.js")}'></script> <script src='${asset.get("/html/assets/popper.min.js")}'></script> <script src='${asset.get("/html/assets/bootstrap.min.js")}'></script>
<div class="header-wrapper"> <!-- Responsive Header --> <!--custom header html code goes here --> <!-- Responsive header end --> </div> <@liaBody /> <div class="footer-wrapper"> <!-- Responsive Footer --> <!-- custom footer html code goes here --> <!-- Responsive footer end --> </div>Thanks!
Lithium has its own default classes based on quilt and component wrapper.
Under the covers, Lithium Responsive leverages Twitter Bootstrap and Sass (SCSS), a CSS preprocessor that lets developers use variables, mixins, inheritance, nesting, and other useful features that extend and enhance traditional CSS. Lithium responsive solution enables developers to work with the latest framework and technologies to provide the most nimble and exciting community design.
Here is the document, this will helps you to have some more information related to Lithium responsiveness.
Related Content
- 3 years ago
- 8 months ago