Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    Regular Coder
    Join Date
    Sep 2011
    Posts
    265
    Thanks
    49
    Thanked 1 Time in 1 Post

    FitText implementation not working.

    This site is attempting to use FitText to scale the headline "40 YEARS OF SUCCESS".

    I can't see what is wrong with the implementation.

    It is not working.

    Can some one please help me identify what is wrong?

    Thank you.

  • #2
    Supreme Master coder! Old Pedant's Avatar
    Join Date
    Feb 2009
    Posts
    25,901
    Thanks
    79
    Thanked 4,423 Times in 4,388 Posts
    It appears to be the padding-left. For some reason, it's much larger than it needs to be. (That is, FitText appears to making it too large for some reason.)

    Think you'll need to ask the authors.
    An optimist sees the glass as half full.
    A pessimist sees the glass as half empty.
    A realist drinks it no matter how much there is.

  • #3
    Regular Coder
    Join Date
    Sep 2011
    Posts
    265
    Thanks
    49
    Thanked 1 Time in 1 Post
    The padding only controls the position of the h2 element - I added it myself.

    Removing the padding does not make the h2 element resize when the window resizes.

    I have asked the authors for support, and their support is limited to providing examples, which I have followed to the letter as far as I can see.

  • #4
    Supreme Master coder! Old Pedant's Avatar
    Join Date
    Feb 2009
    Posts
    25,901
    Thanks
    79
    Thanked 4,423 Times in 4,388 Posts
    Ahhh...sorry. I don't see it then.
    An optimist sees the glass as half full.
    A pessimist sees the glass as half empty.
    A realist drinks it no matter how much there is.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •