Tagged: ampersand
Hi
I am using the new demo Parallax, beautiful by the way..
But how did you create the & (ampersand) in the different colour and font?
See the homepage on top, special heading
I like this and want to replicate this
[In the backend I could not find anything special that clearifies this for me]
Well this is correlated to a class that is set automatically on ampersand character.
the class is set to:
.special_amp {
font-family: "Baskerville", "Palatino Linotype", "Palatino", "Times New Roman", serif;
font-style: italic;
font-size: 1.3em;
line-height: 0.5em;
font-weight: normal;
color: inherit;
}
but that function is on functions-enfold.php line 970ff : avia_ampersand
so if in content an ampersand is set it will be changed to : <span class='special_amp'>&</span>
Hi,
All you need to do is to add the ampersand character in a Special Heading element, the rest will be done for you: https://wpexpert.se/enfold/special-ampersand/
Thanks @guenni007 for helping out :-)
Best regards,
Rikard