reformat entry-title with two different styles

ok found out – added this to my content-page.php
maybe not nice, but works for now…

    <?php $pieces = explode(':', the_title( '', '', false ), 2 ); if (2 == count($pieces)) : ?>
        <h1 class="entry-title"><span><span style="font-size: 24px;"><?php print $pieces[0]; ?>: </span><span><?php print $pieces[1]; ?></span></span></h1>
    <?php else : ?>
        <h1 class="entry-title"><?php the_title(); ?></h1>
    <?php endif; ?>

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)