• 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

Background Image Displaying Incorrectly in Mobile View

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 › Background Image Displaying Incorrectly in Mobile View

This topic is: not resolved

Tagged: background, foodie pro, mobile

  • This topic has 2 replies, 2 voices, and was last updated 3 years, 8 months ago by raphealen.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • September 14, 2014 at 12:41 pm #124377
    deliciousfromscratch
    Member

    Hi!

    I am using the Foodie Pro theme. I have disabled the mobile view by removing the applicable parts of the functions and style files, but the background image is not displaying correctly when I view it on my mobile. I didn't notice for a while because I had the image set at top left, which looked fine, but now I have moved it to top right, it does not display up against the right side, rather it ends in the middle of the sidebar. The Hello Bar I am using is also following this alignment.

    This is happening on my iPhone, but I have not been able to recreate this issue when viewing the 'mobile view' of the site with developer tools on a desktop browser.

    I have tried various CSS tweaks and have trawled the internet for ideas, but haven't come up with anything.

    Any help would be much appreciated!

    http://www.ramsonsandbramble.com/
    September 19, 2014 at 7:00 am #125043
    deliciousfromscratch
    Member

    In case anyone else is having this problem, I solved it with the unbelievably valuable help of this website:

    http://www.geek.ng

    I needed to add this to my functions file:

    //* Add custom Viewport meta tag for mobile browsers
    add_action( 'genesis_meta', 'sp_viewport_meta_tag' );
    function sp_viewport_meta_tag() {
    echo '<meta name="viewport" content="width=1139px"/>';
    }

    The width was set to match the width of my desktop site.

    June 1, 2019 at 2:33 pm #491457
    raphealen
    Member

    It worked thanks https://www.raphblog.com.ng

  • Author
    Posts
Viewing 3 posts - 1 through 3 (of 3 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

© 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