Notice: These forums are now retired and closed. For active support, please Submit a Ticket or visit our official WordPress.org community pages.
Kadence Theme | Kadence Blocks | Starter Templates | WooCommerce Email Designer | Ascend | Virtue | Pinnacle

mobile css

Home / Forums / Virtue Theme / mobile css

This topic is: Not Resolved
[Not Resolved]
Posted in: Virtue Theme
May 20, 2016 at 8:03 am

Hi I am using the random content short code plugin in area above the footer, the content is a simple animation which I would like to disable on mobile devices leaving just the background image of the animation
I have tried this in the custom css box


@media
only screen
and (min-device-width: 320px)
and (max-device-width: 480px)
and (-webkit-min-device-pixel-ratio: 2) {
.animation-container {
background-image: url(“
background-position: center bottom;
background-repeat: no-repeat;
background-size: contain;
height: 300px;
width: 100%;
}

}

  • The forum ‘Virtue Theme’ is closed to new topics and replies.