Home › Forums › CSS › [Solved] Placement of background image › Reply To: [Solved] Placement of background image
May 18, 2014 at 9:22 am
#170532
Participant
13em
is the width
of the sidebar, so when it’s background-position: 13em center;
, the image lines up with that left sidebar. At 850px
when the menu becomes “hamburger dropdown in top right corner”, you could change that in a mediaquery
to background-position: 0 0 ;
or something;
@media (max-width:850px) {
body.myatu_bgm_body {
background-position: 0 0;
background-size: 100% 100%;
}
}