Home › Forums › Calendar Products › Events Calendar PRO › Course list widget CSS
- This topic has 4 replies, 2 voices, and was last updated 10 years, 6 months ago by
Nico.
-
AuthorPosts
-
October 16, 2015 at 8:33 am #1015313
John Paul
ParticipantHi
I added some CSS code to my widget-calendar child sheet in order to get the right look my client was after. On the 22″ monitor and mobile view it looks fine.. However on 17″ and ipad landscape the text all bunches up..
here is the code I have in the stylesheet
/* TRIBE EVENTS – WIDGET CALENDAR CSS FILE
Change the widget title colour and size */.tribe-events-adv-list-widget .list-date {
display: none;
}
.tribe-events-adv-list-widget h3.widget-title {
padding-top: 1px;
}
.tribe-events-adv-list-widget h2.entry-title.summary {
margin-bottom: 0px;
padding-bottom: 3px;
font-weight: normal;
font-size: 120%;
}
.duration {
font-size: 90%;
}
.list-info a:hover{
background-color: #f1f1f1 !important;
padding-left: 2px;
padding-right: 5px;
padding-top: 4px;
padding-bottom: 4px;
border: 1px solid #dfdfdf;
}
.tribe-mini-calendar-event {
border-bottom:1px dotted #8cabab !important;
}
.tribe-mini-calendar-event .list-info {
width: 100%;
}
.tribe-events-adv-list-widget .tribe-events-event-cost {
font-size: 90%;
}
.tribe-events-adv-list-widget .type-tribe_events, .tribe-mini-calendar-list-wrapper .type-tribe_events {
height: 4em;
}perhaps I should have added some media queries..what would you recommend?? many thanks …..
October 16, 2015 at 8:40 am #1015315John Paul
ParticipantI shold have added that the list resizes a lot better when viewed on the Home page…but for some reason on the event views it is poor
October 16, 2015 at 10:13 am #1015356Nico
MemberHey John,
I’m sorry but we cannot support users custom code ๐
That being said I’ll give you a quick tip, but please bear in mind I will not be able to follow-up much on this:
.tribe-events-adv-list-widget .type-tribe_events {
height: auto!important;
}
Hope that helps,
Have a great weekend,
NicoOctober 16, 2015 at 3:24 pm #1015468John Paul
Participantmany thanks
did the trick nicely
October 16, 2015 at 3:53 pm #1015474Nico
MemberStocked to hear that fix worked out as expected ๐
Iโll go ahead and close out this thread, but if you need help with anything else please donโt hesitate to create a new one and we will be happy to assist you.
Cheers,
Nico -
AuthorPosts
- The topic ‘Course list widget CSS’ is closed to new replies.
