How To Load CSS, js File on Special Page Builder in Magento 2

in my previous tutorial, I already introduce about “Create New Profile Page Builder in Magento 2”. If you want to “Load CSS, Js file for a Special Page Builder Profile Magento 2, you can do with 3 following steps:

  • Step1: Create CSS Files Folder
  • Step2: Edit Page Profile in BackendÂ
  • Step3: Clear Cache & Refresh Site

Get start!

Step 1. Create css files in folder:

/app/design/frontend/[Theme Vendor]/[Theme Name]/Ves_PageBuilder/web/css/sample/

for example:

/app/design/frontend/[Theme Vendor]/[Theme Name]/Ves_PageBuilder/web/css/sample/profile04.css

/app/design/frontend/[Theme Vendor]/[Theme Name]/Ves_PageBuilder/web/css/sample/footer02.css

Step 2. Load CSS File Special Page Builder Magento 2 in Backend

Open Magento 2 Page Builder Profile:

Admin Panel -> Venustheme -> Page Builder -> Manage Page Builder Profile -> Edit Page Profile:

Then open tab “CMS Page Information”. Then add code in “Layout Update XML” as this:

<head>
<css src=”Ves_PageBuilder::css/sample/profile04.css” />
<css src=”Ves_PageBuilder::css/sample/footer02.css” />
</head>

Then “Save the page profile”

Step 3. Clean Cache & Refresh Site

Go to System -> Cache Management -> Select All -> Submit

This tutorial already show you “How to How To Load CSS, js File on Special Page Builder in Magento 2”

MAGENTO 2 PAGE BUILDER TUTORIALs

SOME OTHER EXTENSIONS YOU MAYBE INTERESTED IN

RELATED POSTS

Nhu Quynh

Recent Posts

Top 10 Powerful Magento 2 Extensions to Maximize ROI in 2026

The eCommerce industry is competitive. Business owners need to explore all possible ways to enjoy…

2 days ago

7 Proven Salesforce DevOps Testing Tools Transforming the BFSI Industry

The Banking, Financial Services, and Insurance (BFSI) industry is highly regulated and generally operates in…

2 days ago

What Makes a Great Fintech App Development Partner in 2025?

Fintech is evolving at an incredible pace. What once took years to create is now…

2 days ago

Best Practices for Power BI Data Modeling: Clean, Fast, and Scalable

Every business these days is creating tons of data every day. Microsoft Power BI Consulting…

6 days ago

7 SEO Tips for Magento-Based Websites to Boost Performance

You’ve built your store on Magento—congratulations! Now it’s time to get more eyes on your…

6 days ago

How to Organize Effective Email-to-SMS Alerts for Your Magento Store

The modern consumer is anything but patient. Today, timely communication with customers is not an…

1 week ago