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

edit t taxonomies search bar

Home Forums Product Support Forums Ajax Search Pro for WordPress Support edit t taxonomies search bar

Viewing 15 posts - 1 through 15 (of 15 total)
  • Author
    Posts
  • #48550
    mariomario
    Participant

    How to change the style of the taxonomies search bar?

    #48558
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Hi,

    It’s inherited from the theme (usually the same as browser style). Drop-down styles are mostly not possible to change, but if you can add a relevan URL and let me know what you want to change exactly, I might be able to suggest some custom CSS for you.

    #48561
    mariomario
    Participant

    Is it possible to simply round the corners like in the bar above?

    #48570
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Depends on the exact layout – but it might be doable. Can you share a URL where I can see it? I will have to construct the custom CSS rules based on the exact implementation.

    #48571
    mariomario
    Participant

    here is the link https://olpiru.it/ , thank you very much

    #48576
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Thanks!

    Use this custom CSS for that:

    .asp_select2-selection {
        border-radius: 30px !important;
    }
    #48581
    mariomario
    Participant

    Thank you, should I insert the css code in a section of the plugin or within my theme files?

    #48586
    Ernest MarcinkoErnest Marcinko
    Keymaster

    You are welcome!

    Whatever works better for you. If your theme does not have a custom CSS box, then use the custom CSS input here.

    #48589
    mariomario
    Participant

    Hi, I tried with the css code inside the theme and inside the section you indicated, but I don’t notice a difference in the bar that says “Località”, could it be an incompatibility with the theme or something else?

    • This reply was modified 1 year, 11 months ago by mario.
    #48596
    Ernest MarcinkoErnest Marcinko
    Keymaster

    My bad, I copy pasted the wrong rule, this is it:

    .asp_select2-selection,
    .asp_select2 {
        border-radius: 30px !important;
    }
    #48601
    mariomario
    Participant

    Perfect, thank you very much, it works great now. Since you are so kind, could you also give me a code to change color? yellow…

    #48602
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Sure!

    Just change the previous code to this:

    .asp_select2-selection,
    .asp_select2 {
        border-radius: 30px !important;
        background: #db782c !important;
    }
    #48603
    mariomario
    Participant

    thank you so much, it’s perfect

    #48604
    Ernest MarcinkoErnest Marcinko
    Keymaster

    You cannot access this content.

    #48605
    mariomario
    Participant

    I will do it

Viewing 15 posts - 1 through 15 (of 15 total)
  • You must be logged in to reply to this topic.