Codium Extend
[resolved] How to change the text color for the search bar and contact form fields (3 posts)

  1. Daevu
    Posted 2 years ago #

    Does someone know how to change the color of the text, which appears if you write something in the search box or any other form fields? At the moment it's grey and I would like to have it black.

    There's a guide under the following link. However, I couldn't find the mentioned pieces of code which you have to change. It seems like it needs to be done differently for every theme, or maybe the guide is outdated.

    I would like to know how to do it for "Codium Extend" theme.

  2. Luke Rumley
    Posted 2 years ago #

    Yes, it is different per theme. You want to edit your style.css file, but you need to know what to style, which is dictated by the HTML. I often use the Chrome web browser and right-click on the form element I want to style to find out what classes or IDs are applied to it.

    You can then search for those classes or generic form elements like "input," "textarea," etc and change "color: #777" or whatever it is to "color: #000;" for black.

  3. Daevu
    Posted 2 years ago #

    Thank you very much Luke. That helped a lot.

    The inspector feature of firefox is a cool tool aswell, which let's you find out more about elements. It can be found in the Tools/Web Developer menu.

    However, the code I was looking for is located in the line 233 in styles.css

    #wrapper form input[type="text"]{border:1px solid #d1d1d1;background:#fafafa;color:#666

    666 represents the default color (grey), and I changed it to 111 (dark grey).

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic