Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS [Solved] Placement of background image Reply To: [Solved] Placement of background image

#170532
Atelierbram
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 mediaqueryto background-position: 0 0 ; or something;


@media (max-width:850px) {
   body.myatu_bgm_body {
    background-position: 0 0;
    background-size: 100% 100%;
  }
}