• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

image link not showing up on Mobile screen

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › Design Tips and Tricks › image link not showing up on Mobile screen

This topic is: resolved

Tagged: desktop, image, mobile, page load, slow

  • This topic has 10 replies, 3 voices, and was last updated 10 years, 8 months ago by SavvyJackie.
Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • June 3, 2015 at 11:14 am #154720
    fastpenguin91
    Member

    Hi, So I made a youtube badge with a link to my channel (not a subscribe button) to go to my youtube channel, On the desktop site it shows up pretty much how I want it from large screen all the way down to mobile size, but when I pull it up on my phone it is not there... It's weird because it's set up almost exactly like my Instagram badge. So why does my instagram badge show up on the mobile phone, but not the Youtube badge?

    Also, my page load time is seriously slow on the mobile phone when I have the youtube badge there. I can't imagine it being a problem since it's just a link to youtube... And my page load time is fine on a desktop. My only problem is mobile.

    My text widget for the youtube badge is this:

    youtube

    and my relevant css: https://gist.github .com/anonymous/69293302537d05acfd91

    Any idea why this is slowing down just my mobile site so much? and.. why the youtube badge isn't showing up but the instagram badge is showing up? I'm on a VPS with digitalocean too... so I'm surprised it's slow.

    http://startupinacar.com
    June 3, 2015 at 11:46 am #154730
    SavvyJackie
    Member

    Hi,
    Check you CSS code. Looks like you are calling a localhost version here:

    @media only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (min--moz-device-pixel-ratio: 2), only screen and (-o-min-device-pixel-ratio: 2 / 1), only screen and (min-device-pixel-ratio: 2), only screen and (min-resolution: 192dpi), only screen and (min-resolution: 2dppx) {
        .yt-b-24 { background-image: url(http://localhost:8888/startupinacar.com/wp-content/uploads/2015/06/YouTube-Badge-24.png);
    	       background-size: 60px 178px;
    	     }
    }

    Web Designer and Developer at Savvy Jackie Designs | Lucky with plants | @SavvyJackie

    Got your question answered here? Please pay it forward by helping someone else. I’m sure there is at least one question you can answer. 🙂

    June 3, 2015 at 11:47 am #154732
    Erik D. Slater
    Member

    @SavvyJackie - you JUST beat me to the punch there 🙂


    Erik D. Slater: Digital Platform Consultant • LinkedIn
    June 3, 2015 at 12:15 pm #154737
    SavvyJackie
    Member

    Ha! It took a bit of digging to find, because that media query was not with the others... 🙂


    Web Designer and Developer at Savvy Jackie Designs | Lucky with plants | @SavvyJackie

    Got your question answered here? Please pay it forward by helping someone else. I’m sure there is at least one question you can answer. 🙂

    June 3, 2015 at 12:35 pm #154739
    fastpenguin91
    Member

    Hi! I have got the link working now, (I swear I changed that link.. ) But now it doesn't look like the youtube png, instead it's some blurred gray/white/black square... and again, I find it really odd that it is only broken on my actual mobile device. I can scale the desktop down to mobile size and it works fine... but doesn't look right on my phone.

    (and I'll move that media query, sorry 🙂 that was copied and pasted from Instagram's auto-create-a-badge

    June 3, 2015 at 12:43 pm #154740
    fastpenguin91
    Member

    Oops, I forgot to say Thank you. now I just need to figure out why it looks grey. That also helped with the page load time..

    June 3, 2015 at 12:45 pm #154742
    Erik D. Slater
    Member

    We are talking about the little YouTube image/link that appears in the bottom right-hand corner of the header image, right?

    I just checked your site on my mobile (Android) device. Seems to be working rather nicely 🙂

    I wonder if your mobile device is displaying an old/cached version.

    I'm also not experiencing any page speed issues.


    Erik D. Slater: Digital Platform Consultant • LinkedIn
    June 3, 2015 at 12:50 pm #154744
    SavvyJackie
    Member

    The background size is causing the grey image. It is actually just too large to fit in the spot. This looks like the culprit:

    background-size: 60px 178px;

    
    .yt-b-24 {
        margin: 6px;
        width: 24px;
        height: 24px;
        position: relative;
        top: 240px;
        right: 100px;
        background: url(http://startupinacar.com/wp-content/uploads/2015/06/YouTube-Badge-24.png) no-repeat 0 0;
    }
    
    @media only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (min--moz-device-pixel-ratio: 2), only screen and (-o-min-device-pixel-ratio: 2 / 1), only screen and (min-device-pixel-ratio: 2), only screen and (min-resolution: 192dpi), only screen and (min-resolution: 2dppx) {
        .yt-b-24 { background-image: url(http://localhost:8888/startupinacar.com/wp-content/uploads/2015/06/YouTube-Badge-24.png);
    	       background-size: 60px 178px;
    	     }
    }

    Web Designer and Developer at Savvy Jackie Designs | Lucky with plants | @SavvyJackie

    Got your question answered here? Please pay it forward by helping someone else. I’m sure there is at least one question you can answer. 🙂

    June 3, 2015 at 12:50 pm #154745
    Erik D. Slater
    Member

    Oops, I forgot to say Thank you.

    You didn't forget ... you remembered 🙂 But it seems many people on the StudioPress forums do forget ... or they just take the assistance they get here for granted ... at absolutely zero cost to them!!

    Interestingly, the Authority forums experience is much much different ...


    Erik D. Slater: Digital Platform Consultant • LinkedIn
    June 3, 2015 at 12:59 pm #154749
    fastpenguin91
    Member

    aha yes!! I'm not sure if this was what you were getting at, but I removed the background-size... I'm definitely not a CSS expert, but It doesn't seem to be causing any problems by removing it...

    Thanks to both of you. Got it working!

    June 3, 2015 at 1:05 pm #154751
    SavvyJackie
    Member

    Great. Please mark this post as resolved.


    Web Designer and Developer at Savvy Jackie Designs | Lucky with plants | @SavvyJackie

    Got your question answered here? Please pay it forward by helping someone else. I’m sure there is at least one question you can answer. 🙂

  • Author
    Posts
Viewing 11 posts - 1 through 11 (of 11 total)
  • The forum ‘Design Tips and Tricks’ is closed to new topics and replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2026 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble