• Resolved abigailhewlett

    (@abigailhewlett)


    Do the colours show on list view as well month view?

    I am not sure if there is an option in settings I am not selecting or if I am overriding it in our own css but I cannot see that the style is included.

    Any help would be appreciated.

    Thanks,
    Abby

    The page I need help with: [log in to see the link]

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Andy Fragen

    (@afragen)

    It seems I missed a CSS selector change in The Events Calendar at some time.

    You can test with my develop branch and see if I’ve gotten it fixed.

    https://github.com/afragen/the-events-calendar-category-colors/archive/develop.zip

    Thread Starter abigailhewlett

    (@abigailhewlett)

    Perfect! That works a treat ??

    Thanks for your quick response and help.

    Hi Andy,

    I don’t understand how to ‘… test with my develop branch and see if I’ve gotten it fixed.’

    I recently purchased The Events Calendar Pro, and added this Category Colors plugin. Colors work great in the Month View. In the list view, the background color displays fine, but the border color does not display:

    https://37.60.231.189/~artaweb/events/list/

    I’m not certain how to resolve this and would appreciate any thoughts.

    Sincerely,

    Paul

    Plugin Author Andy Fragen

    (@afragen)

    Hey Paul!

    A quick look shows a conflict with the Avia Merged Styles stylesheet. It seems there’s a border-color style for #top .main_color .tribe-events-list-event-title

    Try adding the following filter to your theme’s functions.php file. I think it should work.

    
    add_filter( 'teccc_fix_category_background_color', function( $null, $category ) {
    	return "#top .main_color {$category} .tribe-events-list-event-title,";
    }, 10, 2 );
    

    Make sure to add ?refresh_css to the end of your events URL to remake the CSS.

    • This reply was modified 6 years, 1 month ago by Andy Fragen.
    • This reply was modified 6 years, 1 month ago by Andy Fragen.

    Andy,

    Thank you very much for the quick response!

    I just now saw this, and I copied/pasted your code into the Enfold Child Theme’s functions.php file.

    However, this didn’t seem to make a difference. And yes, I also added “?refresh_css” to the end of the events URL.

    I’m not certain what to try next, but I think I’ll find a freelance WordPress expert to dive further into the details.

    Thanks again for the response. You’ve created a great plugin!

    Sincerely,

    Paul

    Plugin Author Andy Fragen

    (@afragen)

    Paul,

    Are you sure? It looks like it worked.

    https://cl.ly/c3f032dacd92

    Try opening in a private window.

    Andy

    Wow, it did! Fantastic!

    I thought that maybe somewhere in Enfold’s Avia Layout Builder there was some kind of other conflict (this is someone who ‘semi-understands’ coding).

    ??

    Maybe I’m mistaken, but it seems that Safari and Chrome are even more stingy with caching than in the past. Of course, I was going too fast last night, and ONLY was looking at the page via Safari; I didn’t even check Chrome or Firefox.

    Thanks again for your help with this; this plugin has been the perfect addition for my client’s needs.

    Sincerely,

    Paul

    Plugin Author Andy Fragen

    (@afragen)

    Excellent Paul. If you have some time can you leave a review?

    Thanks,
    Andy

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Colours not showng on list view’ is closed to new replies.