Skip to content

Background image for blocks / section #2136

Discussion options

You must be logged in to vote

Not at the moment. You can either modify the shortcode to add support for a background image, or try some ugly hack in your content file like:

<div class="hack" >
{{< blocks/section color="transparent" type="features">}}

{{< /blocks/section >}}
</div>

And in your css:

.hack {
  background-image: url("/featured-background.jpg") !important;
}

And

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@tamas-ferenci
Comment options

Answer selected by tamas-ferenci
Comment options

You must be logged in to vote
1 reply
@tamas-ferenci
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants