Contact Form 7 Datepicker
Change color from beige to something else (3 posts)

  1. Mtihc
    Posted 2 years ago #

    I noticed there are a bunch of different colors available. Because there's different folders in /wp-content/plugins/contact-form-7-datepicker/img

    By default, the images in the beige folder are used.
    But how do I change that?

    I realize I can change the background-image of div.dayNormal etc in my template's style.css

    But maybe there's a better way?
    Maybe I'm supposed to make a new scheme in /wp-content/plugins/contact-form-7-datepicker/css/schemes?
    This scheme thing is not very well documented. Unless I'm missing something.


  2. kimipooh
    Posted 2 years ago #

    This is the program bug due to plugins_url() function.

    Change the following code.


    imgPath:"'.plugins_url('/img/'.get_option('cellColorScheme').'/', __FILE__).'",

    imgPath:"'.plugins_url('/img/'.get_option('cellColorScheme'), __FILE__).'/",

    Because, according to http://codex.wordpress.org/Function_Reference/plugins_url, plugins_url function removes "/" of the end-of-line character.

    I hope the bug.

    P. S.
    If JavaScript code is moved form the header to the footer using cache plugin, such as Header Cleaner, WP Super Cache, W3 Total cache, this plugin cannot work.

  3. jazzymood
    Posted 2 years ago #

    Hello, I do not have any subfolders img, css etc in my plugin. And I cannot change the theme. all themes are visible in dashboard, but changing has no effect. what is wrong?

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Contact Form 7 Datepicker
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic