Skip to content

Commit

Permalink
Banner masthead shouldn't be repeating
Browse files Browse the repository at this point in the history
  • Loading branch information
root authored and root committed Mar 21, 2010
1 parent e14903e commit f719b79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/helpers/layout_helper.rb
Expand Up @@ -325,7 +325,7 @@ def masthead_container
bgcolor = (appearance.masthead_background_parameter == 'white') ? '' : '#'
bgcolor = bgcolor+appearance.masthead_background_parameter
locals[:section_style] = "height: #{height}px"
locals[:style] = "background-image: url(#{appearance.masthead_asset.url}); height: #{height}px;"
locals[:style] = "background-repeat: no-repeat; background-image: url(#{appearance.masthead_asset.url}); height: #{height}px;"
locals[:render_title] = false
else
locals[:section_style] = ''
Expand Down

0 comments on commit f719b79

Please sign in to comment.