Try changing your child theme css to specify just the home page:
.home .post-list .post {
width: 100%;
}
Thanks for the response. Unfortunately this did not change the recipes tab either. I replace my current css child mod ‘.post-list .post, .post-list .page { width: 100%; }’ with yours and it remained 1 column on all pages. Any other suggestions to try?
What is even more strange, I removed my code and your entirely from the child theme css, and updated the file. When I refreshed the page it remained as 1 column and did not revert to the standard 2 column.
Okay – apologies for the responses, but your edits did work perfect! For some reason just refreshing the page would not update the changes, but when I closed the browser and restarted it worked great! Thank you bdbrown. I do have another question. I am only showing three posts on the ‘home’ page. The ‘recipes’ page only shows three as well. In a grid layout now this docent look that great. Is there anyway I can keep the home page at 3 and increase just the recipe page?
I just looked at your site using the link in your original post. The code I suggested above is still there, the home page posts are in a single column and the recipes-eats page posts are in two columns.
I know and thanks! Apologies for the miscommunication, your advice worked great. There was an issue with my refresh and it wasn’t showing changes as I mad them. Thanks again. Do you have any thoughts on how to increase the post count (posts shown at one time) on just the recipes tab?
Check the Settings – Reading – Blog pages show at most X posts. Is that set to 3?
Yes it is because I only want 3 or 4 at the most shown on the ‘home’ page. Because the ‘recipes’ page is grid now (thanks again) I would like that page to show 8 or 10.
Couple of options:
1. Add this to your child theme functions.php
function posts_on_homepage( $query ) {
if ( $query->is_home() && $query->is_main_query() ) {
$query->set( 'posts_per_page', 3 );
}
}
add_action( 'pre_get_posts', 'posts_on_homepage' );
2. Use a plugin like this one.
Then change the “Blog pages show at most” to however many posts you want to display on the category pages.
You are absolutely brilliant. Thank you so much!
You’re most welcome. Glad I could help.
Yay! This worked for me too – I’ve been meaning to change the posts on homepage for ages!