New Landing How can we help? Themeforest Theme Support Uplift Mobile CSS Overrides not working…

Viewing 4 posts - 1 through 4 (of 4 total)
  • Posted in: Uplift
  • #274015
    wademd
    Member
    Post count: 37

    I have no idea whats going on or if im missing something. This was so easy to do on Dante but the same thing isnt working on Uplift. I create an element using the editor and then I give it a custom class. Any time I try to change the style using a css media query such as:

    @media only screen and (max-width: 690px) {
    .hero-section .spb_image {
    margin-top: 60px;
    }
    }

    The style doesn’t get applied. I see that at 690px is when the split 50% (6col) items stack. I attached a screenshot of my browser at 690px wide and even slightly under it still displays the same. I want to give some vertical space to these elements only on mobile versions. The style that keeps overriding is “.spb-row-container.remove-element-spacing div[class*=”col-sm”]” but I have no idea where that is coming from and would prefer not to mess with the main theme css as I am using a child theme.

    This also is an issue im having with all my elements when trying to change a mobile version. Am I not doing the media query right or is there a special override I have to do that I didn’t have to do on your Dante theme?

    Attachments:
    You must be logged in to view attached files.
    #274066
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Hi,

    That css is being applied correctly when the browser window drops below the 690px

    https://www.dropbox.com/s/vybkdnx729pnzs8/Screenshot%202016-06-12%2017.05.33.png?dl=0

    -Rui

    #274085
    wademd
    Member
    Post count: 37

    Hmmm.. thats very strange… on chrome in incognito and safari its not working 621px – 690px…. but widths of 620px and below its picking it up. And within that range of widths it just vanishes from code inspector even though its set to 690px max width.

    #274345
    David Martin – Support
    Moderator
    Post count: 20834

    Hi,

    Have you got any CSS errors in the editor?

    Please add a WP login for us to take a closer look.

    Thanks.

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.