This question is not about WordPress but about css. Actually there even is a straightforward solution, because css-3 has an attribute called unicode-range
, which allows you to load fonts based on the character set. For Tamil the unicode block is U+0B02..U+0BCD. So, if you have the english font as a standard you can easily change the font to Tamil whenever appropriate like this:
@font-face {
font-family: 'NovaSansTamil';
src: url('novasanstamil.woff') format('woff'); /* full url to font needed */
unicode-range: U+0B02-CD;
}
Beware that browser support is not yet universal for this feature.
Related Posts:
- Failed to decode downloaded font
- Set line height in Html
to make the html looks like a office word when
has different font sizes
- font-weight is not working properly?
- @font-face doesn’t work
- How to add custom fonts in WordPress site
- Where Do I Find The Astra Default Font Family That All Text Elements Are Inheriting From? [closed]
- How would one set or override a Fallback font for characters in second language?
- I have a wordpress website which uses a really weird font on Opera. What do I need to do to fix it?
- Font .woff files loaded don’t correspond to the displayed styles [closed]
- When changing theme’s font, why does font-size attribute not work? [duplicate]
- Fonts are not applying
- Fonts are parsed in one way but rendered in a different way
- Custom font isn’t active on all PCs
- CSS Font Border?
- How to change btn color in Bootstrap
- force footer on bottom on pages with little content
- Dynamically change color to lighter or darker by percentage CSS
- How do I right align div elements?
- CSS “margin: 0 auto” not centering
- What is the difference between “screen” and “only screen” in media queries?
- How to have an anim gif on a link and play it on hover and reset
- Bootstrap align navbar items to the right
- Detect if a browser in a mobile device (iOS/Android phone/tablet) is used
- Using font awesome in codepen
- using media queries with LESS
- How can I apply styles to multiple classes at once?
- How to get multiple images to auto resize and stay centered within a div
- CSS rotation cross browser with jquery.animate()
- How can I center
- into a div?
- How to specify a class added to my gallery
- How to add a “last” class to the last post in loop.php?
- How do i use fontawesome icons in TinyMce editor?
- Assign title-specific class to list items in menu based on WP pages
- WordPress – https : Css and Js files are not working (load on http instead of https)
- Load custom css after bootstrap
- Highlighting the current page in a navigation menu which links are generated with a custom loop?
- If I dequeue Gutenberg Stylesheet will that have any effect on WordPress 5.0.1?
- How to center a video [closed]
- Remove WordPress/Gutenberg button styles for ACF blocks
- Relative path instead of absolute for wp_enqueue_script
- Remove sticky behavior from top navigation on twenty fourteen theme?
- Include CSS with PHP without including wp-load?
- Loading different stylesheet on WordPress pages?
- Redoing home page but changes not taking effect
- How to create a custom CSS class for a specific page template?
- Gallery CSS Problem
- Older isotope portfolio rows shifting downward by 1 pixel on hover
- Shrink Header Image on Scroll
- Correct way to output styles gathered from theme or plugin settings?
- Remove extra white space bellow and above product short description in storefront woocommerce
- Inline Style attribute getting stripped off
- What does generate .less file? [closed]
- Can’t Display Table Headers in Responsive table layout
- Edit css for search results page
- Load jQuery only on home page
- how to hide submenus for the not active pages
- Why is the CSS horizontal alignment for divs inside div container not displayed in my WP Theme?
- Changing blog style [closed]
- node.js and webpack throws error when trying to setup node to watch theme folder for saved changes
- How to remove Author and Category from a single portfolio page? [closed]
- why is my paypal button not clicable [closed]
- How to access theme fonts using custom CSS style? [closed]
- How can I selectively insert a header for my shop page in woocommerce? [closed]
- WordPress Caption Formatting
- Change the search icon in twenty fourteen
- styling isnot working in wordpress theme
- Using True Type Fonts (ttf) [closed]
- Child Theme style.css changes aren’t showing. Parent “style-less.css” over rides it, and won’t update
- The Global Styles missing
- Broken css on mobile phones only on https
- WordPress CSS completely broken on IIS
- Trying to hide HENTRY (Author Meta Data) from a Post ID
- Probleme d’emplacement
- Getting and setting CSS variables with JQuery in WordPress backend fails
- Theme: Twentynineteen // How to exclude cookie-control triangle and star svg from being overwridden by theme css “svg { fill: currentColor; }”
- CSS does not Update
- Need help removing block of white space between footer widgets and footer [closed]
- How to make a sidebar form show at the top of page on mobile?
- Navigation menu disappears when I hover the mouse [closed]
- Logo Keeps Changing to the Default for Transparent Settings
- Custom Plugin CSS: Can’t update them!
- Head section of the wordpress blog
- Altering the design of WooCommerce notifications [closed]
- How can I add this specific link hover effect to a WP site? [closed]
- Making a custom CSS per mobile
- Pages in another language
- Using a style sheet for modern browsers and another for older browsers
- How to insert a clickable and fixed background [duplicate]
- Use of CSS classes in editor-blocks.css file
- Problems when writing a post
- Will the following code make my css deal with images in the optimum way?
- Interactive maps in wordpress
- How to add input search field with roudned corners?
- s2member captcha how to make responsive – css or javascript
- WordPress CSS not working properly
- Add Custom CSS Class in Child Theme [closed]
- Min height of page [closed]
- Remove / Disable default custom.css?ver=1.0.0
- How to remove class=”wp-block-heading” from Heading tags?
- Website is not showing updated CSS