From a2fca368dc4a9dd48f61bb1ad1c84d6b161a759d Mon Sep 17 00:00:00 2001 From: rulingcom Date: Tue, 1 Jul 2014 10:57:16 +0800 Subject: [PATCH] Fixed banner by Joshua --- app/assets/stylesheets/store_front/_site-style.scss.erb | 8 ++++++-- app/views/home/index.html.erb | 2 +- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/app/assets/stylesheets/store_front/_site-style.scss.erb b/app/assets/stylesheets/store_front/_site-style.scss.erb index 592e148..06ed7fd 100644 --- a/app/assets/stylesheets/store_front/_site-style.scss.erb +++ b/app/assets/stylesheets/store_front/_site-style.scss.erb @@ -46,11 +46,15 @@ body { // Header .header { - height: 350px; - background-color: #fff; + // height: 350px; + background-color: #cccccc; margin-bottom: 3em; @include box-shadow(0, 2px, .8em, #b3b3b3, outset); } +.carousel-inner { + margin: auto; + max-width: 1300px; +} // Footer .footer { color: #818181; diff --git a/app/views/home/index.html.erb b/app/views/home/index.html.erb index d47f9eb..39fec02 100644 --- a/app/views/home/index.html.erb +++ b/app/views/home/index.html.erb @@ -6,4 +6,4 @@ %> <% a.each do |n| %> <%= render :partial => "shared/item_cluster", :locals => {:type => n[0], :title => n[1], :moreLink => n[2], :frequency => 12} %> -<% end %> \ No newline at end of file +<% end %>