Home › Forums › Calendar Products › Events Calendar PRO › How to fix html code?
- This topic has 6 replies, 2 voices, and was last updated 9 years, 5 months ago by Brian.
-
AuthorPosts
-
October 26, 2014 at 10:27 am #838201andrejfasunParticipant
Hi,
i needed to customize displaying events in month view http://s17.postimg.org/4zai53iu7/Dogodki_FIT131.png
so i get that view. But sadly i get to problem of tooltip displaying html code and in week view since text is red it is not visible. http://s1.postimg.org/nza05knm7/Dogodki_FIT13.pngAny idea how to fix this?
October 27, 2014 at 8:29 am #840728BrianKeymasterHi,
I can try to help you out with this.
It looks like you have added inline styling causing the issue as the javascript for the toop tips is escaping it and showing it.
I would look to styling the titles using a selector such as this instead:
#tribe-events-content .tribe-events-month-event-title a {
}
Let me know if that helps.
Thanks
October 27, 2014 at 8:34 am #840742andrejfasunParticipantSo if i would like to style title as following: <b style=”font-size:130%;color:red”>Body Balance</b></br>18:00 – 19:00</br>Manca
How can i do it in that selector?
October 27, 2014 at 8:37 am #840760BrianKeymasterIt will look something like this:
#tribe-events-content .tribe-events-month-event-title a {
font-size:130%;
color:red;
}Add that css to your theme’s stylesheet or through a plugin such as Simple Custom CSS.
Let me know if that helps.
Thanks
October 27, 2014 at 8:42 am #840775andrejfasunParticipantI believe we missunedrstood I want the Body Balance to be in bold and red, then 18:00 – 19:00 normal in next line and Manca in next line.
October 27, 2014 at 11:19 am #841327BrianKeymasterI am not sure how you customized the title, but it appears the content you would like to add needs to be outside of the title div.
You are going to have to follow the steps in the tooltip.php for adding content there as well.
\the-events-calendar\views\month\tooltip.php
So in addition to moving that file to your theme, you will also have to modify this one:
\the-events-calendar\views\month\single-event.php
I can give you some pointers on how the system works there, but it beyond the support I can provide on the forum to do the entire customization or a step by step customization.
Thanks
November 17, 2014 at 6:57 pm #888615BrianKeymasterI am going to close this topic as we typically close threads if there is no activity after two weeks. Feel free to create a new thread and reference this one to save you time.
Thanks
-
AuthorPosts
- The topic ‘How to fix html code?’ is closed to new replies.