Last active
December 22, 2015 10:48
-
-
Save vdchristelle/6461170 to your computer and use it in GitHub Desktop.
Ability to set linebreak in $h1_title
Titel splitsen
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<h1><?php print str_replace('[', '<span>', str_replace(']', '</span>', $h1_title)); ?></h1> | |
of <h1><?php print str_replace(array('[', ']'), array('<span>', '</span>'), $h1_title); ?></h1> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
h1 span { | |
clear: both; | |
display: block; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment