WordPress.org

Ready to get started?Download WordPress

Forums

WP Calendar
css problems with wp-calendar 1.5.1 (4 posts)

  1. dsg257
    Member
    Posted 1 year ago #

    using the following code for a category

    .fc-event.category-5,
    .fc-event.category-5 * {
    background-color: white !important;
    border:1px solid red; !important;
    color: black ;
    }
    give me the border but also borders around things inside of the box
    i attached a pic of what it looks like on the site
    pic

    Not got a clue tryed everything cant find where the settings are to remove this
    i know i can overide them by adding them to my css above and using !important

    http://wordpress.org/extend/plugins/wp-calendar/

  2. faebu
    Member
    Plugin Author

    Posted 1 year ago #

    The trick is not to set a border, but just adjusting the border color:

    .fc-event.category-5,
    .fc-event.category-5 div {
    	border-color: red !important;
    	background-color: white !important;
    	color: black;
    }

    That works for me

  3. dsg257
    Member
    Posted 1 year ago #

    Thanks that worked but had to put it into the styles.css file in my subtheme would not work when i copied the fullcalendar.css file to sub theme

    .fc-event.category-5,
    .fc-event.category-5 div {
    	border-color: red !important;
             border-width: 2px  !important;
    	background-color: white !important;
    	color: black;
    }

    Added the border width which works
    showing the code For the benifit of others
    Hope it Help someone

  4. dsg257
    Member
    Posted 1 year ago #

    Thanks for all the help
    Hope you get some time to continue to developt this plugin which is brilliant
    May i sugest that you use some of the code solutions from the support in your documents and give examples of the codes of easy use by new users who may not totally understand the use of the shortcodes an the plugin potential

    Thanks For all your hard work
    Will be making a donation asap

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic