Displaying a light weight font in the search results

Home Forums Product Support Forums Ajax Search Pro for WordPress Support Displaying a light weight font in the search results

This topic contains 5 replies, has 2 voices, and was last updated by Ernest Marcinko Ernest Marcinko 7 years ago.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #12622
    kamaltyagi
    kamaltyagi
    Participant

    In the ‘Typography’ tab of the ‘Theme options’ section, you provide options for to display text in ‘Normal’ or ‘Bold’. My standard typographical system on my site used a light weight font face (300 weight). So, I was wondering if there is any css snipet or other means I could apply to enable the text in the results panels to appear in light. Specially, the ‘Results title link font’ and ‘Show more results’ I would like to adjust first and foremost.

    Thanks again for your kind attention.

    #12630
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Hi!

    In case you want to apply it for every font regarding ajax search pro, use this custom CSS:

    .ajaxsearchpro, .ajaxsearchpro * {
        font-weight: 300 !important;
    }

    If you need it only for specific elements, let me know, and I will forge a different custom CSS for you.

    Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


    #12637
    kamaltyagi
    kamaltyagi
    Participant

    I tested the CSS you sent and it works, but I would like CSS specifically to change the ‘Results title link font’ and ‘Show more results’ text.

    Thanks for your time.

    #12644
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Hi,

    In that case, you only need this one:

    a.asp_res_url, p.showmore, p.showmore * {
        font-weight: 300 !important;
    }
    Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


    #12646
    kamaltyagi
    kamaltyagi
    Participant

    Yes, this worked perfectly.

    Please go ahead and close the ticket. I don’t think now I will need any other particular texts in light.

    Much appreciated.

    #12647
    Ernest Marcinko
    Ernest Marcinko
    Keymaster
    You cannot access this content. Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


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

The topic ‘Displaying a light weight font in the search results’ is closed to new replies.