Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #425836

    Hi,

    wie kann ich die Schriftart eines einzelnen Text-Blocks verändern?

    Folgendes klappt nicht:

    .text-font{ 
    font-family: 'lora';
    }

    LG

    #425948

    Hallo Crevlon!

    Please enable custom CSS field for ALB elements – http://kriesi.at/documentation/enfold/turn-on-custom-css-field-for-all-alb-elements/
    And give your element a custom class and then change the code to following

    .your-custom-classs * { font-family: 'lora'!important; }

    Regards,
    Yigit

    #426463

    Hey thank you! :)
    It works!

    Just for my unterstanding…for what is the “*”?

    Regards,
    Marco

    #426525

    Hey!

    You are welcome Marco!
    It is a ‘wildcard’, so that CSS code says “find ‘your-custom-class’ class and then apply ‘font-family: ‘lora” to every element inside ‘your-custom-class'” :)

    Best regards,
    Yigit

    #426584

    Ah perfect! Thank you for the info :)

    #426587

    Hey!

    You are welcome! Have a great weekend! :)

    Regards,
    Yigit

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Schriftart eines Text-Blocks verändern’ is closed to new replies.