Skip to content
Feast Design Co.
  • Get the Feast Plugin
  • DocumentationExpand
    • Feast Plugin
    • Feast+
  • Open a Support Ticket
New to Feast? Start Here
Login/Account
Feast Design Co.

We recommend all sites migrate to our Kadence Themes.

Getting Started

4
  • Migrating to Feast
  • Staging Site
  • Kadence Tutorials
  • Sign Up For The Newsletter

Setup

14
  • Install Feast Plugin
  • Install Kadence
  • How to clear your cache
  • Favicon
  • Enable Recommended Settings
  • Enable Feast Layouts
  • Disable Trackbacks
  • Complete Site Info
  • Update Author Bio
  • Optimize Images
  • Clear Inactive Widgets
  • Review Tools
  • Plugin Audit
  • Clear Cache ‼️

Plugin Settings

23
  • 728px
  • Full width page
  • Subscribe button
  • Modern Search
  • Social Icons
  • Recipe Key
  • Widen recipe card on mobile
  • FAQ Toggle
  • AI Buttons
  • Post Template
  • Table of Contents
  • Post IDs
  • Google Trusted Source
  • Edit Leave a Reply
  • Disable Trackbacks
  • Modern Previous + Next
  • Posts per page
  • Breadcrumbs
  • Productivity
  • Smooth scrolling
  • Image unlink
  • Replace recipe card Jump To buttons
  • BETA

Block Editor 101

5
  • Block options
  • Block Editor
  • Block themes
  • Patterns
  • Why we don't support block-level styling

Blocks & Patterns

16
  • Buttons
  • Post Template
  • Numbered Lists
  • Table of Contents
  • Full Width Banner
  • Featured Recipe Pattern
  • Why we don't support block-level styling
  • Process Shots
  • Inline Heading Group Block
  • Step Instructions
  • Advanced "Jump To" Links
  • Reader Review
  • Feast Patterns
  • Displaying Post Blocks (FSRI)
  • Displaying Category Blocks (FSCI)
  • Scheduled Categories

Page Templates

3
  • Custom 404
  • How to use Categories
  • Shop page

Customize

10
  • Kadence Spacing
  • Customizer
  • Customizations
  • Reset Kadence Color Palette
  • Customization Referrals
  • Why we don't support block-level styling
  • Per Page CSS
  • Why you shouldn't make customizations
  • Custom CSS
  • Customization Support

Images

11
  • Post Images
  • Favicon
  • Default Image Size
  • Modern post image sizes
  • How thumbnails work
  • Modern Thumbnails (Featured Images)
  • Troubleshooting Featured Images
  • Displaying Post Blocks (FSRI)
  • Process Shots
  • Image Alt Tags
  • Why do my images look different in edit post and live?

Logo & Fonts

7
  • Retina Quality Logo
  • Flush Local Fonts Cache
  • Create your logo
  • Edit Body Font Size
  • Favicon
  • Fonts
  • Logo

Menu

1
  • Kadence Menu Background Image

Categories

3
  • Why Isn't the Category Description Appearing?
  • Displaying Category Blocks (FSCI)
  • How to use Categories

Recipes

7
  • Reviews
  • Recipe Key
  • Ingredients
  • Displaying Category Blocks (FSCI)
  • Displaying Post Blocks (FSRI)
  • Featured Recipe Pattern
  • All Recipes

Feast+

35
  • Setting Up Prebuilt Pages
  • What is Feast+?
  • Feast+ Setup
  • Design Kits
  • Feast+ Fonts
  • Feast+ FAQ
  • Feast+ Showcase
  • Feast+ Patterns
    • As seen in
    • Top Banner
    • Custom list styling
    • Numbered Lists
    • Full Width Banner
    • Feast+ Footer
    • Feast+ Call to Action
    • Icon Tip Boxes
    • As Seen In
    • Reader Review
  • Feast+ Pre-Built Pages
    • Setting Up Prebuilt Pages
    • Feast+ Homepage
    • Feast+ Index
    • Feast+ Category Pages
    • Social Landing Page (Link In Bio)
  • Feast+ Features
    • Full-Width Post Header
    • Custom List Styling
    • Colored Numbered Lists
    • Top 10 List Styling
    • Step Instructions
    • Heading Styling
    • Top of Site CTA Banner
    • Custom Background Pattern
  • Design Kits
    • Feast+ Design Kits (Members)
    • Feast+ Design Kit Library
    • Feast+ Design Kit Instructions
  • Branding & Design
    • Feast Fonts
    • Feast+ Branding & Design

Speed & SEO

25
  • Image Alt Tags
  • Speculative Loading
  • Google Trusted Source
  • Should I remove content?
  • 301 Redirects, Links, Canonical and Pagespeed
  • Image file size vs. pagespeed
  • Duplicate Content
  • Lazyloading comments
  • CLS
  • Blocking Time
  • Linking
  • SEO
  • Skip lazy loading first post image
  • Horizontal scrolling
  • Smooth scrolling
  • fetchPriority
  • Redis Object Cache
  • Pagination
  • Pingbacks
  • INP (Interaction to Next Paint)
  • Animations
  • Indexed
  • Google Discover
  • CDNs
  • Site Speed

Social Sharing

3
  • Social Icons
  • Tiktok
  • Social

Blogging Resources

19
  • Food Blog Sitelinks
  • Photography
  • Understanding "penalties"
  • Web Stories
  • Linking
  • Posts vs. Pages
  • AI Content
  • Food Blog Page Structure
  • Food Blog Site Structure
  • Comments
  • Internal links
  • Analytics
  • Pagespeed
  • SEO for Food Bloggers
  • Modern guidelines for page headings
  • How to Write a Recipe Post
  • Recipe Page Guidelines for Food Bloggers
  • Image Optimization
  • Recipe Update Checklist

Legal Resources

6
  • Legal Resources
  • DMCA and Copyright Infringement
  • Copyrights
  • Accessibility
  • Blog insurance
  • Private Label Rights (PLR)

Integrations

11
  • Ecommerce
  • Ingredients
  • Google Trusted Source
  • Contact Forms
  • Hosting
  • Translation
  • Minification
  • WP Recipe Maker
    • Reviews
    • QR Code
    • Ingredients
  • WP Rocket
    • Minification

Troubleshooting

15
  • Why do my images look different in edit post and live?
  • Why Isn't the Category Description Appearing?
  • Troubleshoot Plugin Conflicts
  • How to clear your cache
  • Flush Local Fonts Cache
  • How to update your theme
  • Feast Plugin FAQ
  • W3 HTML Validation
  • Sorry, this file type is not permitted for security reasons.
  • Troubleshooting Featured Images
  • Either "name" or "item. name" should be specified (in "itemListElement")
  • This block contains unexpected or invalid content
  • Incompatible Archive
  • Clear Cache ‼️
  • Cloudflare Speed Brain

Compatibility

2
  • Compatibility
  • WP 6.7

Developer Resources

6
  • Multisite
  • Feast Plugin Deprecated
  • W3 HTML Validation
  • Feast Plugin: Disable Theme Google Fonts
  • Rethinking the Thumbnails
  • Design
View Categories
  • Home
  • Documentation
  • Kadence
  • Customize
  • Per Page CSS

Per Page CSS

This tutorial features the Feast Plugin, which enhances and extends your theme to improve SEO, pagespeed, accessibility and user experience.

The per-page CSS lets you add custom CSS to specific pages, to help improve pagespeed.

Note: this is for pages only, not posts. All posts should have identical site-wide styling applied in "Additional CSS".

This is in contrast to the "Additional CSS" page, which loads styling across your entire site, even when it's not used, and results in this warning from Google Pagespeed Insights:

For example, the Modern Homepage Styling Guide can be applied to just the homepage instead of loading on categories and posts.

Note: This is a step that can help mitigate the warning above, but will not resolve it entirely. That will require a separate theme update down the road.

Jump to:
  • Where
  • Why (part 1)
  • Why (part 2)
  • Convert the Modern Homepage
  • Minification and Critical Path CSS
  • Disabling
  • Removed from posts

Where

A text box has been added to the bottom of the block editor to place your custom CSS:

You should use this for any page that you have page-specific styling that isn't used on the rest of the site, including:

  • contact
  • about
  • recipe index
  • landing pages for photography services, newsletters, shop pages, media kits

Why (part 1)

We're continuing to refine the way that we style the themes and plugin, by removing unnecessary CSS. This will help to address the "Remove unused CSS" warning in Google's Pagespeed Insights tool:

The theme stylesheet is a "monolithic" file that contains styling for every page on the site, including the homepage, category pages, posts and other components such as the enews widget, forms and plugins - even when those things aren't present on the page. This isn't great.

By enabling per-page CSS, we can strip away unused styling from the theme stylesheet in the future.

Why (part 2)

Currently, styles from the theme's stylesheet and the "Additional CSS" screen are not loaded into the block editor.

This means that any styling you add to specific pages are not reflected in the block editor, only the front-end.

The styling in the per-page CSS textbox is loaded into the block editor as well as the front end, creating a more consistent post editing experience.

Convert the Modern Homepage

The first place that this can be used is on the Modern Homepage, to apply the custom Modern Homepage styling to the block editor so that it display more inline with the front-end:

This video shows how to pull the styling out of style tags in a Custom HTML block, but the same can be done to other pages (eg. "About", Contact) so that their page-specific styling isn't loading site-wide.

Note: we'll need to release an update to apply the entry-content class to the block editor for some of the content-specific styling to work in the block editor.

Minification and Critical Path CSS

The per-page CSS is loaded using regular <style> tags in the website header, and should be picked up by WP Rocket.

If using critical path CSS from WP Rocket, you'll want to generate post-specific critical path CSS for the pages that you add per-page CSS to:

WP Rocket settings sidebar in block editor

We don't recommend or support any other caching plugins.

Disabling

We've departed from the standard policy of having to enable this in the Feast Plugin, to having it automatically enabled.

You can add a code snippet to disable it with:

add_filter( 'feast_block_editor_per_page_css', '__return_false' );

Removed from posts

We've removed the per-page-CSS from posts because this was only designed to be used on pages.

Posts should have consistent styling, which is applied to the "Additional CSS" screen.

This is because you can't, and shouldn't individually style 400 recipe posts - they should all look identical. This is because changing formatting, styling or colors on 400 individual posts during a rebrand, or to comply with SEO or accessibility guidelines, is completely insane.

If you've accidentally added per-page-CSS to posts, you can still access this by going to Menu > Preferences > Panels > Custom Fields

This will add the Custom Fields panel below the block editor, with the feast_post_custom_css field containing your styling that you can move to the "Additional CSS":

Was this helpful?

  • Happy
  • Sad
Why we don't support block-level stylingWhy you shouldn't make customizations

Products

  • Feast Plugin
  • Feast+
  • Feast+ White Glove
  • Feast+ Style Refresh
  • Done-for-you Services
  • Demo trial
  • Themes
  • Theme Install Service
  • Classic Themes
  • Lattice Plugin
  • Travel
  • Logo creation

Help

  • Kadence tutorials
  • Kadence Install
  • Documentation & Tutorials
  • Feast+ Members
  • Discounts & Coupons
  • Trellis 2.0
  • Trellis
  • Trellis Migration
  • Compatibility
  • Support
  • Legal resources
  • Genesis vs. Kadence
  • Changelog
  • How to start a blog course

Company

  • Privacy Policy
  • Refund Policy
  • Terms & Conditions
  • Why Feast
  • Principles & Best Practices
  • Affiliates
  • Contact
  • Opinion Disclaimer
  • AI Policy

Copyright ©  2026 · Feast Design Co. Results not typical or guaranteed. Our themes and plugins are just a small part of the overall effort involved in running a food blog. Nothing on this website shall constitute legal or financial advice, always consult a local lawyer and accountant. Accessing this website and all transactions herein are under the laws and jurisdiction of Toronto, Ontario, Canada. All pricing is USD.

  • Get the Feast Plugin
  • Documentation
    • Feast Plugin
    • Feast+
  • Open a Support Ticket
Facebook X Instagram
Search