Skip to main content

We're currently using the Banners feature to display product announcements on our homepage. We'd love to be able to use the Inline / Top banner design, but the fixed CSS positioning overlaps our main site navigation, which uses sticky positioning. We instead had to result to using the bottom banner design.

 

Is it possible, using Javascript, to detect when a Banner is being displayed, so we can tweak our navigation style to accommodate the top banner?

 

Not sure if I posted this in the correct category, I didn't see an option for Banners.

Hey @chris g​, we don't currently expose in Javascript if a banner is live.


Thanks @eric f11​ , is it possible to submit a feature request for this?


Of course! We gather product feedback in our @Product Wishlist​ group, which I use as a basis for regular reports to our product team. Don't worry, you won't need to post the feedback separately - it'll show up in the group now because I've tagged the group in my reply!


A bit late, but for those looking for a solution….

Have a look at js mutation observers. You can respond to DOM tree changes.


Reply