Change font in Popup

124
8
10-21-2020 06:22 PM
Highlighted
New Contributor III

Hi all,

Hope find you all well,

In database i have Unicode characters in Georgian, now in some fields of popup i want to have English characters, i change fonts using CSS, but it is for global use, for every layers Popup.

E.g in second field of popup for Canals i have name like : "არხი" (in Georgian) and for Holes i have dimensions like L5/H10( length and Hight), but when i change font using CSS for name it works, but for dimensions it shows like L and H in Georgian letters.

Any idea and easy way how to it?

Thanks,

Stay all well

Reply
0 Kudos
8 Replies
Highlighted
Regular Contributor

Vakhtang - Are you working with Web AppBuilder or are you creating a standalone web application using the Javascript API?

Reply
0 Kudos
Highlighted
New Contributor III

Arne,

i am working with javascript API

Reply
0 Kudos
Highlighted
Regular Contributor

Take a look at this article on how to style popups using CSS. Making Your Pop-up Pop! 

It shows example like this.

.esriPopup.modernGrey {

font-size: 12px;

}
Reply
0 Kudos
Highlighted
Regular Contributor

The article is pretty old but there is more general info on this page as well:

Popup | ArcGIS API for JavaScript 3.34 if you're suing 3.x.

Reply
0 Kudos
Highlighted
New Contributor III

Dear Arne,

I have used these, but it cahanges popup info for all the popups on map, i

need to change only one popup not all.

See pic. i want to change font for first fieldNam: "Number_Ent", but only

for this layer's popup not forr other layers.

Reply
0 Kudos
Highlighted
New Contributor III

Robert Scheitlin, GISP‌ any sugesstion? 

Reply
0 Kudos
Highlighted
MVP Esteemed Contributor

Not on this subject.

Reply
0 Kudos
Highlighted
Regular Contributor

Never tried any of this but here is more on customization...

Customize popup | Guide | ArcGIS API for JavaScript 3.34 

Reply
0 Kudos