• Resolved altonc2

    (@altonc2)


    From what I can tell the only way to specify a color though the settings dialog is via a random slider – that displays a color code.
    Why can’t I type in my own color code?
    I can highlight the code, but not type in my own. This seems like basic functionality, or am I doing something wrong?

    Love the plug-in.

    Thanks,
    A

    https://www.ads-software.com/plugins/imdb-info-box/

Viewing 1 replies (of 1 total)
  • Plugin Author sunnyverma1984

    (@sunnyverma1984)

    You can’t manually input colors because all color fields has read-only attribute.
    You can remove these attribute in file imdbinfobox.php in line number 125, 129, 133 and 137

    find this

    <tr>
        <td><strong>Heading Background Color</strong></td>
        <td><input class="color" value="<? echo get_option('imdbheadbg'); ?>" name="imdbheadbg"  readonly="readonly" /></td>
      </tr>
      <tr>
        <td><strong>Heading Text Color</strong></td>
        <td><input class="color" value="<? echo get_option('imdbheadfg'); ?>" name="imdbheadfg" readonly="readonly" /></td>
      </tr>
      <tr>
        <td><strong>Body Background Color</strong></td>
        <td><input class="color" value="<? echo get_option('imdbbodybg'); ?>" name="imdbbodybg"  readonly="readonly" /></td>
      </tr>
      <tr>
        <td><strong>Body Text Color</strong></td>
        <td><input class="color" value="<? echo get_option('imdbbodyfg'); ?>" name="imdbbodyfg" readonly="readonly" /></td>
      </tr>

    and replace with

    <tr>
        <td><strong>Heading Background Color</strong></td>
        <td><input class="color" value="<? echo get_option('imdbheadbg'); ?>" name="imdbheadbg" /></td>
      </tr>
      <tr>
        <td><strong>Heading Text Color</strong></td>
        <td><input class="color" value="<? echo get_option('imdbheadfg'); ?>" name="imdbheadfg" /></td>
      </tr>
      <tr>
        <td><strong>Body Background Color</strong></td>
        <td><input class="color" value="<? echo get_option('imdbbodybg'); ?>" name="imdbbodybg" /></td>
      </tr>
      <tr>
        <td><strong>Body Text Color</strong></td>
        <td><input class="color" value="<? echo get_option('imdbbodyfg'); ?>" name="imdbbodyfg" /></td>
      </tr>

Viewing 1 replies (of 1 total)
  • The topic ‘Specific colors’ is closed to new replies.