- This topic has 10 replies, 2 voices, and was last updated 9 years, 12 months ago by Jonathan.
-
AuthorPosts
-
April 25, 2014 at 4:20 pm #27426JonathanMember
Hi is there a way I can display a category the exact same was it looks if I actually click on the category itself? I’m using the plugin list category posts and it allows me to display a category but not the same way as it is displayed on the actual category. Is there a way I can do this?
Also is there a way to adjust the size of the meta boxes of the category posts. They are too large for me right now.
point-of-view.ca
April 25, 2014 at 11:01 pm #27487SakinKeymaster@Jonathan: Sorry I don’t understand your question. Also I don’t see meta boxed of the category posts.
April 26, 2014 at 1:49 am #27506JonathanMemberSorry I didn’t explain it clearly. If you go to my site you can click on the sidebar and it will take you to a category where I have a list of posts in that category. Now, I want to have one specific category show up on a page just like how it would if it were on the sidebar and you clicked it.
And then my second question was when you are in a category the posts are displayed with a box around them and there is a lot of space. I was wondering if I can change the size of these boxes.
April 26, 2014 at 12:10 pm #27568SakinKeymaster@Jonathan: Sorry there is no layout to just show the title only in the category page. For this you need to build child theme and then work on custom template to show only post title in particular category.
Your second question answer, as you are using small images as featured image in the post. Design looks bit odd. As we created this design with large featured image. But I have css that will make your category page with small thumbnail looks good. Add the following css in “Appearance => Theme Options => Custom CSS” box.
.category .entry-summary { height: 1%; overflow: hidden; } .category .entry-summary .wp-post-image { display: inline-block; float: left; margin: 0 10px 10px 0; width: 25%; }
If you want change the spacing then you have change it for various screensize. So, be careful and change it. You can adjust the padding and margin bottom as per your need and then add it in “Appearance => Theme Options => Custom CSS” box.
/* For Large Screen */ .hentry, .no-results, #author-info, #disqus_thread, #content .error404 { margin-bottom: 40px; padding: 30px; } /* For Max Screen Size of 1224px */ @media screen and (max-width: 1224px) { .hentry, .no-results, #author-info, #disqus_thread, #content .error404 { margin-bottom: 30px; padding: 40px 38px; } } /* For Max Screen Size of 767px */ @media screen and (max-width: 767px) { .hentry, .no-results, #author-info, #disqus_thread, #content .error404 { margin-bottom: 10px; padding: 10px; } }
April 26, 2014 at 6:52 pm #27616JonathanMemberI don’t want to show just the title. I want to have all the posts from a particular category displayed on a page. Like how I have it right now on the “Portfolio” page. I just want it to look the same way as it does when you click on a category itself.
For my second question, I tried adding that to the custom css but it didn’t seem to change anything. I’m fine with the way everything looks I just want to make the white box that surrounds each post to be smaller.
April 27, 2014 at 12:26 am #27656SakinKeymaster@Jonathan: Sorry I don’t get it why you need page to display the category. You can use the Category itself and add category in menu.
I have already given you the css. You need to change the padding and margin in those css and then add in.
April 27, 2014 at 4:17 pm #27754JonathanMemberOk great thank you for the help. One last thing: I want the category description to display. How can I do this?
April 27, 2014 at 6:21 pm #27768SakinKeymaster@Jonathan: You can add description to your category from “Posts => Categories” in your WordPress Dashboard and that will be added just below your category title. But I see you have css in your child theme style.css that is hiding the category title, you need to remove the following css.
.category .page-header { display: none; }
April 27, 2014 at 10:48 pm #27803JonathanMembergreat thank you! But if I just want the description to show up and not the “CATEGORY ARCHIVES: PORTFOLIO” how could I do this?
Thanks for all the help with all my questions btw.April 28, 2014 at 12:21 am #27815SakinKeymaster@Jonathan: Then you can add the following css.
.category .page-header .page-title { display: none; }
April 28, 2014 at 1:09 am #27824JonathanMemberWorked great thank you!
-
AuthorPosts
- The topic ‘Display Category on Page’ is closed to new replies.