Okay
  Public Ticket #405480
Different font sizes for paragraphs
Closed

Comments

  • VINCENT started the conversation

    Hello,

    I'd like to know if it's possible to have different font sizes in different paragraphs ?

    using the CSS table ? but which code do i have to write there ?


    Thanks :)

  •  8,849
    Tahir replied

    Hey,

    You will likely have to write custom css .

    Thanks


    ThemeNectar Support Team 

  • VINCENT replied

    Thank you Tahir,

    What kind of CSS code should I write ?

  •  8,849
    Tahir replied

    You can write inline css on the p tags like this <p style="font-size:1.5em;" > .

    Thanks


    ThemeNectar Support Team 

  • VINCENT replied

    Thanks,

    but it's not working for me, i might be doing something wrong.


    I copy paste it in the CSS tab of the text editor, i save it. And then when i come back to check, the code has disapear...

  • VINCENT replied

    Maybe i did not explain well, I want to change the font size in a paragraph which is in a columns.

    I do not want to use the salient menu for it, because i would like to have different font sizes in different paragraphs.

    For the moment i tried to copy paste <p style="font-size:1.5em;" > in the text editor in the CSS table. But it's not working.


    What am I doing wrong ?

    Thanks a lot.

  •  8,849
    Tahir replied

    Hey Again,

    If you are using columns add a extra class in it and then use this custom css .

    Add this into the Custom CSS box located in your Salient Options panel (Make Sure there are no red cross in the Box) :
    .columnclass p{font-size:1.5em !important;}

    Thanks


    ThemeNectar Support Team