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

Shipping Rules That Reduce Support Tickets: Table Rate Shipping Setup Plus Proactive Delivery SMS Updates

Every ecommerce marketer knows the frustration: your inbox floods with "Where is my order?" messages…

2 days ago

5 Powerful Enterprise Software Development Companies in NYC You Should Know (2026)

When enterprise-scale projects demand flawless execution, the margin for error disappears. New York's business landscape…

2 days ago

10 Best API Integration Companies in the U.K. for Scalable Business Growth

In today’s digital-first economy, businesses rely heavily on seamless system connectivity to stay competitive. APIs…

4 days ago

Why U.S. businesses prefer to hire Salesforce developers for advanced CRM solutions

Across the United States, organizations are moving toward CRM ecosystems that support smarter customer engagement,…

4 days ago

Powerful AI Gigafactories: Transforming the Future of AI Startups and Enterprises

“Giga” is the term you must be unaware of; that’s why you came here to…

4 days ago

Why Is Testing Critical For E-commerce Applications?

E-commerce has changed the way we shop and conduct business. Today, most people prefer to…

1 week ago