-
AuthorPosts
-
December 4, 2019 at 5:29 am #1162453
Hi.
I created a Page which contains a Blog Entries element, which displayentries as a List Layout – Compact (Title and Icon only) under mobile screens. My problem is that when I click on any CATEGORY (located into a side bar) in order to filter the list, view changes from List Layout – Compact to complete entry, each followed by the next one also complete and so on. How could I get the same List Layout – Compact view just filtered by the CATEGORY I chose?
Is it posible using Enfold settings? Do I have to use a plugin for this purpose?
Thank you!!!
December 4, 2019 at 5:13 pm #1162653Hey ezimbron,
Please have a look at the following thread on how to change the category page layout:
https://kriesi.at/support/topic/category-archive-page-change-layout-to-show-excerpt/#post-459206If you need further assistance please let us know.
Best regards,
VictoriaDecember 5, 2019 at 3:17 am #1162768Thank you very much Victoria, for your quick answer.
Recommendations in that thread works great, it is exactly what I was trying to mean.
I have a couple questions to really solve my needs:
Using recommended code:
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;
1. Which is the $layout parameter for “List Layut – Compact (Title and icon only)” style, instead “blog-grid”?
2. In case I want to use “blog-grid” as suggested (it works well in a desktop screen), how could I obtain a 4 column grid through this code?
Well, another question:
3. If I want to display as blog-grid into large screens and, in the other hand, the compact list layout for mobile equipment, how could I set these differences for both screens into functions.php code?
Thank you very much!
Best regards.
Eduardo Zimbron
December 7, 2019 at 2:55 pm #1163575Hi ezimbron,
Available layouts are single-small, single-big, blog-grid and multi-big.
If you need further assistance please let us know.
Best regards,
Victoria -
AuthorPosts
- You must be logged in to reply to this topic.