Tagged: 

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #1366603

    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]

    • This topic was modified 2 years, 2 months ago by JannyPolak.
    • This topic was modified 2 years, 2 months ago by JannyPolak.
    #1366624

    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>

    #1366629

    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

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.