Okay
  Public Ticket #1987021
font size
Closed

Comments

  • cyriellesalient started the conversation

    Hi there, 

    How can you change the font size for a specific element? 

    I'd like to change the font size of a bloc text but not all of them. I tried to add an html element including <font size="0">text</font> but it's not working.

    Cheers

  •   Andrew replied privately
  • cyriellesalient replied

    Sure thing

    https://ambroisemassages.com/massages-en-entreprise/

    https://ambroisemassages.com/massages-individuels/

    https://ambroisemassages.com/a-propos/

    At the bottom of each page there is a two lines text saying  "Les prestations n’ont aucun but thérapeutique et en raison de leur nature, ne s’apparentent en rien, ni dans les contenus ni dans les objectifs, à la pratique de lamasso-kinésithérapie, ainsi qu’à toute pratique médicale."

    I'd like to have this specific text in a smaller font size.

    Cheers

    Cyrielle


  •  8,994
    Tahir replied

    Hey Again,

    Simply add a extra class to those rows and use below css: 

    Add this into the Custom CSS box located in your Salient Options panel (All custom css provided is tested in the Live Browser so it will work as intended . If you cant see any changes make sure there is no red cross in the Custom CSS Box as that syntax error would cause all css below it to not show up on the Frontend):

    .row-extra-class p {
        font-size: 12px !important;
    }

    Thanks



    ThemeNectar Support Team 

  •   cyriellesalient replied privately