Help with a formatting issue
-
In my category it looks like this
http://www.kjagen.com/category/about/
see post Test
In the single it looks like this
http://www.kjagen.com/2010/09/test/Is there a way to fix this?
Thanks
-
What did you want to fix exactly? Something on the category view, or single post view? Please be specific, not sure what you need.. 🙂
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.
Hmm
I don`t know how to do thatI 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( __('« NEXT PAGE', 'arras') ) ?></div> <div class="floatleft"><?php previous_posts_link( __('PREVIOUS PAGE »', '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(); ?>I`d be happy if someone could help me out on this one. It must be a common problem?
Why is it common to strip the formatting?
I don`t understand this? In the categoreis all text and css is gone.See the first paragraph:
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.
The topic ‘Help with a formatting issue’ is closed to new replies.