How do I make a template full width?
-
I am using the soulvision theme which has two sidebars which I have removed but I can’t get the main page into where the sidebars were. I am new to this so can someone please give me some simple coding to put in. Here is the code for the template
==================<?php /* Template Name: Fullwidth */ ?> <?php get_header(); ?> <div id="content"> <div class="postwrap"> <?php if (have_posts()) : while (have_posts()) : the_post(); ?> <h2 class="pagetitle"> <?php the_title(); ?> </h2> <?php the_content("<p>__('Read the rest of this page')</p>"); ?> <?php edit_post_link(__('Edit'), '<p>', '</p>'); ?> <?php endwhile; endif; ?> </div> </div> <?php get_footer(); ?> <script type="text/javascript"> var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-1481092-3']); _gaq.push(['_trackPageview']); (function() { var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'https://www') + '.google-analytics.com/ga.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })(); </script>
Viewing 12 replies - 1 through 12 (of 12 total)
Viewing 12 replies - 1 through 12 (of 12 total)
- The topic ‘How do I make a template full width?’ is closed to new replies.