Tagged: x
-
AuthorPosts
-
September 19, 2016 at 6:38 am #1181228
RubenCressPhotographyParticipantHi,
How can I remove the description in search results and have a responsive ‘grid’ of title/thumbnail
I have tried several solutions already offered on the forum.
This one is the best solution so far, but on smartphones there are still two thumbs/title/desc showing which makes the search results impossible to read properly.
@media only screen and (min-width: 980px) {} .search-results .x-main article { float: left; margin-right: 2%; width: 48%; } }Thanks in advance,
Cheers,
RubenSeptember 19, 2016 at 6:48 am #1181235
DarshanaModeratorHi there,
Thanks for writing in! To assist you with this issue, we’ll first need you to provide us with your URL. This is to ensure that we can provide you with a tailored answer to your situation. Once you have provided us with your URL, we will be happy to assist you with everything.
September 19, 2016 at 8:11 am #1181357
RubenCressPhotographyParticipantThis reply has been marked as private.September 19, 2016 at 8:29 am #1181384
JoaoModeratorHi There,
Please add the following code to Appereance > Customizer > Custom > CSS
.search .entry-content.excerpt { display: none; }Hope it helps
Joao
September 19, 2016 at 8:39 am #1181408
RubenCressPhotographyParticipantHi Joao,
Thank you so much for your input, it indeed removes the description when looking on a phone.
But I’m afraid I didn’t explain myself correctly 😀What I need is the following.
Normal Screen
– No Description
– 2 rowsTablet/Mobile Screen
– No Description
– 1 RowIn both cases the meta shouldn’t be there as well.
Thanks in advance!
September 19, 2016 at 9:00 am #1181435
JoaoModeratorHi There,
This should remove the description on every device and make your columns on mobile take 100% of the width.
If that does not work, please provide your admin credentials in a private reply so we can take a look.
Please check your code and make sure you have closed all media queries prior this code with the “doublen }”
Thanks
.search .entry-content.excerpt { display: none !important; } @media(max-width: 480px) { .search-results .x-main article { width: 100%; } }September 19, 2016 at 9:13 am #1181454
RubenCressPhotographyParticipantPerfect!
And how can I remove the meta on all screens?
Cheers,
RubenSeptember 19, 2016 at 9:24 am #1181469
RahulModeratorHi There
You could go to Customizer > Blog and under content there is an option for Post Meta and you can just turn it off.
Let us know if this information helps
Thanks.
September 19, 2016 at 9:27 am #1181475
RubenCressPhotographyParticipantHi Rahul,
The blog meta is already turned off, it appears the meta still show in the search results.
Thanks
September 19, 2016 at 9:42 am #1181489
DarshanaModeratorHi Ruben,
You can add this under Custom > CSS in the Customizer.
.search-results .p-meta { display: none; }Hope that helps.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1181228 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
