• Resolved nauti1us

    (@nauti1us)


    Hi there – Loving the Go theme I’m using on a site for a friend, but have some color issues, which I think are all related – hopefully somebody can help?

    – the drop down menus are all white, as is the text within them, so you can’t read anything. How can I change the drop down color and associated font colors so I can find a combo that looks good?

    – when selecting text on the site, everything selected is whited out, almost like it’s been redacted, can this be changed?

    – when typing text into the search field, or entering text in other forms (contact us/newsroom posts), you can’t read what’s being typed, as it’s white on white. Also, the search icon is whited out when the search function is being used. I was hoping the text could be dark grey/black?

    – when in the newsroom tab and making a comment on a post, the ‘post comment’ button is whited out, until you hover over it; ideally I’d like it to be the same blue color all the time (as in the contact form)

    Sorry it’s a bit of a list…
    Thanks!

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

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hello @nauti1us,

    Thank you for reaching out. I hope you’re doing well ??

    1. You can change the color of the dropdown links by using the following CSS code:

    .primary-menu .sub-menu a
    {
      color: #11a5df;
    }

    Feel free to change the color, I chose the one I find most suitable ??

    2. Yes, it can be changed. You can use the following CSS code:

    ::selection
    {
      background: black;
    }

    Again, feel free to change the black color to any other color you’d like.

    3. You can change the color of the inputs by using the following CSS code:

    input, textarea
    {
      color: black;
    }

    Also, I noticed that the arrow for search box is also white, I advise correcting this by using the following CSS code:

    #searchform > button > svg
    {
      fill: black;
    }
    #searchform > button > svg:hover
    {
      fill: black !important;
    }

    4. This one has been fixed in the point 3. ??

    Here’s the CSS code altogether:

    .primary-menu .sub-menu a
    {
      color: #11a5df;
    }
    ::selection
    {
      background: black;
    }
    input, textarea
    {
      color: black;
    }
    #searchform > button > svg
    {
      fill: black;
    }
    #searchform > button > svg:hover
    {
      fill: black !important;
    }

    You can copy it and add it to your Theme Customizer (Appearance -> Customizer -> Additional CSS).

    Let me know if this worked for you. Have a wonderful day.

    Best Regards,
    Pavle

    • This reply was modified 4 years, 4 months ago by gdpavle.
    Thread Starter nauti1us

    (@nauti1us)

    Hi Pavle – thanks so much for looking into this – most of the issues are fixed but 2 remain outstanding:

    When typing into the search bar, the text still isn’t readable, although when you highlight it, you can now see what you typed.

    Same goes for adding a comment to a post or using the contact form – when you type in the box, you can’t see anything, but when you click off the active part, the text becomes readable.

    The ‘post comment’ button is still white, until it’s hovered over. I’ve tried to attach screengrabs to show this and the code as pasted in.

    Screen-Shot-2020-07-05-at-10-07-22-AM

    Screen-Shot-2020-07-05-at-10-12-33-AM

    Thread Starter nauti1us

    (@nauti1us)

    Hi Pavle – I’ve done some googling and the addition of the following CSS appears to have fixed the text color, but only in the following 2 places:

    – Contact us form > Message field (no the other fields)
    – Newsroom > Comment form > Comment field (no other fields)

    input, select, textarea{
    color: black;
    }
    textarea:focus, input:focus {
    color: black;
    }

    …So the current CSS code looks like this – am I on the right path here? Thanks

    .primary-menu .sub-menu a
    {
      color: #11a5df;
    }
    input, select, textarea{
        color: black;
    }
    textarea:focus, input:focus {
        color: black;
    }
    ::selection
    {
      background: black;
    }
    input, textarea
    {
      color: black;
    }
    #searchform > button > svg
    {
      fill: black;
    }
    #searchform > button > svg:hover
    {
      fill: black !important;
    }

    Hey @nauti1us,

    You can try adding the following CSS code to fix the search bar letters:

    #search-field
    {
      color: black;
    }

    This code should fix the contact form letters:

    #author, #email, #url, #wp-comment-cookies-consent, #comment
    {
      color: black;
    }
    #submit
    {
      background: hsl(221, 51%, 28%);
    }

    Please let me know if this worked for you. ??

    Best Regards,
    Pavle

    Thread Starter nauti1us

    (@nauti1us)

    Pavle – we’re good, thank you SO MUCH!

    The only field that wasn’t initially working was the name field in the contact form, so I added #name to the second batch of code above and it worked.

    #author, #name, #email, #url, #wp-comment-cookies-consent, #comment
    {
      color: black;
    }

    Again, I appreciate all the help!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘A few (related?) color issues’ is closed to new replies.