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
Katharina
Hey 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,
Rikard
Hi 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
_K
Is it possible to hid the category?
I tried
.blog-categories {
display:none;
}
but it doesn’t work.
Hi,
Please try this instead:
.category .date-container, .category .text-sep-date {
display:none !important;
}
Best regards,
Rikard
Hi Rikard,
the date hides perfect now – Thank you.
I also would like to hide the category underneath the headline.
Thanks
_K
Hi,
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.
:-(
Hi,
Add this to quick css:
.blog-categories.minor-meta{
display:none!important;
}
Best regards,
Jordan Shannon
Works perfect! Thank you soon much you are all great!!!
Hi,
Great! If you need additional help, please let us know here in the forums.
Best regards,
Jordan Shannon