When Trellis is the active theme, you can find these settings by logging into your WordPress site and navigating to Appearance → Mediavine Trellis → Advanced

Enable Critical CSS

This substantially improves your site's performance by reducing the amount of CSS loaded on initial page view once the Critical CSS has been built by Trellis.

Critical CSS is generated for any above-the-fold content for each page visited on the site. A secondary CSS file will generate and be deferred for content below the fold.

If there are style rendering issues on the site, try disabling this setting first to see if Critical CSS is not being built correctly.

NOTE: Critical CSS is automatically bypassed for logged-in users. If you have Critical CSS enabled, you should also check the rendering of the site while logged out or in an incognito browser window.

Enable Stale CSS While Revalidating

Keep stale CSS files to be used instead of freshly generated files.

Google Analytics Tracking ID

Add your Google Analytics tracking ID to this field; Only the Google Analytics UA-XXXXXXXX-X tag is required. From there, we load the required scripts.

Using this setting is the most efficient way to add your Google Analytics tag, but be sure to remove the tag from other plugins to avoid duplicate tracking.

Delay Google Analytics Load

Toggling this setting will delay the initial Google Analytics tag load for 3 seconds. Visitors who leave your site within that time will not be tracked, but site performance will be improved.

If Google Analytics is showing up as a render blocking or unused JavaScript resource in Pagespeed Insights reports, enabling this setting will help.

Article Schema Type

This value is used to set the @type for a post's schema.

In the majority of cases, this should be set to the default of Article, even if it's a blog full of blog posts. Article is the parent schema type of BlogPosting.

JSON-LD Source

This setting will determine whether or not Trellis should output structured data for the site.

While Trellis has a built-in solution to output structured data, it's common for many bloggers to use a third-party solution like Yoast or All In One SEO. If you're using a third-party solution for your structured data output, this should probably be disabled.

Meta Description Source

Trellis and some third-party plugins output conflicting meta description tags on homepages and posts. If you're using a tool like Yoast, All in One SEO, or Rank Math SEO for your meta information, this should probably be disabled.

Enable Additional Image Sizes

With this setting enabled, Trellis will generate additional image sizes at the time of upload. These additional srcset image sizes will help improve performance across more devices.

If this setting is disabled, fewer image sizes will be generated at upload, which will save space on your server, but might also impact performance on some devices.

Enabling this option hides the Mediavine and Trellis footer links from the site.

Adds a personalized site copyright to footer.

This field supports HTML markup. The content will display full-width below the footer widgets.

CSS Allowlist

If you notice that some elements on the page are un-styled, or styled incorrectly, you can try adding the selectors to this setting. This is particularly useful if the selector exists in your stylesheet, but might be missing from your markup in some cases.

Force Critical CSS

If you notice that some below-the-fold elements on the page are un-styled, or styled incorrectly, you can try adding the selectors to this setting. This will force the selector into Critical CSS, even if it only exists below-the-fold.

Reset Settings (Permanent Action)

This button will reset all your Trellis settings, except for the license field.

If you want a fresh start on your Trellis configuration, clicking this button will set the theme back to the default settings. Proceed with caution.

Trellis Cache (Permanent Action)

This button will clear your Trellis cache. If you've recently updated the theme and you don't see expected new features or settings, try clearing this.

Did this answer your question?