The Astra Theme by Brainstorm Force is a popular free theme available in the WordPress.org Themes Directory. This guide will help you make Paid Memberships Pro look better with the Astra theme.
Creating Compatibility for Astra and PMPro
Paid Memberships Pro includes a pmpro_element_class filter hook that theme authors and plugin developers can use to dynamically add CSS selectors to frontend pages of Paid Memberships Pro. In this recipe, we swap all uses of the
pmpro_btn selector with the Astra theme’s stylized
button selector. It also allows you to swap all uses of the
pmpro_table selector with
The Code Recipe
Adding the Recipe to Your Website
You can add this recipe to your site by creating a custom plugin or using the Code Snippets plugin available for free in the WordPress repository. Read this companion article for step-by-step directions on either method.
This code recipe was written by our very own Jarryd Long.