• 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

Site does not look good on my iPhone

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 › Site does not look good on my iPhone

This topic is: resolved
  • This topic has 7 replies, 2 voices, and was last updated 8 years, 7 months ago by Neeznoodle.
Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • October 26, 2014 at 8:55 am #129280
    Neeznoodle
    Member

    I am using the Mocha theme and checked my site today on my iPhone. Although some posts look correct, many more do not with the left side of the content completely cut off so that it cannot be seen.

    An example can be seen on http://fortheloveofharry.com/bellatrix-lestrange/

    What can I do to correct this?

    October 26, 2014 at 9:27 am #129286
    davidzack
    Member

    Look in your css for:

    .sidebar-content #content

    And remove the float:right (or change to float:none.)

    It looks like the CSS file is called single.include.966b18.css. Which suggests you might have a caching plugin. If so, you may need to flush the cache after your change.

    October 26, 2014 at 9:36 am #129289
    Neeznoodle
    Member

    That corrected it. Thank you!!!

    October 26, 2014 at 10:22 am #129294
    Neeznoodle
    Member

    Actually, I was wrong. Yes, this fixed how my site looks on my iPhone, but it moved the sidebar to the bottom of my site so that it is no longer on the side when I view it on my computer. I tried both variations of your suggestion. Any other thoughts?

    October 27, 2014 at 9:26 am #129443
    davidzack
    Member

    You could wrap it in a media query, so that you only clear the float at a mobile width.

    October 27, 2014 at 9:30 am #129444
    Neeznoodle
    Member

    How would I do that?

    October 27, 2014 at 9:34 am #129445
    davidzack
    Member

    Look for the media queries in your CSS. For instance, if the breakpoint at which the site becomes full width is 488px, you'll find a query that looks something like this:


    @media
    only screen and (max-width: 488px) {
    //STYLES HERE
    }

    Add the condition inside that, like so:


    @media
    only screen and (max-width: 488px) {

    .sidebar-content #content { float: none; }

    }

    You can try placing that float clear in different @media widths to find the one that works best for you.

    October 27, 2014 at 11:17 am #129448
    Neeznoodle
    Member

    Thank you! This time the fix looks good on both my iPhone and desktop computer.

  • Author
    Posts
Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘Site does not look good on my iPhone’ is closed to new replies.

CTA

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

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2023 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