• Resolved hackitzca

    (@hackitzca)


    I’m trying to change the color of the font in the boxes used to fill out the user info. i would like it black.
    I feel i’m adding the code in the wrong place, im using appearance, simple css.

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Contributor Chris Dillon

    (@cdillon27)

    Find a way to do your custom CSS without !important and things will go much smoother.

    Often you can simply increase the selector specificity to properly override the theme.

    Remove the important from this:

    body, button, input, select, textarea { color: #d8d8d8 !important;}

    and then this will work on the form:

    input[type=email], input[type=email]:focus, 
    input[type=text], input[type=text]:focus, 
    input[type=url], input[type=url]:focus, 
    textarea, textarea:focus {
        color: #000;
    }

    If you want to restrict that to the testimonial form, use this instead:

    .strong-form input[type=email], .strong-form input[type=email]:focus, 
    .strong-form input[type=text], .strong-form input[type=text]:focus, 
    .strong-form input[type=url], .strong-form input[type=url]:focus, 
    .strong-form textarea, .strong-form textarea:focus {
        color: #000;
    }
    Thread Starter hackitzca

    (@hackitzca)

    thanks so much, is there a page to explain what all the editable css fields are?
    id like to change the font color on the submit button and also change some of the font colors on the testimonials.

    Thread Starter hackitzca

    (@hackitzca)

    figured it out, found the page,
    https://support.strongplugins.com/article/custom-css-strong-testimonials/?src=wpmission

    added what i needed to the end of
    .strong-view.default .add css selector here
    changed this to the element i wanted to change the color of.

    I’d like to change the website link color but think thats tied to my base theme.

    • This reply was modified 6 years, 10 months ago by hackitzca.
    Plugin Contributor Chris Dillon

    (@cdillon27)

    Yes, both the form and the testimonials inherit most of their style from the theme.

    /* submit button */
    .strong-form input[type=submit], .strong-form input[type=submit]:hover {
        color: #000;
    }
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Custom css’ is closed to new replies.