Tagged: x
-
AuthorPosts
-
May 9, 2016 at 11:04 am #982507
jillvanParticipantHello,
On my blog page /blog, I want to hide all meta data. Is that possible?
On each post page, I want users to be able to see the meta data, though I’d like to remove the icons next to author, date, category. Is that possible?
Most importantly, back on the /blog page, some of the titles are running off the screen on mobile. I’m assuming I need to add responsive text somehow? How would I do this?
Kind regards,
JillMay 9, 2016 at 11:05 am #982509
jillvanParticipantThis reply has been marked as private.May 9, 2016 at 12:21 pm #982619
ThaiModeratorHi There,
Please add the following CSS under Customizer > Custom > Global CSS:
.blog .p-meta, .p-meta i { display: none; } @media (max-width: 480px){ .blog .x-iso-container-posts.cols-3 h2.entry-title a { font-size: 28px; } }Hope it helps 🙂
May 10, 2016 at 4:36 pm #984815
jillvanParticipantThank you so much! That worked perfectly on mobile. Is there a way to do this for desktop as well?
Also, I realized that on each post page, some of the titles also are running off the page. Is it possible to fix that too?
Kind regards,
JillMay 10, 2016 at 4:38 pm #984816
jillvanParticipantThis reply has been marked as private.May 11, 2016 at 1:08 am #985371
Paul RModeratorHi,
To fix it, you can add this under Custom > Edit Global CSS in the Customizer.
@media (max-width: 767px) { body .entry-title { font-size: 35px; } } @media (max-width: 480px) { body .entry-title { font-size: 27px; } }Hope that helps.
May 11, 2016 at 8:37 am #985823
jillvanParticipantThat worked! Thank you!
I just need to fix these two issues for desktop as well. The CSS above (.blog .p-meta,
.p-meta i {
display: none;
}
@media (max-width: 480px){
.blog .x-iso-container-posts.cols-3 h2.entry-title a {
font-size: 28px;
}
} ) worked for mobile, not on desktop:> On my blog page /blog, I want to hide all meta data. Is that possible?<
>On each post page, I want users to be able to see the meta data, though I’d like to remove the icons next to author, date, category. Is that possible?<
May 11, 2016 at 11:27 am #986107
Nabeel AModeratorHi again,
1. To remove the meta data on blog, just add the following code in your Customizer:
.blog .p-meta { display: none !important; }2. To remove the icons on post pages, you can use this code:
.single-post .p-meta i:before { content: '' !important; }Let us know how this goes!
May 11, 2016 at 7:51 pm #986900
jillvanParticipantHi there. It’s working well on mobile, but still not on desktop.
So far, this is the code I’ve inputted:
.blog .p-meta,
.p-meta i {
display: none;
}
@media (max-width: 480px){
.blog .x-iso-container-posts.cols-3 h2.entry-title a {
font-size: 28px;
}
}.blog .p-meta {
display: none !important;
}@media (max-width: 767px) {
body .entry-title {
font-size: 35px;
}
}@media (max-width: 480px) {
body .entry-title {
font-size: 27px;
}
}.single-post .p-meta i:before {
content: ” !important;
}Thank you.
May 11, 2016 at 11:48 pm #987154
LelyModeratorHello Jill,
Please check this custom CSS:
@media (max-width: 767px) { .blog .entry-title a, .single .entry-title { line-height: 1; }You have missing closing curly brace. This will make all CSS below it to be inside 767 media query. That is why it is not working on desktop.
Update to this:@media (max-width: 767px) { .blog .entry-title a, .single .entry-title { line-height: 1; } }Hope this helps.
May 13, 2016 at 9:55 am #989775
jillvanParticipantThis reply has been marked as private.May 13, 2016 at 5:48 pm #990427
RadModeratorHi there,
I just tried that CSS and it’s working. The issue is that you have other existing CSS that are invalid, for example, this one has no proper closing bracket.
@media (max-width: 767px) { .blog .entry-title a, .single .entry-title { line-height: 1; }Any CSS added below it, especially another media query will not work.
Please fix those CSS 🙂 before applying the suggested CSS> Thanks!
May 16, 2016 at 9:22 am #993666
jillvanParticipantGotcha. I think I fixed it. It is working now, across both desktop and mobile. I really appreciate your help. Thanks!!
May 16, 2016 at 11:14 am #993846
RupokMemberYou are welcome!
Glad that it helped. Feel free to let us know if you face any other issue. We’ll be happy to assist you.
Thanks for using X.
Cheers!
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-982507 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
