• Hi,
    I will try again. I have managed to modify the css to have the category pages use the same layout as the blog when the blog is set to Blog Image Alternate Medium in customizer. However since the default is a larger post image on category pages the thumbnails do not display properly. I would really like to make it so the category pages display exactly as the blog itself does. All I need to know is where the category pages php lives so that I can make that change.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter mdknight

    (@mdknight)

    HI,
    Since there has been no response to this question I figured it out on my own.
    In case anyone else wants the category posts to look just like the main blog page and have it able to be switched by using the customizer here is the answwr.

    The php file that controls the main blog layout is home.php, the php file used for category pages is archive.php to make everything work as it should you need to edit the archive.php file and add these lines between “while” and “endwhile”

    <?php	$format = spacious_posts_listing_display_type_select(); ?>
    
    					<?php get_template_part( 'content', $format ); ?>

    Then remove this line after the “endwhile”
    <?php get_template_part( 'content', get_post_format() ); ?>

    As always save copies of any of your theme files before making any changes and it always best to use a child theme so that an update doesn’t wipe out all of your hard work.

    I would like to thank themegrill for all of their help, but they were of no help at all.`

    As always save copies of any of your theme files before making any changes and it always best to use a child theme so that an update doesn’t wipe out all of your hard work.

    I would like to thank themegrill for all of their help, but they were of no help at all.

    • This reply was modified 3 years, 5 months ago by mdknight.

    Hi @mdknight,

    Thank you for writing in,

    Glad to hear that issue has been solved. Let me know if you have any confusion in future days. We will be happy to help you.

    Also, we are sorry that we couldn’t provide the appropriate solution for you regarding your query. Since you have already solved it on your own, we promise to help you in the future with other issues.

    With Regards,
    ThemeGrill Support Team

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Category Pages’ is closed to new replies.