Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › System fonts
This topic contains 7 replies, has 2 voices, and was last updated by Ernest Marcinko 1 year, 11 months ago.
- AuthorPosts
- April 8, 2021 at 2:43 pm #32616
Hi there,
on my whole website I am using “system fonts” and I also would like to set this fonts style for Ajax Search Pro. In the styling options I did not see any possibility to make the change.
Could you please help me out or provide custom CSS code for system fonts for Ajax search pro?
Thanks,
CaioApril 9, 2021 at 8:42 am #32629Hi,
You can enter custom fonts to the typography here: https://i.imgur.com/rsycD65.png
For simplicity, you can also use a custom CSS to force fonts across all of the plugin elements:
Best,.asp_w, asp_w * { font-family: 'My font' !important; }
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
April 13, 2021 at 2:04 pm #32690Hi Ernest,
I use the following code in custom CSS to have system fonts on my website:
body {font-family: -apple-system, system-ui, BlinkMacSystemFont, “Segoe UI”, Helvetica, Arial, sans-serif, “Apple Color Emoji”, “Segoe UI Emoji”, “Segoe UI Symbol”;}
h1,h2,h3,h4,h5,h6 {font-family:-apple-system, system-ui, BlinkMacSystemFont, “Segoe UI”, Helvetica, Arial, sans-serif, “Apple Color Emoji”, “Segoe UI Emoji”, “Segoe UI Symbol”;}I used the custom CSS you provided but it does not appear to work for my search bars.
For the method you sent in the screenshot: What should I insert instead of “Your font name”?
Thanks,
CaioApril 14, 2021 at 10:05 am #32702Hi,
Those custom CSS rules are not specific enough to override the plugin fonts. Based on your custom CSS, try this:
Best,.asp_w, asp_w * { font-family:-apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol" !important; }
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
April 14, 2021 at 10:46 am #32703Hi,
just tried it but for some reason it is stil not working. 🙁
Could you please check again?
Thanks,
CaioApril 14, 2021 at 11:43 am #32704Sorry, I made a mistake there:
Best,.asp_w, .asp_w *, .asp-try * { font-family: -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol" !important; }
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
April 14, 2021 at 12:13 pm #32705Works! Thank you!
April 14, 2021 at 12:18 pm #32707You cannot access this content. Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
- AuthorPosts
You must be logged in to reply to this topic.