Home › Forums › Calendar Products › Events Calendar PRO › Cannot find the CSS file to modify the Widget for Event List
- This topic has 14 replies, 5 voices, and was last updated 10 years, 9 months ago by
Support Droid.
-
AuthorPosts
-
July 19, 2013 at 5:51 am #56059
bodin
ParticipantHi,
I’ve searched and searched without the success to find the CSS class “entry-title summary” that is used in the Widget “Events List”.
I am doing testing of the ECP 3.0 version locally on my laptop and I’ve discovered that for the WordPress theme that I use, StartUpPRO, the “title” for the Events listed become extremely large. When I do an inspection (Safari) of the code of the page, I see that it is using:h4 class=”entry-title summary”
The challenge is that I cannot find this is any CSS file I’ve looked into.
Would appreciate for any kind of help!
Sincerely,
AndreasJuly 19, 2013 at 9:33 am #56111reid peifer
MemberHey Andreas
I think I just replied to you in another thread. I’m glad you started a unique one so that we can solve your specific problem.Without seeing your code directly, I’m doing a little guessing here, but this should work. Add the following code to your theme’s stylesheet and you should be good to go.
.tribe-events-list-widget-events h4.entry-title{
PUT YOUR CSS CODE HERE
}
July 19, 2013 at 2:33 pm #56160bodin
ParticipantHi again Reid!
Thank you for taking the time to answer my question.
I put your suggested example above into my theme’s style.css. Unfortunately it did not work.
One thing that puzzles me is, how can a class name contain spaces?
The code I see in the Chrome inspector states:
I didn’t think that class names could contain spaces. 🙂Again, thank you for your effort to try and help out!
Sincerely,
AndreasJuly 19, 2013 at 2:36 pm #56161bodin
ParticipantHmm… the page cleared out the html tags. 🙂
What I wrote was:
< h4 class=”entry-title summary” >ps. How did you get the fancy yellow box with the code in the post? ds.
July 19, 2013 at 2:38 pm #56163snorton
ParticipantHey bodin, the space simply signifies multiple classes applied to the same tag (one class is entry-title and the other is summary).
Sorry for jumping in this post, but I’ve been hovering around this forum for a while looking for answers and enjoy putting in my two cents when I can.
July 19, 2013 at 2:40 pm #56164bodin
ParticipantThanks snorton! No worries for jumping in! I appreciate all the help I can get. 🙂
July 19, 2013 at 2:51 pm #56165reid peifer
MemberThanks for helping out snorton.
When you have an element in your html with a space like yours, that means the h4 has 2 classes; entry-title and summary.
When you’re writing css and you use 2 selectors (Ids or classes) your referencing specificity.
Think of it as parents & children.
.tribe-events-list-widget-events h4.entry-title { css stuff }
This is trying to style the H4 with a class entry-title within a parent element with the class .tribe-events-list-widget-eventsIf you want to zip up and shoot me your theme, I’ll be happy to take a look.
July 19, 2013 at 2:54 pm #56169reid peifer
Membernote – if you use the code tag in the forum, you can paste in code without it being stripped.
July 20, 2013 at 1:16 am #56194bodin
ParticipantThank you very much Reid for your answers! I’m learning more and more. 😉
I’ll see to it that I zip up the theme (the folder) and send it to you.
July 20, 2013 at 1:19 am #56195bodin
ParticipantFile zipped, but how do I send it to you Reid?
July 22, 2013 at 9:00 am #56320reid peifer
MemberHi Bodin
You can either share a dropbox link or email it to me at reid AT tri.beJuly 25, 2013 at 6:23 am #57055bodin
ParticipantHi Reid,
I’ve now updated to the latest versions of the plugins on my production environment now. You can see effect it has on the title of the Events in the right hand widget bar (www.bomscandinavia.com).
Since I want to have it in normal size, maybe not making it use the <h4> tag will put it all back to normal, don’t you think?July 25, 2013 at 1:11 pm #57186bodin
ParticipantI found the solution! 🙂
I did an over-ride of the list-widget.php where I replaced the
<h4 class="entry-title summary" >
with a simple
<div >
This made me get it the way I wanted it to be! 🙂So you can close this question!
Sincerely,
AndreasJuly 29, 2013 at 2:50 pm #57628Barry
MemberGreat – thanks Andreas!
July 7, 2015 at 6:27 am #979992Support Droid
KeymasterThis topic has not been active for quite some time and will now be closed.
If you still need assistance please simply open a new topic (linking to this one if necessary)
and one of the team will be only too happy to help. -
AuthorPosts
- The topic ‘Cannot find the CSS file to modify the Widget for Event List’ is closed to new replies.
