Hi,
Does anyone know how to use bootstrap 5 for print formats? Currently Frappe is using Bootstrap 3!
You can simply add the stylesheet link to load the v5 css
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC" crossorigin="anonymous">
1 Like
Hi Thanks for the reply. I didnt know I can put the tag directly in the HTML box. Its working great now.
Another question on the same topic. Instead of writing the HTML in the UI, is there a way I can write it in the editor (VSCode) and Frappe then reads it? Whats the file structure/naming that I need to follow?
Thanks.