Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

Media query not showing on live site

Monica May 02, 2017 06:58PM CEST

Hello, I am trying to override the position of background images on mobile, so go into the mobile query custom code area within Semplice and enter:

body {
background-position: left bottom;
}

I have tried entering it in the overall custom CSS area as:

@media (max-width: 1199px) {
body {
background-position: left bottom;
}
}

I tried using !important for both areas, and tried adding the above @media code to the custom code on the specific portfolio pages.

Even in inspect mode when I add in a media query it doesn't work. Is there something on my site or within Semplice that is blocking the code for some reason?

Thank you for your help!

Up 0 rated Down
Amanda May 02, 2017 08:14PM CEST Semplicelabs Agent

Hey Monica,

Are you talking about the background image of the green part at the top of your site?

Best,
Amanda

Post Your Public Answer

Your name (required)
Your email address (required)
Answer (required)
17c96688a1a336f6040dd1b6149c3fa8@semplicelabs.desk-mail.com
https://cdn.desk.com/
false
desk
Loading
seconds ago
a minute ago
minutes ago
an hour ago
hours ago
a day ago
days ago
about
false
Invalid characters found
/customer/en/portal/articles/autocomplete