Tagged: category page
Viewing 2 posts - 1 through 2 (of 2 total)
-
AuthorPosts
-
November 17, 2015 at 6:50 pm #537568
Hello,
I’m trying to make another layout for the archive.php (category page). Now I have 3 columns, but I want more columns. I also want the thumbnail size to be smaller. I changed this in the archive.php, but it isn’t working:
{ $atts = array( 'type' => 'grid', 'items' => get_option('posts_per_page'), 'columns' => 6, 'class' => 'avia-builder-el-no-sibling', 'paginate' => 'yes', 'use_main_query_pagination' => 'yes', 'custom_query' => array( 'post__in'=>$post_ids, 'post_type'=>get_post_types() ) );
Furthermore I only want to show the post title on the category page, i managed to do that by putting in this code, can you confirm it’s the correct way?
.main_color .meta-color, .main_color .sidebar, .main_color .sidebar a, .main_color .minor-meta, .main_color .minor-meta a, .main_color .text-sep, .main_color blockquote, .main_color .post_nav a, .main_color .comment-text, .main_color .side-container-inner, .main_color .news-time, .main_color .pagination a, .main_color .pagination span, .main_color .tweet-text.avatar_no .tweet-time, #top .main_color .extra-mini-title, .main_color .team-member-job-title, .main_color .team-social a, .main_color #js_sort_items a, .grid-entry-excerpt, .main_color .avia-testimonial-subtitle, .main_color .commentmetadata a, .main_color .social_bookmarks a, .main_color .meta-heading > *, .main_color .slide-meta, .main_color .slide-meta a, .main_color .taglist, .main_color .taglist a, .main_color .phone-info, .main_color .phone-info a, .main_color .av-sort-by-term a, .main_color .av-magazine-time, .main_color .av-magazine .av-magazine-entry-icon, .main_color .av-catalogue-content, .main_color .wp-playlist-item-length { display: none; }
- This topic was modified 9 years, 1 month ago by SayD1984.
November 19, 2015 at 6:01 am #538730Hey SayD1984!
Thank you for using Enfold.
The maximum column is 5. You can’t go any further than that. Replace the css code with this:
.template-blog .slide-meta, .template-blog .slide-content .blog-categories, .template-blog .slide-content .slide-entry-excerpt { display: none; }
Regards,
Ismael -
AuthorPosts
Viewing 2 posts - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.