Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

131
Views
Setting a specific character to another font set for page rendering at runtime

My Client is using a font on the web that doesn't have a character "+" in it. I have a product that is called Clean + Fresh on an e-commerce website, and I can see that when inspecting the element the "+" is loading correctly. The problem is the font that doesn't have this character.

Instead I get "Clean 1 Fresh" rendering on a page.

Is there any way that a piece of code can detect for a PLUS sign in a specific CSS class, and then replace that character with another font that contains that character - for example Arial.

Here is an example of the product CSS entry:

<h1 itemprop="name" class="product_title entry-title">Clean + Fresh </h1>

Thank you for your help.

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

This is easily solved by wrapping the plus sign in a span, and defining a standard font-family for it.

h1 {
  font-family: cursive;
}

span.plus {
  font-family: Arial, Helvetica, sans-serif;
}
<h1 itemprop="name" class="product_title entry-title">Clean <span class="plus">+</span> Fresh </h1>

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!