• Goldio

    (@goldio123)


    For some reason, none of the multilingual plugins I have seen so far supports changing fonts of specific paragraphs in a secondary language
    If it supports changing a font in secondary languages at all, which is overall disappointing

    Does anyone know how to do it or a plugin that allows you to do so?
    I am considering duplicating and creating a set of pages for each language

    • This topic was modified 1 day, 6 hours ago by Goldio.
    • This topic was modified 1 day, 6 hours ago by Goldio.
Viewing 1 replies (of 1 total)
  • You can customize CSS to apply different font settings to specific paragraphs.
    For example, if the language paragraphs are as follows:

    <p spec-font="first">This is the First paragraph.</p>
    <p spec-font="second">This is the Second paragraph.</p>
    

    The CSS can be set as:

    p[spec-font="first"] {
        font-family: "Arial", sans-serif;
    }
    
    p[spec-font="second"] {
        font-family: "Noto Sans CJK", sans-serif;
    }
    
Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.