Topic: Full Width Pages/Posts

I was looking through the forum for a solution and I found it here:
http://www.arrastheme.com/forums/topic3 … ather.html

I installed 'custom post template' plugin and followed the steps.. Except that I altered the "3c-fixed.css" file instead of the "2c-r-fixed.css" file because I am using a 3 column layout.

The post did appear in full width but there are codes showing on top of the page and other characters are appearing on the post itself.. I guess it's not working very well.. Please check the screenshot to see what I mean!

Any thoughts on that? I'd really appreciate help as soon as possible!

http://barajeel-mag.com/Picture%2019.png

Last edited by moun (2011-02-14 18:49:53)

Thumbs up

Re: Full Width Pages/Posts

It would help if you gave a link to your site so others can view your source code to see what the problem is. 
By just posting an image will not get you much help other then saying... most likely a coding error as in maybe missing a closing tag.

Thumbs up

Re: Full Width Pages/Posts

The address is in the screenshot.

http://barajeel-mag.com/

Co-creator, Administrator, Designer

TechUnfolding.com

Re: Full Width Pages/Posts

Pardon me!

The site url is http://www.barajeel-mag.com and the page that the post template is applied to is http://barajeel-mag.com/?p=182

And this is the code of 'fullpage.php'

<?php
/*
Template Name Posts: Full Page
*/
?>

<?php get_header(); ?>

<div id="contentfw" class="section">
<?php arras_above_content() ?>

<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
    <?php arras_above_post() ?>
    <div id="post-<?php the_ID() ?>" <?php arras_single_post_class() ?>>

        <?php arras_postheader() ?>
        
        <div class="entry-content clearfix">
        <?php the_content( __('<p>Read the rest of this entry &raquo;</p>', 'arras') ); ?>  
        <?php wp_link_pages(array('before' => __('<p><strong>Pages:</strong> ', 'arras'), 
            'after' => '</p>', 'next_or_number' => 'number')); ?>
        </div>

        <?php arras_postfooter() ?>

        <?php 
        if ( arras_get_option('display_author') ) {
            arras_post_aboutauthor();
        }
        ?>
    </div>
    
    <?php arras_below_post() ?>
    <a name="comments"></a>
    <?php comments_template('', true); ?>
    <?php arras_below_comments() ?>
    
<?php endwhile; else: ?>

<?php arras_post_notfound() ?>

<?php endif; ?>

<?php arras_below_content() ?>
</div><!-- #content -->
<?php get_footer(); ?>

And the code of '3c-fixed.css'

/*
LAYOUT: Three-Column
DESCRIPTION: Three-column 950px fixed layout with two sidebars on either side of content
*/

body {
    min-width:960px;
}
#main {
    width:960px;
    margin:0 auto;
    position:relative;
}
#container {
    width:960px;
    float:left;
    margin:0;
}

#content {
    margin: 0 220px 0 230px;
    overflow:hidden;
}

#primary {
    width:220px;
    float:left;
    margin: 0 0 0 -960px;
}
* html #primary {
    left: 20px;
    position: relative;
}
#secondary {
    width:220px;
    float:left;
    margin: 0 0 0 -220px;
}
#footer {    
    clear:both;
}
#subsidiary {
    width:960px;
    margin:0 auto;
    overflow:hidden;
}
#subsidiary .aside {
    width:300px;
    float:left;
    margin:0 10px 0 10px;
}
#subsidiary #third {
    margin:0 0 0 10px;
}
#siteinfo {
    clear:both;
    width:940px;
    margin:0 auto;
}
#contentfw {
    margin:0;
    width:960px;
    overflow:hidden;
}

.fixed {
    width:960px; 
    margin:0 auto;
}

Thanks!

Last edited by moun (2011-02-15 06:54:42)

Thumbs up

Re: Full Width Pages/Posts

Does the text above the header appear when the "Custom Post Template" plugin is active?

On a side note you should only be using the "user.css" for style changes if you are looking for compatibility with future updates.

Re: Full Width Pages/Posts

Yes, it appears on that page as long as it's active. When I deactivate, the code goes away and of course the post goes back to the original width.

For some reason whatever I try to change in 'user.css', nothing gets changed! I tried so many times for so many alterations that I needed to do, but it never affects anything on the site.. =/

Thumbs up

Re: Full Width Pages/Posts

I don't get that problem with the plugin. I'm going to assume there is a conflict with custom post templates and another plugin that you are using. I cannot resolve the plugin issue myself. You'd have to do some testing to find out which plugin conflict is occuring and suggest a compatibility fix to the respective author.

Keep in mind that user.css is an override file, therefor you need to copy the exact code and override it. Otherwise the changes may not reflect what you are trying to accomplish.

We need to talk ZY into incorporating some type of template system into Arras. I would assume he will be addressing this later on with the upcoming release of Wordpress 3.1, which allows templating for different kinds of post types.

Re: Full Width Pages/Posts

I tried to deactivate some plugins and the problem was still there unfortunately..  sad

Is there any other way that I can increase the post width? Other than "Custom Post Template" or "Single Post Template" plugins??

Thumbs up

Re: Full Width Pages/Posts

Unless you eliminate or propose a fix with the conflicting plugin, then there is no simple solution to my knowledge.

I would deactivate all plugins except "Custom Post Template". Then activate each of the others one by one, while refreshing the page, until you find the conflict. To my knowledge there is no way to get a full width post without also messing up the home page.

If you were to use pages instead of posts; the Arras theme supports one column pages by default, but you would lose the functionality of the home page as it only supports posts.

I don't think there is a quick clean answer for you.  sad

Re: Full Width Pages/Posts

I just deactivated all of them except 'Custom Post Template' and the problem was still there.. I guess there's no hope in me getting full width posts =/

Thank you for all your help, much appreciated!

Thumbs up