Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #728704

    Hi,
    How can I decrease the font size just for one line or paragraph in a blog post?

    When I use images in my blog posts I would like to add photo credits underneath the image and I would like to do so with a smaller font.

    Thanks,
    Jon Erik

    #728766

    Hey Jon Erik,

    You can switch to text tab of editor and then wrap your text inside a span tag with custom class as following

    
    <span class="credit-span">Here goes my text</span>
    

    then Please try adding this code to the Quick CSS section under Enfold > General Styling or to your child themes style.css file:

    .credit-span { font-size: 10px; }
    

    Best regards,
    Yigit

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