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

Automated vs Manual Mobile App Testing: The Ultimate Guide to Choosing the Best in 2025

Automated vs Manual Mobile App Testing is a crucial consideration for businesses aiming to deliver…

3 days ago

How AI Chatbot Companies Are Revolutionizing Global Customer Support Experiences in 2025

The way customers receive support now is much different from how it used to be.…

3 days ago

Service Efficiency in Retail Stores: 8 Powerful Ways to Boost It Today

Running a retail store in a competitive market like the Philippines can be challenging. With…

4 days ago

7 Smart Ways to Avoid Online Purchase Scams in 2025

Online shopping has made life more convenient. Not only has it eliminated the need to…

5 days ago

Transcripts That Power Better Customer Support in 2025

Customer service is a critical issue that needs serious consideration. It's work that requires patience,…

1 week ago

8 Powerful Reasons Why Custom Website Development Matters for Your Business

Custom Website Development is essential in today’s digital-first world. Think of your website as your…

1 week ago