• Resolved davidbeastall

    (@davidbeastall)


    Hi,

    I’m using the Ajaira theme, under the themes customise options, whenever I attempt to change the Link Colours under “Header Social Options” the customer returns the error, “invalid colour value”. This can’t be corrected or returned to default manually and prevents any of the customizer options from being published.

    I’ve attempted to restore it to the default value using the provided reset button, however, it won’t accept this. It won’t accept colour variants as either 3 figures i.e. #000 nor #000000 and nothing that is copy & pasted in as a value nor selected using the inbuilt colour picker works.

    The only way to get out of the error loop is to refresh the page and accept the default values prior to making any changes.

    Does anybody know a solution to this or is this a known bug?

    Thank you

    Kind regards,
    David

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Have you found a fix or solution to this? I see same error …

    Well, here it is:

    in customizer.php file in the theme, around line 130

    find
    'sanitize_callback' => 'social_link_color'

    change to
    'sanitize_callback' => 'sanitize_hex_color'

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Theme Customiser – Header Social Options’ is closed to new replies.