Forum Discussion
cike I was able to exactly repeat this effect without changing any community wrapper's CSS just injecting the Bootstrap 4 default bootstrap.min.css into the custom component using the:
<style> <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.0/css/bootstrap.min.css"> </style>
So I think this is definitely is not the side effect regarding my header/footer style definitions.
Myko_P I also added the bootstrap CSS stuff to one of our test environments and there are side effects, too. Not that heavy like your ones, but also visible to users.
Maybe Lithium Support can help you out in this case, maybe they have some best practices for such cases.
Well, while Lithium uses Bootstrap as well under the hood, it is a good practice to use Lithium CSS classes in your custom code. So you are able to use some the advantages and predefined styles of the platform.
Regards,
Christian
Related Content
- 3 years ago
- 8 months ago