Last active
August 29, 2015 14:22
-
-
Save cfitz/276942a3bba0c2a80462 to your computer and use it in GitHub Desktop.
update the css in ASPACE
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# plugins/local/frontend/controllers/application_controller.rb | |
# Obviously, not a application controller, but we just name it this to follow a convention. | |
class ApplicationController < ActionController::Base | |
end | |
module ApplicationHelper | |
def include_theme_css | |
css = "" | |
css += stylesheet_link_tag("themes/#{ArchivesSpace::Application.config.frontend_theme}/bootstrap", :media => "all") | |
css += stylesheet_link_tag("themes/#{ArchivesSpace::Application.config.frontend_theme}/application", :media => "all") | |
css += stylesheet_link_tag("/assets/custom.css", :media => "all") | |
css.html_safe | |
end | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* plugins/local/frontend/assets/custom.css */ | |
body { | |
background: red; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment