- 
		AuthorPosts
 - 
		
			
				
December 4, 2017 at 8:43 pm #884776
Hi,
I was wondering how to change the layout of the category page. Means – when user click on a blog category all post with this category are shown.
At the moment it didn’t look to good.1.) Heade to small
2.) Header don’t start left
3.) Don’t want to show date and author (I habe deactivate it in setting but on this page it is still showing)Thanks
KatharinaDecember 6, 2017 at 6:44 am #885376Hey sonderdesigner,
Please try the following in Quick CSS under Enfold->General Styling:
.category .post-title { max-width: 100% !important; } .category .post-title { font-size:25px !important; } .category .post-meta-infos { display:none; }Best regards,
RikardDecember 6, 2017 at 6:54 am #885384Hi Rikard,
the first two works fine. The Date is still showing.
I add in CSS for removing the author. But some how the date is still showing..blog-author.minor-meta {
display: none;}
How can I remove the date and /.
Thanks
_KDecember 6, 2017 at 9:38 am #885450Is it possible to hid the category?
I tried.blog-categories {
display:none;}
but it doesn’t work.
December 6, 2017 at 2:14 pm #885594Hi,
Please try this instead:
.category .date-container, .category .text-sep-date { display:none !important; }Best regards,
RikardDecember 6, 2017 at 9:25 pm #885768Hi Rikard,
the date hides perfect now – Thank you.
I also would like to hide the category underneath the headline.
Thanks
_KDecember 6, 2017 at 9:52 pm #885779Hi,
I just did try following:add the code in function.php
/*
* Hide Categories
*/function avia_exc_post($query) {
if ($query->is_search) {
$query->set( ‘category__not_in’, array(38, 47, 46) );
}
return $query;
}
add_filter(‘pre_get_posts’,’avia_exc_post’);But it doesn’t work. If I add it in functions-enfold.php I get an error with white page.
:-(December 7, 2017 at 12:58 am #885836Hi,
Add this to quick css:
.blog-categories.minor-meta{ display:none!important; }Best regards,
Jordan ShannonDecember 7, 2017 at 7:54 am #885967Works perfect! Thank you soon much you are all great!!!
December 7, 2017 at 7:41 pm #886213Hi,
Great! If you need additional help, please let us know here in the forums.
Best regards,
Jordan Shannon - 
		AuthorPosts
 
- The topic ‘Page Layout of blog category page’ is closed to new replies.
 
