WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. Mtihc
    Member
    Posted 1 year 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.

    http://wordpress.org/extend/plugins/contact-form-7-datepicker/

  2. kimipooh
    Member
    Posted 1 year ago #

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

    Change the following code.

    contact-form-7-datepicker.php:618

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

    [Change]
    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
    Member
    Posted 1 year 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

About this Topic