Viewing 10 replies - 1 through 10 (of 10 total)
  • What did you want to fix exactly? Something on the category view, or single post view? Please be specific, not sure what you need.. 🙂

    Thread Starter fkaf

    (@fkaf)

    Yes the category view. So that the text is formatted the the same way as it is in the posts. Example H1, space, and so on. The text looses its formatting in the category

    Looks like the excerpts of the posts in the category view are bing stripped of formatting (i.e. html/css), this is quite common for themes to do this. You will need to edit your categories theme file and take a look there to correct the formatting issue.

    Thread Starter fkaf

    (@fkaf)

    Hmm
    I don`t know how to do that

    Thread Starter fkaf

    (@fkaf)

    I don`t have a category template, but a archive

    <?php get_header(); ?>
    
    <div id="content" class="section">
    <?php arras_above_content() ?>
    
    <?php is_tag(); if ( have_posts() ) : ?>
    	<?php $post = $posts[0]; // Hack. Set $post so that the_date() works. ?>
    
    	<?php if ( is_category() ) : ?>
            <h1 class="home-title"><?php printf( __('%s ', 'arras'), single_cat_title() ) ?></h1>
        <?php elseif ( is_tag() ) : ?>
            <h1 class="home-title"><?php printf( __('%s Archive', 'arras'), single_tag_title() ) ?></h1>
        <?php elseif ( is_day() ) : ?>
            <h1 class="home-title"><?php printf( __('Archive for %s', 'arras'), get_the_time( __('F jS, Y', 'arras') ) ) ?></h1>
        <?php elseif ( is_month() ) : ?>
            <h1 class="home-title"><?php printf( __('Archive for %s', 'arras'), get_the_time( __('F, Y', 'arras') ) ) ?></h1>
        <?php elseif ( is_year() ) : ?>
            <h1 class="home-title"><?php printf( __('Archive for %s', 'arras'), get_the_time( __('Y', 'arras') ) ) ?></h1>
        <?php elseif ( is_author() ) : ?>
            <h1 class="home-title"><?php _e('Author Archive', 'arras') ?></h1>
        <?php else : ?>
            <h1 class="home-title"><?php _e('Archives', 'arras') ?></h1>
        <?php endif; ?>
    
    	<div id="archive-posts">
    	<?php arras_render_posts(null, arras_get_option('archive_display'), 'archive') ?>    
    
    	<?php if(function_exists('wp_pagenavi')) wp_pagenavi(); else { ?>
        	<div class="navigation clearfix">
    			<div class="floatright"><?php next_posts_link( __('&laquo; NEXT PAGE', 'arras') ) ?></div>
    			<div class="floatleft"><?php previous_posts_link( __('PREVIOUS PAGE &raquo;', 'arras') ) ?></div>
    		</div>
        <?php } ?>
    	</div><!-- #archive-posts -->
    
    <?php else : ?>
    	<?php arras_post_notfound() ?>
    <?php endif; ?>
    
    <?php arras_below_content() ?>
    </div><!-- #content -->
    
    <?php get_sidebar(); ?>
    <?php get_footer(); ?>

    Thread Starter fkaf

    (@fkaf)

    I`d be happy if someone could help me out on this one. It must be a common problem?

    Thread Starter fkaf

    (@fkaf)

    Why is it common to strip the formatting?
    I don`t understand this? In the categoreis all text and css is gone.

    Thread Starter fkaf

    (@fkaf)

    Yes I know, but I can`t figure it out on the theme I uses. Arras

    Never used that theme, sorry. You may want to try posting in the themes forum for them specific queries.

Viewing 10 replies - 1 through 10 (of 10 total)

The topic ‘Help with a formatting issue’ is closed to new replies.