New Landing How can we help? Themeforest Theme Support Uplift Tablet and Mobile heading issue

Viewing 15 posts - 1 through 15 (of 16 total)
  • Posted in: Uplift
  • #270782
    Joni
    Member
    Post count: 52

    Hi,

    I have a very simple setup and everything else works fine, but for some reason I’m having trouble getting the page to display correctly in mobile and tablet.

    On the top of front page theres a row with window height image background. It shows correctly on desktop, but on mobile and tablet it cuts out strangely.

    I’ve attached screenshots to illustrate the issue.

    Any ideas how to fix?

    Thanks!

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

    Hi,

    Can you try this code to fix it.

    @media only screen and (max-width: 767px){
    .home .spb-section, .home .spb-promo-wrap, .home .spb_swift-slider, .home .spb_image, .home .spb-row-container,.home .spb-row-container > .spb_content_element {
        padding-top: 0px!important;
    }
    }

    Let us know if it worked.

    -Rui

    #271119
    Joni
    Member
    Post count: 52

    Hi Rui,

    Thanks again. It did change the visibility a bit, but it looks like the header is overlapping the first row.
    I tried to change the page header to standard from the Naked, but no change there.

    -Joni

    #271348
    David Martin – Support
    Moderator
    Post count: 20834

    Hi Joni,

    Have you fixed this or changed settings, this is what I see:

    Please let us know.

    Thanks.

    #271399
    Joni
    Member
    Post count: 52

    Hi,

    I did make the change, but it shows randomly.
    Generally, in landscape mode it shows correctly on tablet, but on vertical mode on all devices (tablet & mobile) the header overlaps the first row (with the gray X as a placeholder)

    Thanks.

    Attachments:
    You must be logged in to view attached files.
    #271820
    David Martin – Support
    Moderator
    Post count: 20834

    Can you please test this CSS:

    @media only screen and (max-width: 767px) {
    	.spb_parallax_asset.parallax-window-height[data-v-center="true"] > .spb_content_element {
    	    top: 50%!important;
    	}
    	.spb_parallax_asset.parallax-window-height {
    	    min-height: 640px;
    	}
    }

    Thanks.

    #272066
    Joni
    Member
    Post count: 52

    Hi,

    After injecting the new CSS, the row is now displayed as window height, but text element still stays under the header.

    Attached file “Before” shows how it’s not displayed after the new CSS. The file”After” shows what I’m going after. Simply a row background image with vertically centered text block.

    Any ideas?

    Thanks!

    Attachments:
    You must be logged in to view attached files.
    #272402
    David Martin – Support
    Moderator
    Post count: 20834

    Sure, this should sort that:

    @media only screen and (max-width: 767px) {
    .spb_parallax_asset.parallax-window-height[data-v-center="true"] > .spb_content_wrapper, 
    .spb_parallax_asset.parallax-window-height[data-v-center="true"] > .spb_content_element {
        top: 50%!important;
        position: absolute;
        margin-top: 0!important;
    }
    }

    Thanks.

    #272418
    Joni
    Member
    Post count: 52

    Hello again,

    Thanks. The latest CSS seemed to fix the (portrait) tablet view, but phone versions still manifest like before.

    Thanks!

    #272682
    David Martin – Support
    Moderator
    Post count: 20834

    Looks like you have the CSS commented out? If you add the CSS back, the small screen looks like so:

    Thanks

    #274043
    Joni
    Member
    Post count: 52

    Hi,

    Thanks again. I had commented the previous lines of CSS as I thought th enew one would replace the old ones. Now that I’m using all of it, it shows okay in iPhone6 and up, but smaller phones it scales/anchors strangely. (see attachments)

    Is there some other way to do this in the theme so that it shows “right” on mobile? I mean I just want the landing page to have a full frame image with centered text on top of it.

    -Joni

    Attachments:
    You must be logged in to view attached files.
    #274343
    David Martin – Support
    Moderator
    Post count: 20834

    Hi,

    What testing tool is that you are using? Let me know and I’ll investigate those sizes further.

    Thanks.

    #274512
    Joni
    Member
    Post count: 52

    Hi,

    I’m using Safari’s “Responsive Design Mode” and individual devices (iPhone & iPad)

    -Joni

    #275190
    David Martin – Support
    Moderator
    Post count: 20834

    How is this looking for you now:

    Thanks.

    #275318
    Joni
    Member
    Post count: 52

    Hi,

    That looks about right. Still not centering the row background image for some reason, but after updating SFW and the theme, looks the same as your file. I’ll take it from here, thanks again!

    -Joni

Viewing 15 posts - 1 through 15 (of 16 total)

You must be logged in to reply to this topic.