I recently switched over to using Ghost for my blog and by default I'm using the Casper theme. What I'm trying to do is blur the site-head
header
, by styling the CSS using -webkit-filter: blur
, but when I do this, every other element also becomes blurred.
I've tried adding custom style attributes to each other element like -webkit-filter: blur(0px) !important
in an effort to override the site-head
blur, but nothing changes. I've also tried adding and blurring a separate element in between the header
and the start of the first div
leading into the other elements, but this ended in the same result.
I'm pretty new to CSS and Javascript and can't help but think I'm just completely overlooking something here.
This is the index.hbs
:
<header class="site-head" {{#if @blog.cover}}style="background-image: url({{@blog.cover}})"{{/if}}>
<div class="vertical">
<div class="site-head-content inner">
{{#if @blog.logo}}<a class="blog-logo" href="{{@blog.url}}"><img src="{{@blog.logo}}" alt="Blog Logo" /></a>{{/if}}
<h1 class="blog-title">{{@blog.title}}</h1>
<h2 class="blog-description">{{@blog.description}}</h2>
</div>
</div>
</header>
And here is the style for the site-head
:
.site-head {
position: relative;
display: table;
width: 100%;
height: 60%;
margin-bottom: 5rem;
text-align: center;
color: #fff;
background: #303538 no-repeat center center;
background-size: cover;
}