The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Back End WordPress fixed div background Images not loading in iOS? (Chrome / Safari)

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #198413


    I’m in the middle of developing this site and for some reason the images on the left and right of the nav bar seemingly are not loading when viewed on my iPad and iPhone. Maybe they’re just floated way off screen? I haven’t set up mobile styles yet, but right now it seems that these just aren’t loading. The images are dynamically loaded depending on the page the user is on, if that has anything to do with it. Any ideas? Maybe I need a container? The site is set up to be viewed on a monitor as large as 1920x1200px, per client request.

    Here’s the home page code:

    <?php /* Template Name: Home */ get_header(); ?>
        <main role="main">
            <!-- section -->
    <div id="navstrip">
    <div class="navstrip_container">
    <a href="#"><img src="" alt="Boot & Shoe Service" ></a>
    <h1><span class="imgreplace"><?php bloginfo( $show ); ?></span></h1>
        <div class="menubox">
            <nav role="navigation">
                <?php wp_nav_menu(array('menu' => 'Main Navigation Menu')); ?>
            <div id="business_info">
    $args = array( 'post_type' => 'contact-info', 'posts_per_page' => 1 );
    $loop = new WP_Query( $args );
    while ( $loop->have_posts() ) : $loop->the_post();
    wp_reset_query(); ?>
    </div><!--close business info-->
            <!-- /section -->
            <div id="bg_left" style="background: url('<?php echo get_post_meta($post->ID, "bg_left", true); ?>') 50% 0"/>
            <div id="bg_right" style="background: url('<?php echo get_post_meta($post->ID, "bg_right", true); ?>') "/>
    <?php get_sidebar(); ?>
    <?php get_footer(); ?>

    And here’s some pertinent CSS:

        width: 18%;
        height: 1200px;
        position: fixed;
        float: left;
        min-width: 208px;
        width: 1920px;
        height: 1200px;

    Oops! I just forgot to change some links that were pointing at my local MAMP setup over to the live staging site. Duh.

Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘Back End’ is closed to new topics and replies.