Hi everyone. Hoping for help...
My goal is to have a custom svg logo, with changes made only to mytheme, and for it to colour invert on scroll, just like the default Grav logo.
Setup: Fresh download of Grav and Quark Open Publishing. Running locally on Linux.
Attempted so far: Changing mytheme.yaml
Using this instruction here: Quark: Using SVG as custom logo ...I have been unable to change from default grav logo located in quark/images/grav-logo.svg
This appears to be because the first "if" statement fails and only the "elseif" statement is read. I can tell this by inserting text after the statements as they render onto the page to tell me what is happening.
Notes:
- Working with a fresh install and skeleton of Quark OP - and am making changes to MyTheme only
- I have a new logo.svg located in mytheme/images/logo and a copy of it in mytheme/images as well, just in case. I've also tried using the default logo, but the issue appears to be elsewhere
- I have not set a logo in the admin backend as it just inserts an <img>
- I tried adding a logo variable to mytheme.yaml as suggested elsewhere in forum, but it seemed to be a png specific thing and had no effect on issue
Thank you all so much