This topic has 13 replies, 5 voices, and was last updated 10 years by metalmick.

  • Author
  • #4995
     joeldecker
    Participant

    Is there a way to alter the background color of the horizontal search fields
    on the members page? Can it be done using Quick css? Or would it have to be
    through adding code to the sweetdate-child folder/file?
    Thanks

    #4997
     adam
    Participant

    Add this to quick CSS and change background to any color you like:

    #search-bar {
    background: #FFFFFF;
    }

    #5025
     joeldecker
    Participant

    Sorry, maybe I wasn’t too clear.
    I meant the background of the form fields.
    That changes the background behind the fields.
    Thanks for your help.

    #5048
     SQadmin
    Keymaster

    If you mean the dropdown fields:

    COPY CODE
    
    form.custom div.custom.dropdown ul li.selected {
        background: none repeat scroll 0 0 #CDEBF5;
        color: #000000;
    }
    form.custom div.custom.dropdown ul li {
        background: #ffffff;
        color: #555555;
    }
    .form-search.custom div.custom.dropdown a.current {
        background-color: #FFFFFF;
        border: 1px solid #DDDDDD;
        color: #141414;
    }
    
    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #5066
     joeldecker
    Participant

    Thanks @sqadmin and @adam for the response. That helps, but I’m looking for specifically the background of the form fields before they are selected, as they appear on the page. Currently they are white.

    #5097
     SQadmin
    Keymaster

    I changed the code for that background. see if it helps

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #5099
     joeldecker
    Participant

    Thanks @sqadmin,
    the background is still white though, and now the other changes stopped working. Any
    other ideas? I’m adding this in Quick css, that ok?

    #5170
     SQadmin
    Keymaster

    And you changed the background color from #ffffff to your color?

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #5217
     joeldecker
    Participant

    Yes. Here’s what I have for the code (below). It changes the drop down fields to the right color while being scrolled down through, but not the background color of the top fields. I want to also change the color of the fields just as they are sitting on the page. Maybe that has to stay white though and I didn’t realize that. No problem if so.

    form.custom div.custom.dropdown ul li.selected {
    background: none repeat scroll 0 0 #333333;
    color: #333333;
    }
    form.custom div.custom.dropdown ul li {
    background: #c9c8c6;
    color: #555555;
    }
    form.custom div.custom.dropdown a.current {
    background-color: #c9c8c6;
    border: 1px solid #DDDDDD;
    color: #141414;
    }

    #5267
     SQadmin
    Keymaster

    Well this way it works. Strange 🙂

    COPY CODE
    
    form.custom div.custom.dropdown ul li.selected {
    background: none repeat scroll 0 0 #333333;
    color: #333333;
    }
    form.custom div.custom.dropdown ul li {
    background: #c9c8c6;
    color: #555555;
    }
    .form-search.custom div.custom.dropdown a.current{
    background-color: #c9c8c6;
    border: 1px solid #DDDDDD;
    color: #141414;
    }
    
    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #5368
     joeldecker
    Participant

    Nice 🙂
    Thank you so much!

    #5412
     willianlima83
    Participant

    This function is very good…

    #16766
     metalmick
    Participant

    Could a similar code to

    #search-bar {
    background: #FFFFFF;
    }

    be entered in the css box to allow an image in my media files to be used instead of a plain colour?

    #16816
     metalmick
    Participant

    Sorted! Used: {background-image:url(“paper.gif”);} 🙂

Viewing 14 posts - 1 through 14 (of 14 total)

The topic ‘Horizontal Search Field Bacground Color’ is closed to new replies.

Log in with your credentials

Forgot your details?