Tagged: ,

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #153385
    crichmond
    Participant

    Hi, I’m somewhat familiar with WordPress, also somewhat familiar with CSS.
    My website has a search field who’s background is white.
    I’m attempting to change the color by adding custom css.
    but nothing seems to work.
    Any advice? help? etcetera?

    Chris

    #153397
    sapana
    Participant

    @crichmond:Go to=> Appearance=> Customize=> Additional CSS and add the following CSS code.

    #search-container {
        background-color:#000000!important;
    }

    Let me know if it works or not! and please send me your site Url too.
    Kind Regards,
    Sapana

    #153522
    crichmond
    Participant

    what is the !important for?

    #153606
    sapana
    Participant

    @crichmond:
    “!important” rule is used for overriding the previously assigned CSS declarations.

    Kind Regards,
    Sapana

    #153636
    crichmond
    Participant

    thanks, that is helpful.

    #153719
    sapana
    Participant

    @crichmond: Hello, I hope I was able to resolve your issue. If it’s not too much trouble,I have a quick request: could you please leave an honest review?
    https://wordpress.org/support/theme/catch-box/reviews/#new-post
    Your review will help others know what to expect when they’re looking for the support I offer. Even a sentence or two would be hugely appreciated. Thanks, and if there’s anything else at all that I can do to help, don’t hesitate to let me know. Have a good day! 🙂

    Kind Regards,
    Sapana

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘applying custom css to change search field’ is closed to new replies.