Add CSS to every page

Can’t see how to do this … can anybody help

I want to add the following to every page.

I can see how to add it to each page individually and it works great - but how would I add it to every page.

Adding it to Project Settings > Template doesn’t appear to work

Thanks !

 div[x-data="desktopSubmenu"] svg {

display: none;
}

Hi @jbob

If you are trying to inject it into the head section in Project Settings >> Template, you’d wrap it in style tags, probably right before the closing </head> tag.

<style>
 div[x-data="desktopSubmenu"] svg {
 display: none;
 }
 </style>

That usually works, haven’t tested it though….

Fab D-Dan … that works !!

Thank you

1 Like