To insert code use <code>...</code>.
Custom colour of letters in contact form
  • Hi Kaptinlin,

    First of all: great theme! Short question: I have made my website with black background. I added contact forms over the website with the contact form widget & via shortcode on a page (contact). However: default text colour of the text within the contact form is also black. So I don't see the things I write in the contact form now. How can I change the text colour used within the Contact Form widget & the contact form shortcode (from black to white)?

    Thanks in advance for your help!
    Kind regards,
    Barend
    P.S. See contact form how it is now on http://www.locus-heerema.nl/contact/
  • 1 Comment sorted by
  • Hi Barend,
    You can edit on 'striking/framework/shortcodes/widgets.php'

    Locate line 32,

    change <p><button type="submit" class="button white"><span>{$submit_str}</span></button></p>

    to

    <p><button type="submit" class="button" style="background-color:#ffffff"><span style="color:#000000;">{$submit_str}</span></button></p>


    Then edit on 'striking/framework/widgets/contactform.php'

    Locate line 45

    change the code <p><button type="submit" class="button white"><span><?php _e('Submit', 'striking_front'); ?></span></button></p>

    To

    <p><button type="submit" class="button" style="background-color:#ffffff"><span style="color:#000000;"><?php _e('Submit', 'striking_front'); ?></span></button></p>


    Regards,
    KaptinLin