Home › Forums › Calendar Products › Events Calendar PRO › Date background changes color on mobile
- This topic has 8 replies, 4 voices, and was last updated 7 years, 5 months ago by Carlos.
-
AuthorPosts
-
November 10, 2016 at 5:00 pm #1190683CarlosParticipant
HI.
The date background color of my events changes to a light color on mobile and tablet size screens. How can I prevent this from happening? I want it to stay dark. Also, how can I change the color of the title to something lighter?
Thank you!
https://mntra.vegas/event/enter-sake-with-richie-hawtin-black-monday-industry-party/
November 10, 2016 at 10:56 pm #1190740Geoff B.MemberGood evening Carlos and welcome back!
Thank you for reaching out to us.
We are sorry to hear about the background color changing on mobile screens.
I would love to help you with this topic.The following CSS rules should get you what you are looking for
@media only screen and (max-width: 768px) {
.single-tribe_events .tribe-events-schedule {
background: transparent !important;
}
}.tribe-events-single-event-title {
color: #fff !important;
}Let me know if that helps.
Have a great day!
Geoff B.
November 10, 2016 at 11:42 pm #1190750CarlosParticipantThank you Geoff. That worked but it made my “Details” window white when in Responsive size. Before it was black.
November 10, 2016 at 11:53 pm #1190754CarlosParticipantActually, that worked. My bad. I cleared the cache. But on the main events page where it lists them as a “List”, the details box is white while on mobile. I’d like it black and also hide the event’s description while on “List” view.
Thank you!
November 11, 2016 at 10:23 am #1191064Geoff B.MemberGood afternoon Carlos,
I am glad you are making progress on this.
Here is some additional code to help achieve what you are looking for
@media only screen and (max-width: 768px) {
.tribe-events-loop .tribe-events-event-meta {
background: transparent !important;
border: none;
}
#tribe-events .tribe-events-list-event-description p {display:none !important}
}Let me know how that goes.
Best regards,
Geoff B.November 11, 2016 at 10:43 am #1191078CarlosParticipantPerfect! One last thing and I’ll leave you alone.
How do I hide the description on a desktop-sized window as well?\
Thank you!
November 14, 2016 at 6:17 am #1191786Geoff B.MemberGood morning Carlos,
I am glad that helped.
To hide the description for the desktop, you can reuse the same rule as above but outside of the @media context. So simply
#tribe-events .tribe-events-list-event-description p {display:none !important}
Have a great day!
Geoff B.
December 6, 2016 at 8:35 am #1202036Support DroidKeymasterHey there! This thread has been pretty quiet for the last three weeks, so we’re going to go ahead and close it to avoid confusion with other topics. If you’re still looking for help with this, please do open a new thread, reference this one and we’d be more than happy to continue the conversation over there.
Thanks so much!
The Events Calendar Support Team -
AuthorPosts
- The topic ‘Date background changes color on mobile’ is closed to new replies.