This website uses cookies to personalize your experience. By using this website you agree to our cookie policy.

Select Field Styling

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #52591
    rawmixrawmix
    Participant

    Hi there,

    I like to check if changing the arrow on the select field is possible. I’m trying to make the whole site to have a consistent look for the the form field.

    Thank you.
    Din

    #52600
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Hi,

    Well, the only I was able to find is from this stack overflow thread. Basically this custom CSS:

    .asp_ss select {
        background: url("data:image/svg+xml,<svg height='10px' width='10px' viewBox='0 0 16 16' fill='%23000000' xmlns='http://www.w3.org/2000/svg'><path d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/></svg>") no-repeat !important;
        background-position: calc(100% - 0.75rem) center !important;
        appearance: none !important;
    }

    It should yield a very similar output to what you are looking for.

    #52602
    rawmixrawmix
    Participant

    Thank you very much. It works well as I expected.

    #52603
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Great 🙂

    If you don’t mind, I will close this topic soon and mark it as resolved, feel free to open another one if you have other questions or issues.

    If you like the plugin and have not rated already, feel free to leave a rating on the wordpress plugin repository, it’s greatly appreciated.

    #52604
    rawmixrawmix
    Participant

    Yes, you can close the ticket. Thank you. I will definitely leave a rating on the WordPress repository. Your search plugin is awesome. I’m glad I swapped the search to Ajax Search Pro. It frees up my database space significantly.

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Select Field Styling’ is closed to new replies.