Full Width Page Template Issue
-
Ok guys, hopefully someone smarter than me can figure this out. I’ve spent the last couple of days reading at least a dozen related threads and nothing I have tried has worked. Here’s the issue…
I’m using the zeebizzcard theme, with a child theme. What I want to do is set up a custom page template with a wider content area. It doesn’t exactly have to be full width or lose the sidebar, but it’s ok if it is. I just want the content area wider to fit a flash game in.
As of right now I have created a page template by copying page.php and removing the sidebar(since nothing else was working). I have tried editing and adding new css but nothing has worked.
Here’s the code for my custom template:<?php /* Template Name: fullwidth */ ?> <?php get_header(); ?> <div id="content"> <?php if (have_posts()) : while (have_posts()) : the_post(); ?> <div id="page-<?php the_ID(); ?>" <?php post_class(); ?>> <h2 class="page-title"><?php the_title(); ?></h2> <?php edit_post_link(__( 'Edit', 'themezee_lang' )); ?> <div class="entry"> <?php the_content(); ?> <div class="clear"></div> <?php wp_link_pages(); ?> </div> </div> <?php endwhile; ?> <?php endif; ?> <?php comments_template(); ?> </div> <?php get_footer(); ?>and here’s the link to the page in question: jasoncarnrike.com/jigsaw-puzzle
Nothing I do to the “content” div in css changes the page at all. I (at separate times)created a new “content2” div and a content.fullwidth class, added them to the template and they also did nothing. I am clearly missing something. I’ve tried so many offered solutions, I couldn’t even list them here. Can anyone help me with this or at least point me in the right direction? Thanks!
The topic ‘Full Width Page Template Issue’ is closed to new replies.