Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #27426
    Jonathan
    Member

    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

    #27487
    Sakin
    Keymaster

    @Jonathan: Sorry I don’t understand your question. Also I don’t see meta boxed of the category posts.

    #27506
    Jonathan
    Member

    Sorry 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.

    #27568
    Sakin
    Keymaster

    @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;
    	}
    }
    #27616
    Jonathan
    Member

    I 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.

    #27656
    Sakin
    Keymaster

    @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.

    #27754
    Jonathan
    Member

    Ok great thank you for the help. One last thing: I want the category description to display. How can I do this?

    #27768
    Sakin
    Keymaster

    @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; }

    #27803
    Jonathan
    Member

    great 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.

    #27815
    Sakin
    Keymaster

    @Jonathan: Then you can add the following css.
    .category .page-header .page-title { display: none; }

    #27824
    Jonathan
    Member

    Worked great thank you!

Viewing 11 posts - 1 through 11 (of 11 total)
  • The topic ‘Display Category on Page’ is closed to new replies.