Skip to content
Permalink
Browse files

Fixing background too big.

  • Loading branch information...
Depado committed Aug 30, 2015
1 parent 509a0c9 commit 935b8e5f48c45bd11aac6d62d03a73b9d0a77457
@@ -23,7 +23,7 @@ def generate_background_css(blog_user=None):
repeat_mode = "no-repeat"
background_cover = True
backgroud_css_template = "background: url('{background_url}') {repeat_mode} center center fixed;"
background_url = url_for('static', filename='img/2.png')
background_url = url_for('static', filename='img/bg.jpg')

if blog_user:
if blog_user.blog_bg and blog_user.blog_bg_public:
BIN -2.66 MB app/static/img/2.png
Binary file not shown.
BIN +146 KB app/static/img/bg.jpg
Binary file not shown.
@@ -9,7 +9,7 @@ def generate_bg_css():
repeat_mode = "no-repeat"
background_cover = True
backgroud_css_template = "background: url('{background_url}') {repeat_mode} center center fixed;"
background_url = url_for('static', filename='img/2.png')
background_url = url_for('static', filename='img/bg.jpg')
if current_user.is_authenticated():
if current_user.blog_bg and current_user.blog_bg_everywhere:
background_url = current_user.blog_bg

0 comments on commit 935b8e5

Please sign in to comment.
You can’t perform that action at this time.