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 Styles Slider margin

Home / Forums / Virtue Theme / Mobile CSS Styles Slider margin

This topic is: Resolved
[Resolved]
Posted in: Virtue Theme
June 28, 2017 at 2:02 pm

Hey there. Simple one (I think):

To get my Sliders flush with my footer, I use this CSS in the “CSS Styles” part of the Site Origin Editor.

margin-bottom: -30px;

It works perfectly. Question is, how do I do the same on mobile devices?

If I enter the above CSS in the “Mobile CSS Styles” field, it just chops off 30px from the bottom of the slider, instead of getting rid of the actual margin below.

If I leave trhe Mobile CSS Styles blank, tt also chops off 30px (on mobiles). So I have put

margin-bottom: 0px;

in the Mobile CSS Styles just to keeo the mobile sliders from being chopped.

Any ideas to get mobile and desktop to match?

Cheers!

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