• Hi, I would like to know how to change the font size and font color of the search box input? I tried multiple css classes, but could not get it to work.

    Thanks!

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author wpdreams

    (@wpdreams)

    Hi!

    Try this custom CSS:

    #ajaxsearchlite1.asl_m .probox .proinput input.orig {
        font-size: 18px;
        color: red !important;
    }
    #ajaxsearchlite1.asl_m .probox .proinput input.orig::placeholder {
        font-size: 18px;
        color: red !important;    
    }

    Best regards,
    Ernest M.

    Thread Starter marv2

    (@marv2)

    Thanks! That worked perfectly!

    One more thing: I would like to also change the font size and color of the search results, and I would like to center (vertically, not horizontally like align-text:center) the text in the box. All I need in the search results is the featured image and post title. Is this possible?

    Thanks!

    • This reply was modified 6 years, 7 months ago by marv2.
    • This reply was modified 6 years, 7 months ago by marv2.

    I’ve been using custom CSS, too. But couldn’t those parameters be configured inside the plugin configs?

    I was intending to remove the Custom CSS plugin ??

    Tnx

    Plugin Author wpdreams

    (@wpdreams)

    Hi Marv,

    Try this custom CSS:

    a.asl_res_url {
        display: inline-block;
        vertical-align: middle;
        line-height: 70px !important;
    }
    
    p.asl_desc {
        display: none !important;
    }

    This should result in this: https://i.imgur.com/ESZHhse.png

    I hope this helps!

    Best regards,
    Ernest M.

    Thread Starter marv2

    (@marv2)

    Thanks!
    How hard would it be to put a posts custom taxonomy in the results?

    Plugin Author wpdreams

    (@wpdreams)

    Hi,

    You mean like taxonomy terms (like categories) as results? That would be extremely hard within this version. The Pro version however supports returning taxonomy terms as results, if you are interested in that.

    Best,
    Ernest M.

    Thread Starter marv2

    (@marv2)

    Thank you!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘How to change font size and font color of the search box input’ is closed to new replies.