How do I customize the banner/header image of Hyrax/Samvera?


How do I customize the banner/header image of Hyrax/Samvera?



I'm a web developer, trying to get my bearings with the Samvera-based application known as Hyrax. I'm using version 2.1.0.rc3. I have done some devops-type stuff with Hyrax so far, I have an app running on AWS and can deploy new code to that stack via Capistrano... but I'm tired of looking at the default header image... time to move in... however, I'm stuck. I've tried searching for terms like image-masthead in the application code, but so far, no luck. I have a suspicion this is a frequently asked question, so I'd accept as an answer just a link to a howto. But... in my searching for an answer I have not yet found such a document. So, I'm turning to Stack Overflow. Help?





@sticky-bit what was wrong with the edit? Hardy is my colleague; I was just helping make their first post more specific, since it's about the banner image. And so our community members can find this post with a more specific title. I think "does not make the post even a little bit easer to read, easier to find, more accurate, or more accessible" is completely the opposite of what my edit did.
– RudyOnRails
2 days ago




1 Answer
1



In your local application, search the config/initializers/hyrax.rb file for the string config.banner_image and try uncommenting it (and altering the URL to a custom image) and restart your rails server.


config/initializers/hyrax.rb


config.banner_image





Now I just have to figure out the Rails asset pipeline, and I am in business, thanks!
– Hardy Pottinger
2 days ago






By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Comments

Popular posts from this blog

paramiko-expect timeout is happening after executing the command

Export result set on Dbeaver to CSV

Opening a url is failing in Swift