question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Custom Assets still showing Header - any workarounds?

See original GitHub issue

Describe the bug

I’ve seen other bugs about this already but they were closed (ie. #140) so I felt it best to just post a new item here.

Essentially I’ve setup custom asset pages for a learning course but the site header is still showing up in my learning path viewport, like so:

Screen Shot 2022-06-22 at 10 29 47 PM

I found this article around using the query string to override this, and in the above the asset link is using ?env=WebViewList, but the best I’m getting is the hub nav going away but still not the site header.

To Reproduce

Setup a custom playlist with a custom asset and choose to make a new page Edit said page and set it to plain and put in some content. Optional: Return to the asset and append ?env=WebViewList to the URL View the course somewhere on a page and see that the hub meganav is no longer rendering but the site header is showing up

Expected behavior

Would be preferred for the header on the modern pages to hide when within a learning pathway viewport

Learning Pathways version number

4.3.0.0

Additional context

If there’s any workaround like the query string idea, I’m all ears. Or a web part that hides it even. Just looking for direction, if nothing else.

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:10 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
mhomolcommented, Jun 27, 2022

Yes, your assumptions are 100% on point. @dcashpeterson

1reaction
v-ashriraocommented, Jun 23, 2022

@mhomol, Thank you for reporting this. Please allow us some time, we will get back to you ASAP.

Read more comments on GitHub >

github_iconTop Results From Across the Web

theme development - Default header image does not display
To be honnest i have a working header image in my customizer using the following code : Functions.php /* custom header image */...
Read more >
Custom headers - Netlify Docs
Custom headers are not compatible with Netlify's built-in asset optimization. Assets optimized with that feature will not have custom headers applied.
Read more >
How can I set response header on express.js assets
This is how to set custom response headers, from the ExpressJS DOC res.set(field, [value]). Set header field to value
Read more >
Custom Cache-Control response header for `/_next/image`
(Edit: After some new tests on Vercel, the source's max-age header is properly honored, still not the case on private server tho).
Read more >
Importer Issues - Snipe-IT Documentation
If your custom field headers are exactly the same name you used in your Custom Fields section, then your custom fields should import...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found