Pages background OK on IE but transparent on Firefox?
-
Okay- I just set up a WP site for my little brother. I installed the ‘Falling Dreams’ theme and tweaked it a little- I tried creating a new page template (that will display static pages without the sidebar), BUT I’m having a problem with IE versus Firefox. The static pages look fine in IE, but in Firefox the page background is transparent so the tiled.jpg shows through. Obviously I removed/added something I shouldn’t have in the new template- however I have NO idea what that should be.
The new template looks like so:
<?php
/*
Template Name: Basic_Page
*/
get_header();
?>
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<div class="post">
<h3 class="storytitle" id="post-<?php the_ID(); ?>"><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title(); ?>">
<?php the_title(); ?>
</a></h3>
<div class="basiccontent">
<?php the_content(__('(more...)')); ?>
</div>
</div>
<?php endwhile; else: ?>
<p>
<?php _e('Sorry, no posts matched your criteria.'); ?>
</p>
<?php endif; ?>
<div id="footer">
Powered by <a href="https://www.remarpro.com">WordPress</a> with
Falling Dreams Theme design by <a href="https://teo.esuper.ro">Razvan Teodorescu</a>.
<!-- <?php echo $wpdb->
num_queries; ?> queries.
<?php timer_stop(1); ?>
seconds. --> </div>
<?php do_action('wp_footer'); ?>
I added ‘basiccontent’ to the css- copying the ‘content’ code and just tweaking the width- could that be the issue?Here’s the ‘basiccontent’ css excerpt:
#basiccontent {
color: #666666;
float: left;
height: auto;
margin: 0px;
padding-bottom: 10px;
padding-left: 10px;
padding-right: 0px;
padding-top: 0px;
text-align: justify;
width: 430px;
}Any ideas?
- The topic ‘Pages background OK on IE but transparent on Firefox?’ is closed to new replies.