Homepage › Forum › Product Support › Canifa › Blog Category Page Design
- This topic has 14 replies, 3 voices, and was last updated 9 years, 6 months ago by
Anonymous.
-
AuthorPosts
-
9 years, 7 months ago #3001
AnonymousInactiveTopics: 16
Posts: 133Can you please tell me how i can modify the category-page-design? How can i get a beautiful listing/ grid/ maisony layout? Maybe a cool list-layout would be nice for SEO...
At the moment all the posts on the category pages are just displayed INSANELY BIG.....
Hope you can help me!
Thanks!!!!
9 years, 7 months ago #3002
AnonymousInactiveTopics: 16
Posts: 133This reply has been marked as private.9 years, 7 months ago #3004
AnonymousInactiveTopics: 16
Posts: 133This reply has been marked as private.9 years, 7 months ago #3006Hi,
You can add the following style line:
.archive .content-area .site-main .yolo-main article {width: 50%;float: left;padding: 20px;}9 years, 7 months ago #3022
AnonymousInactiveTopics: 16
Posts: 133Worked prefect, Thanks!
9 years, 7 months ago #3023
AnonymousInactiveTopics: 16
Posts: 133*perfect
9 years, 7 months ago #3027
AnonymousInactiveTopics: 16
Posts: 133But i still got one question:
How can i display the post-category-description on my website?
I read, i should put the following line into archive.php or category.php. But unfortunately i couldnt find those php files...
<?php echo category_description( $category_id ); ?>
Can u please check that for me ?
Thanks...
9 years, 7 months ago #3031Hello Marcel.
To display category description on the archive page, you can put this code to file direction yolo-canifa/index.php.<?php if( is_category() ) : ?> <?php global $cat; ?> <?php echo category_description( $cat ); ?> <?php endif; ?>Check it and let us again if you need something.
Regards.
Jackie.9 years, 6 months ago #3035
AnonymousInactiveTopics: 16
Posts: 133it worked!
Im sorry for the many questions...thanks.
9 years, 6 months ago #3039
AnonymousInactiveTopics: 16
Posts: 133But can u please tell me: how can i display the post names on the category page? Theres just an image.....
9 years, 6 months ago #3060Hi,
I have added the following line into content.php
<h2 style = "text-align: center;margin:0;"><?php the_title();?></h2>
Please check again!
9 years, 6 months ago #3068
AnonymousInactiveTopics: 16
Posts: 133Thanks!! I really appreciate it, that you changed content.php, so i dont need to do it myself!!
Best regards,
Marcel
9 years, 6 months ago #3069
AnonymousInactiveTopics: 16
Posts: 133oh no: now the h2 heading is also displayed on normal, single posts. So i got 2 headings now.
Can you maybe change it? The heading should only be displayed on the category site, where you can get an overview over all the posts of a category. But not in the content of a post.
Thanks!
9 years, 6 months ago #3074Hi,
I have to change the position of title, please check again
Best regard,
9 years, 6 months ago #3082
AnonymousInactiveTopics: 16
Posts: 133It Works! Thanks!!
-
AuthorPosts
You must be logged in and have valid license to reply to this topic.
