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

Upskilling for the AI Era: What Skills Will Matter Most by 2030

AI Era marks the infinite game of the technology business. The future must be faster…

2 days ago

From Banking to Blockchain: How Fintech Apps Are Redefining Digital Transactions

Money and technology have always been connected, but the last decade has completely revolutionized how…

2 days ago

Top BI Trends in 2025 Every Data-Driven Leader Should Know

BI Trends in 2025 — Every business is driven by data, and they use data…

1 week ago

Why Magento 2 Integration Boosts Umbraco Development Efficiency

The pandemic brought a huge difference in consumer behavior, digital adoption, and online sales rate.…

2 weeks ago

The Essential Guide to Optimize Website Layouts for Superior Speed

To optimize website layouts effectively is one of the most crucial steps in enhancing site…

2 weeks ago

The Importance of SEO Services for Manufacturers: Driving Online Success in a Competitive Industry

In the manufacturing industry, staying ahead of the competition is essential for long-term success. As…

2 weeks ago