Home › Forums › Calendar Products › Events Calendar PRO › Problem with Month View title after upgrade
- This topic has 5 replies, 3 voices, and was last updated 7 years, 11 months ago by Hunter.
-
AuthorPosts
-
June 9, 2016 at 4:34 am #1124370Abigail MarshallParticipant
I have just installed the 4.2 upgrade to a staging site, and I am seeing a problem with the title on the month-view page.
With the upgrade I now see these words in a large, left aligned <h3) title at the top and bottom of the calendar:
Calendar Month Navigation
This is in place of the identifying text that previously appeared with the code:
<h2 class="tribe-events-page-title">
And showed up with text in the format:
Events for Month/Year › Event Category
June 9, 2016 at 4:39 am #1124375Abigail MarshallParticipantThis reply is private.
June 9, 2016 at 11:14 am #1124670HunterModeratorThis reply is private.
June 9, 2016 at 4:54 pm #1124833Abigail MarshallParticipantI found the source of the problem.
It’s a change to this file, and will impact some themes.
the-events-calendar/src/views/month/nav.php
At line 19:
<h3 class="screen-reader-text" tabindex="0"><?php esc_html_e( 'Calendar Month Navigation', 'the-events-calendar' ) ?></h3>
The problem is that the CSS in my theme apparently doesn’t have an appropriate specification for the screen-reader-text class — the problem disappears when I switch to TwentyFifteen.
You’ll find information about the required coding for that class here:
I resolved the problem on my installation by adding the required CSS specification to my child theme style.css file
However, I’d recommend that you also add that class to the css for your plugin, at least for pages generated by that template. I am using the Evolve theme (free version) – but I’d assume that other themes might have issues with this class specification.
June 10, 2016 at 12:56 pm #1125333HunterModeratorHey Abigail,
Thank you so much for the informative response 🙂
I’ll make note of your recommendations as I see validity in them. Another good option to make sure it gets in front of the right people would be to add it as an idea to our UserVoice Feature Ideas.
Again, thank you for getting back to me and I’m glad to hear you got everything addressed. I’ll close this thread out but feel free to create a new one if anything else comes up!
-
AuthorPosts
- The topic ‘Problem with Month View title after upgrade’ is closed to new replies.