Forum Replies Created
-
AuthorPosts
-
Andy Fragen
Moderator@Rob, I just installed the Community Events plugin and discovered that it handles custom CSS exactly as it should. There are enqueue commands for both the default CSS and if an override CSS file exists then an enqueue command for that CSS file is also issued.
I didn’t look to see how this was accomplished but I would recommend this method be incorporated into TEC. I would love to EOL this plugin. 😉
Andy Fragen
ModeratorPaul, it’s so cool that this “just works”.
Andy Fragen
ModeratorThere is a tremendous amount of gist code for customization and problem solving that has been supplied here. It would be great if some separate page with links to those gists were available. Naturally really good title descriptions of the gists would be needed. 😉
Andy Fragen
ModeratorExcellent!
Andy Fragen
Moderatormoskit, there will be no files or folders created on your server for the calendar and it’s pages, these are created dynamically from The Events Calendar.
#2 You can customize the time format from your WordPress Dashboard, Settings > General.
Refer to http://codex.wordpress.org/Formatting_Date_and_Time.
Andy Fragen
ModeratorTom, here’s a snippet from your calendar source.
[div id=container class=fix]
[div id=main-col]
[div id=content]
[article class=”post-408 tribe_events type-tribe_events status-publish hentry cat_radiation meta-position-corners post fix” id=post-408]
[header class=”post-header fix”]
[h1 class=posttitle]Calendar of Events[/h1]
[/header]You’ll notice in the article tag the theme includes a class designation for cat_radiation. Also, I did notice something in your theme is changing the way the CSS from Category Colors is added. It seems to remove almost all whitespace.
It seems that category classes are being added to your Upcoming Events as well. The reason it’s only on the calendar page is that this page is created from a different page template. Again, I’m almost certain that Category Colors is simply exposing the fact that your theme is inserting category tags in these locations.
Andy Fragen
ModeratorTom, the category colors plugin only colors items with class assigned to the specific category. I added this part of the CSS for making the legend. I guess I can try to recode it to remove this part if the user doesn’t want to use a legend. But it’s still a theme conflict. 🙁
Andy Fragen
ModeratorBut you’ll notice it’s now gone. You should check out the themer’s guide listed above in the sidebar.
Andy Fragen
ModeratorTry using the TwentyEleven theme and see the same thing exists. If it doesn’t there must be a conflict with this theme. But the conflict is likely with TEC it’s just that my plugin seems to expose it. Other choice is to make transparent styling to you radiation category and use something else in its place.
Andy Fragen
ModeratorDid you change anything else?
Andy Fragen
ModeratorSorry that should be Default Events Template 😉
Andy Fragen
ModeratorSorry the should be Default Events Template 😉
Andy Fragen
ModeratorTom, try changing you template in settings to Fefault Events Template. If you look at the source of your calendar you will see what I’m referring too. The plugin has no capability to insert anything other than the style tag into your page. Going back to an earlier version of the Events Calendar Category Colors won’t help as this part of the code has pretty much stayed the same.
Andy Fragen
ModeratorI’m not sure what template you’re using but you’ll need to remove that class from the article tag.
Andy Fragen
ModeratorTom, in your ecp-page-template.php you have given a class cat_radiation to the article tag. That’s why you have styling on the whole calendar.
-
AuthorPosts
