-
AuthorPosts
-
October 8, 2015 at 7:22 pm #516056
I have searched the forum, and have a similar request to the post here…
https://kriesi.at/support/topic/archive-page-layout-changes/I love the 2-column look of the blog when “Advance Layout Editor” is selected. I want my blog category pages to look the same. However, when I change the Blog Style to “Grid Layout” the entire blog changes to a 2-column layout and I lose the Read More link.
Is there a way to make the entire blog a 2-column layout?
And please remind me how to upload screenshots so I can sent them to you.
October 12, 2015 at 12:09 pm #517292Hi allyson2!
not sure what you mean and I think screenshots or a link showing what you want to achieve would be helpful to us. You can use imgur.com or dropbox.
Regards,
AndyOctober 12, 2015 at 4:08 pm #517462Sure. Currently, my blog articles show up in 2 beautiful columns.
https://www.dropbox.com/s/l6ywzlgujzo5tss/Screen%20Shot%201.png?dl=0When I click on a category/archive page, it shows all the articles in full (no snippet) and looks terrible.
https://www.dropbox.com/s/mjck9b030zyyb77/Screen%20Shot%202.png?dl=0The only way I can figure out how to change the category page layout, is to switch from Advance Layout Editor to Grid Layout, but that changes the entire blog (including the main blog page) to a 3-column format.
https://www.dropbox.com/s/gz0vwzrm47zd3ot/Screen%20Shot%203.png?dl=0I want to make the category/archive pages the same 2-column layout as the blog when using the Advance Layout Editor.
Also, why don’t the category/archive pages have titles?
October 13, 2015 at 12:11 pm #518011Hi!
can you provide us a link to the site in question please? because we need to inspect the elements to be able to search for a possible solution via CSS code.
Regards,
AndyOctober 13, 2015 at 3:55 pm #518139Sure. I’ve included a link to our site, as well as login credentials since our site is not yet live.
October 14, 2015 at 1:22 pm #518630Hi!
not sure what you are trying to do. We need precise links showing the elements which are seen on your screenshots. Couldn’t find them on your website …
Regards,
AndyOctober 14, 2015 at 5:59 pm #518872Andy,
The screenshots are from:
1) The blog — http://explorenayarit.com/blog/
2) The first category — http://explorenayarit.com/blog/category/what-to-do/October 16, 2015 at 7:15 am #519687Hi!
We added this code in the functions.php file:
add_filter('avf_blog_style','avia_change_category_blog_layout', 10, 2); function avia_change_category_blog_layout($layout, $context){ if($context == 'archive') $layout = 'blog-grid'; return $layout; }
Please check it here: http://explorenayarit.com/blog/category/what-to-do/
If you want to set the columns to two, modify archive.php then look for this code:
'columns' => 3,
Adjust the value.
Cheers!
IsmaelOctober 16, 2015 at 3:34 pm #520048Thank you Ismael.
That looks beautiful.
One more question. I am not using the title or breadcrumb block, as I want the titles to be more prominent. I’ve found a work around on all other pages, but I can’t find a place to add a H1 on the blog pages.
Example:
No title showing on blog: http://explorenayarit.com/blog/category/what-to-do/
Title showing on other pages: http://explorenayarit.com/towns/chacala/Ideas?
October 17, 2015 at 9:39 pm #520478Ismael,
I added this code in the functions.php file:
add_filter(‘avf_blog_style’,’avia_change_category_blog_layout’, 10, 2);
function avia_change_category_blog_layout($layout, $context){
if($context == ‘archive’) $layout = ‘blog-grid’;
return $layout;
}It´s works ok.
Could you please teach me how to remove date and excerpt in new archive layout?
Thanks in advanced,
Andre
October 18, 2015 at 10:47 am #520586 -
AuthorPosts
- You must be logged in to reply to this topic.