WordPress.org

Ready to get started?Download WordPress

Forums

Events Manager
[resolved] CSS in themes style.css (6 posts)

  1. Scott
    Member
    Posted 6 months ago #

    I am having issues getting events manager to recognize my css in my themese style.css. For example I add the below code at the end of the file effectively changing the background color of the calendar but it never takes. Is there anything else I need to add to style.css for this work?

    /* Calendar Styles */
    	table.em-calendar td { padding: 2px 4px; text-align: center; }
    	table.em-calendar.table tr.days-names { font-weight: bold; }
    	table.em-calendar td.eventless-pre, .em-calendar td.eventless-post { color: #ccc; }
    	table.em-calendar td.eventful-pre a, table.em-calendar td.eventful-post a{ color: #aaa; text-decoration:underline; }
    	table.em-calendar td.eventful a, table.em-calendar td.eventful-today a { color: #FD7E29; }
    	table.em-calendar td.eventful-today a { font-weight: bold; }
    	table.em-calendar td.eventless-today, table.em-calendar td.eventful-today { background-color: #CFCFCF; }
    	table.em-calendar thead { font-size: 120%; font-weight: bold; }
    	table.fullcalendar { border-collapse: collapse; }
    	table.fullcalendar td { text-align: left; width: 50px; height: 50px; background-color:#373737; border: 1px solid #888; }
    	div.em-calendar-wrapper { position:relative; }

    http://wordpress.org/plugins/events-manager/

  2. angelo
    NetWebLogic Support
    Posted 6 months ago #

    did you add it at the end of your theme style.css and are you using child theme?

  3. Scott
    Member
    Posted 6 months ago #

    Yep, the very last thing in my style.css and I am not using a child theme.

  4. philipjohn
    Member
    Posted 6 months ago #

    Hiya,

    Have you tried using the Inspector tool in the Chrome or Firefox browsers to check that your CSS isn't being overridden by something else?

    Thanks,
    Phil

  5. Scott
    Member
    Posted 6 months ago #

    I did do that and I am not certain. I am attaching a pic of the element detail. Maybe you can tell?

    http://i243.photobucket.com/albums/ff170/scott2323/calendar_zps930cc845.png

  6. caimin_nwl
    NetWebLogic Support
    Posted 6 months ago #

    The CSS rules in the inspector with a line through them are rules that are being overwritten elsewhere.

    Looking at the screenshot, none of your custom rules seem to be being applied. Can you share a link to your site?

Reply

You must log in to post.

About this Plugin

About this Topic

Tags