[Resolved] I've broken the mobile functionality

Home Forums Support [Resolved] I've broken the mobile functionality

Home Forums Support I've broken the mobile functionality

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #142954
    Alice

    Hi. Testing site on my chrome phone and (eek) it does not load. Have I left some messy code somewhere? Where should I look for faults?

    http://www.ursulaholdengill.com

    #142962
    Tom
    Lead Developer
    Lead Developer

    Hi there,

    Your site doesn’t seem to be loading for me at all.

    Your best bet is to call your hosting and get them to take a look – they should be able to tell you if it’s a coding error somewhere or if it’s something wrong with their server.

    Let me know πŸ™‚

    #142981
    Alice

    Yes, the server was down. Phew!

    Any tips on improving the mobile look? My site title is HUUUUGE on mobile, but hidden on desktop. My H2 is miniature.

    I tried both

    .main-title {
        font-size: 0.2em
    }

    and

    .site-title {
        font-size: 0.1em
    }

    but it’s still a bit loud.

    #143042
    bdbrown

    Hi Alice. The site title is an ID instead of a class. Try this css:

    #site-title a {
        font-size: 1em;
    }
    
    #143061
    Tom
    Lead Developer
    Lead Developer

    I’m not seeing a site title on desktop or mobile?

    #143075
    bdbrown

    Something strange going on for sure. It doesn’t show up in desktop view or if you resize the browser window. However, if you use Developer Tools and set the device mode, select a device and reload the site, the site title <h1> is visible and the site description is changed to an <h2>. Also, the header ID changes and the inside-header element is missing. Maybe a conflict with Jetpack mobile?

    #143219
    Tom
    Lead Developer
    Lead Developer

    Oh yea, looks like the Mobile Theme from Jetpack is enabled.

    Go to “Jetpack > Settings” and deactivate the “Mobile Theme” module.

    That should fix this πŸ™‚

    Thanks for the tip, bdbrown!

    #143898
    Alice

    Sorry for delay, I’ve been away from any internet (bizarre long weekend of no connectivity).
    Thank you, both jetpack and add ‘a’ to site title code work well for me.
    The disable mobile on jetpack means my style.css happens on all screens now.

    #144001
    Tom
    Lead Developer
    Lead Developer

    Glad it’s all working now πŸ™‚

Viewing 9 posts - 1 through 9 (of 9 total)
  • You must be logged in to reply to this topic.