Home>Support>Adjusting FitText effect

Adjusting FitText effect

Hi,

I was wondering if you have a custom css to change at what screen width FitText start taking effect? In my opinion the default value is set way too low and it has no effect until the screen is really small (around 500px I’m guessing?). It would be great for example in Hero to start reducing (usually) large text instead of stacking lines underneath each other.

Loving your work across the board btw, best WP tools by far.

Cheers
Tom

This is our free support forum. Replies can take several days. If you need fast email support, please purchase a SiteOrigin Premium license.

  1. 7 years, 5 months ago Alex S
    Hi, I Work Here

    Hi Tomaz,

    Unfortunately, this isn’t currently possible without some custom coding. I’ve marked this thread as a feature request. We often look through these threads to get ideas for what to add in our future updates. Hopefully, we’ll be able to add this in a future update.

    You may be able to do this by reapplying FitText after the fact. Here’s what we currently use and where we apply it. If you would like to replace this completely with a custom implementation, please add the following PHP to your website.

    function siteorigin_dequeue_fittext() {
    	wp_deregister_script( 'sow-fittext' );
    }
    add_action( 'wp_enqueue_scripts', 'siteorigin_dequeue_fittext', 20 );
    

    Please note that you’ll need to add the JavaScript via an alternative method.

Replies on this thread are closed. Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Get The Most Out of SiteOrigin with SiteOrigin Premium

Find Out More