I have created some standard BS 5 off canvas menus and also a custom html/css/js nav bar.
I’ve put the code for these in the Code Editor / Project Header (for the HTML), Code Editor / Additional CSS (for the CSS) and those parts are largely working, however I have these issues:
- In the code for the custom navbar I reference my site logo, but as that is now embedded into the blocs project, how do I reference that in the html ‘src=’ line or do I have to host my site somewhere while I’m developing it so that I can use an absolute link to a folder of images on my server in the html and bypass the embedded images in the Asset Manager?
- By putting my custom navbar and offcanvs code in the Project Header section, when previewing it’s not behaving like a nav bar and staying visible when you scroll down the web page and because it’s not visible in the editor (only in preview) I can’t select it and change any of the blocs settings from the inspector panel.
- I have some BS5 code to make the footer always at the bottom of the screen if the page content isn’t tall enough to force a scroll bar to appear, but again, because this is code in the Code Editor / Project - Footer it’s not picking that up and it’s not visible in the design editor (as it’s just code) so I can’t use the inspector panel for that either.
Have I missed a step in using the custom code to make this work? I did look at the html snippet but that’s not enough and it’s not what @Norm has previously advised to other users when needing to add this level of custom code (He always said use the Code Editor / Project - Header as the correct place to place it).





