Title font


I would like to change the title font and I have seen the topic called “How to change default Travelify font?”, but the font stays the same. I have also done a child theme.

I have change the file functions.php in library like this :
wp_register_style( ‘google_font_lobster2’, ‘http://fonts.googleapis.com/css?family=Lobster+Two:400,400italic,700,700italic’ );
wp_enqueue_style( ‘google_font_lobster2’ );

And I have add two lines in style.css :
#site-title {
font-size: 30px
font-family: ‘lobster2’, cursive;
line-height: 42px;
#site-title a {
color: #57ad68;
font-size: 30px
font-family: ‘lobster2’, cursive;
letter-spacing: -2px;

Could you help me ?

First part you have done right and you can check your website source to be double sure than URL to Google Fonts is present.

The CSS is the main problem here. You have named font wrong. It should be defined like this:

font-family: 'Lobster Two', cursive;