I’m redesigning a few things on my site (long weekend), and I want to move the announcement bar from the very top of the page to (perhaps) under the nav bar. BUT, I can’t find the code for the announcement bar!
I’m sure it is some place obvious – but I have looked through every nook and cranny of the code, and just can’t find it.
Thoughts?
Ghost loads it as a separate app. In the Github @tryghost/ghost repo, it’s in the apps/announcement-bar directory.
Ah, so it’s in Ghost core and not something I can mess with (since my site is hosted by Gloat and they don’t give FTP access).
Oh, well, was worth a shot. Thanks!
You can absolutely load modified announcement bar code. edit the theme to not load the existing code (see ghost_head exclude) and then load your custom version instead.
Yes, I could – but I also went back and re-read your article on why NOT to use the built-in announcement bar. I’m looking at the tutorial you referenced on Shared Physics, and I may give that a try. That way I can put it where I went it. Thanks, as always!
I’d forgotten about that. I think the parameters for the announcement bar might actually be in @site…