0
Votes
Undo
  1. Template
  2. Commercial Templates
  3. Monday, 15 April 2019
  4.  Subscribe via email
What do I need to get the header bachground image responsive?
How to change CSS?
References
  1. https://fassadenreinigung-schmidt.de/
Accepted Answer Pending Moderation
0
Votes
Undo
I guess I got it fixed

.header_main{
background-size: 100% auto !important;
}

Could you ckeck it, please.
  1. more than a month ago
  2. Commercial Templates
  3. # 1
Accepted Answer Pending Moderation
0
Votes
Undo
Hello

Thank you for sharing your solution.

By default the background header image has a background-szie property set to 'cover' (https://www.w3schools.com/cssref/css3_pr_background-size.asp). This means the background image will fill the header area while keeping the correct dimensions. This will result in some cropping on some screen sizes. Your CSS is correct in that it ensures the full image is always displayed.

Ciaran
  1. more than a month ago
  2. Commercial Templates
  3. # 2
  • Page :
  • 1


There are no replies made for this post yet.
Be one of the first to reply to this post!