This website uses cookies to ensure you get the best experience on our website.

Skip to content
LOGO
  • Company

    About IGNEK

    Learn about our story and our mission.

    Careers

    We're hiring!

    We always looking for talented peoples. Join our team!

    Blogs

    The latest industry news, updates and info.

    Case Studies

    Take a closer look at the projects we've delivered

    Webinar

    Watch our latest organized webinar

    Get in touch with our HR team

    • hr@insights.ignek.com
    • +91 93284 95160
    • Ahmedabad, Gujarat, India – 382470
  • Services

    Enterprise Portal Development

    Custom Enterprise Portal Development for flawless Solutions

    Dedicated Development Team

    Expand Teams, Optimize Development with Our Expertise

    Back-end Development

    Empowering your digital presence with robust backend development expertise

    Front-end Development

    Crafting engaging user experiences through expert frontend development

    Digital Transformation

    Embrace digital transformation by modernizing process

    SaaS Development

    Transform your business with SaaS Innovative Solutions

    Technologies

    Liferay Services

    Development & Customization

    Theme

    Upgradation

    Migration

    Proof of Concept

    Performance Tunning

    Architecture

    Support & Maintenance

    E-commerce

    Expert Advice

    React Services

    Enterprise Development

    Custom Application

    Single Page Application

    Architecture

    API Integration

    Migration

    Consulting

    Maintenance & Support

    Spring Boot Services

    Web Service

    MVC Web Development

    API Integration

    Security

    Migration

    Microservices

    Support & Maintenance

    AEM Services

    Consulting Service

    Site Development

    Migration & Upgradation

    Integration

    Maintenance & Support

    Custom Solutions

    Content Management

    Team Augementation

  • Solution

    Ready for digital excellence

    In our rapidly evolving world, businesses are always on the lookout for fresh ways to improve their operations and connect with their audiences.

    Contact US

    Solutions

    SaaS : Software As A Service

    Transforming industries through cutting edge SaaS solutions.

    Customer Portal : Boost Business Productivity

    Streamline operations and enhance productivity with our Customer Portal solution.

    Liferay Based Intranet Portal

    Internal portal for company communication, collaboration and resources

    Integration

    Matomo Integration with Liferay

    Integrate Matomo to enable user interactions seamlessly.

    Microsoft Teams integration with Liferay

    Integrate to enable seamless collaboration, messaging within your portal.

    Jira Integration With Liferay

    Optimizes business operations by integrating with Jira.

  • Hire Us

    Liferay

    Get expert Liferay developers for seamless portal solutions.

    React JS

    Get expert ReactJS developers for dynamic web solutions.

    Web Developer

    Get custom web solutions from IGNEK's expert developers.

    Spring Boot

    Get top-notch Spring Boot developers for your project success!

    Healthcare

    Get top Healthcare Developers for cutting-edge medical software.

    MERN Stack

    Get expert MERN developers from IGNEK for custom, innovative project solutions.

    Why Hire Developers From IGNEK ?

    • Certified Developer
    • Transparent Communication
    • Flexible Hiring Modals
    • Fully Signed NDA
    • Cost Effective
    • Easy Exit Policy

    Get in touch with our Sales team

    • sales@insights.ignek.com
    • +91 6351576580
    • info@insights.ignek.com
    • Ahmedabad, Gujarat, India – 382470
SCHEDULE CALL
  • COMPANY
    • About
    • Case Studies
    • Blogs
    • Career
    • Webinar
  • SERVICES
    • Enterprise Portal Development
    • Dedicated Development Team
    • Back-end Development
    • Front-end Development
    • Digital Transformation
    • SaaS Development
  • SOLUTION
    • Customer Portal:  Boost Business Productivity
    • SaaS : Software as a Service
    • Liferay Based Employee Intranet Portal
  • TECHNOLOGY
    • Liferay Services
      • Liferay Development and Customization
      • Liferay Theme Development Service
      • Liferay DXP 7.4 Upgrade
      • Liferay Migration
      • Liferay Proof Of Concept
      • Liferay Performance Tuning
      • Liferay Architecture Design Service
      • Liferay Support And Maintenance Service
      • Liferay Ecommerce Development
      • Liferay Expert Advice
    • ReactJS Services
      • ReactJS Enterprise Application Development
      • ReactJS Custom Application Development
      • ReactJS Single Page Application Development (SPA)
      • ReactJS Applications Architecture
      • ReactJS API Integration
      • ReactJS Migration
      • ReactJS Consulting
      • ReactJS Maintenance and Support
    • Spring Boot Services
      • Spring Boot Web Development Service
      • Spring MVC Web Development
      • Spring Boot API Integration Service
      • Spring Boot Security
      • Spring Boot Migration Service
      • Spring Boot Microservices
      • Spring Boot Support & Maintenance Service
    • AEM Development Services
      • AEM Consulting Services
      • AEM Site Development
      • AEM Migration & Upgradation
      • AEM Integration Services
      • AEM Maintenance & Support
      • AEM Content Management
      • Custom AEM Solutions
      • AEM Team Augmentation
  • INTEGRATION
  • HIRE US
    • Hire Liferay Developer
    • Hire ReactJS Developer
    • Hire Spring Boot Developer
    • Hire Healthcare Developer
    • Hire Web Developer
    • Hire MERN Stack Developer
  • CONTACT US
  • Company

    About IGNEK

    Careers

    We're hiring!

    Blogs

    Case Studies

    Webinar

    Get in touch with our HR team

    • hr@insights.ignek.com
    • +91 93284 95160
    • Ahmedabad, Gujarat, India – 382470
  • Services

    Enterprise Portal Development

    Dedicated Development Team

    Back-end Development

    Front-end Development

    Digital Transformation

    SaaS Development

    Technologies

    Liferay Liferay Services
    • Development & Customization
    • Theme
    • Upgradation
    • Migration
    • Proof of Concept
    • Performance Tuning
    • Architecture
    • Support & Maintenance
    • E-commerce
    • Expert Advice
    React React Services
    • Enterprise Development
    • Custom Application
    • Single Page Application
    • Architecture
    • API Integration
    • Migration
    • Consulting
    • Maintenance & Support
    Spring Boot Spring Boot Services
    • Web Service
    • MVC Web Development
    • API Integration
    • Security
    • Migration
    • Microservices
    • Support & Maintenance
    AEM AEM Services
    • Consulting Service
    • Site Development
    • Migration & Upgradation
    • Integration
    • Maintenance & Support
    • Custom Solutions
    • Content Management
    • Team Augmentation
  • Solution

    Ready for digital excellence

    In our rapidly evolving world, businesses are always on the lookout for fresh ways to improve their operations and connect with their audiences.

    Contact US

    Solutions

    SaaS : Software As A Service

    Customer Portal : Boost Business Productivity

    Liferay Based Intranet Portal

    Integration

    Matomo Integration with Liferay

    Microsoft Teams integration with Liferay

    Jira Integration With Liferay

  • Hire Us

    Liferay

    React JS

    Web Developer

    Spring Boot

    Healthcare

    MERN Stack

    Why Hire Developers From IGNEK ?

    • Certified Developer
    • Transparent Communication
    • Flexible Hiring Modals
    • Fully Signed NDA
    • Cost Effective
    • Easy Exit Policy

    Get in touch with our Sales team

    • sales@insights.ignek.com
    • +91 6351576580
    • IGNEK
    • Ahmedabad, Gujarat, India – 382470
  • SCHEDULE CALL

CSS VS Theme CSS Client-Extension

  • Liferay
  • November 26, 2025

Share On :

Introduction

When developing in Liferay DXP or Liferay 7.4+, you’ll encounter various ways to customize the look and feel of your portal. Two common methods are through CSS Client Extensions and Theme CSS Client Extensions. They might seem similar—both deal with adding CSS to your Liferay site, but they serve different purposes and have distinct use cases. In this blog, we’ll understand the differences, benefits, and when to use both client extensions.

Prerequisites
  • Liferay DXP 

  • Basic knowledge of Liferay

What is Client Extension?

A Client Extension in Liferay is a method for extending and customizing Liferay’s functionality without directly modifying the core platform.

CSS Client Extension
  • Purpose :

To inject custom CSS into your Liferay site that applies globally or to specific parts of your portal.

  • Key Features :
    • Targets global styles.

    • Can override portal or theme styles.

    • Lightweight and easy to maintain.

    • Does not require a full theme or war deployment.

  • Use Case :

You want to change the style of a few components (e.g., button colors, layout margins) across all pages without building a custom theme.

  • Steps To Create a CSS Client Extension :

Step 1 : Create folder structure

Create a folder structure for the client extension. First, create a client-extension folder in your workspace. For that, you can refer to this image for the folder structure.

Folder Structure

Step 2 : Add CSS and YAML file content

Add content into your client-extension.yaml file and global.css file.

CSS- yaml file
CSS- CSS file

This CSS client extension will change the appearance of the button on the page where it is applied in the configuration.

For building and deploying the client extension, you can use these commands.

				
					./gradlew build -p client-extension/your_client-extension_name
./gradlew deploy -p client-extension/your_client-extension_name

				
			
Theme CSS Client Extension :
  • Purpose :

Its main purpose is to modify or override the theme without creating a full theme.

  • Key Features :
    • Tied to a specific theme ID.

    • Injected after the theme CSS, so it’s ideal for overrides.

    • Useful for multi-site deployments using the same theme base with minor styling differences.

  • Use Case :

You have multiple sites using the same theme, but one site needs slightly different header styling or footer spacing.

  • Steps to create Theme CSS Client Extension :

Step 1: Create folder Structure :

Folder Structure

For that, you refer to the above image.

Step 2: Add CSS and YAML file content :

theme-css yaml file
theme-css CSS file

This will change the color of the control menu of Liferay.

Key Differences :
FeatureCSS client-extensionTheme CSS client-extension
ScopeApplies globally across the entire Liferay instance. Applies only to a specific theme.
Applied WhenTo style specific elements or pagesTo extend or override existing Liferay themes
Ideal forIt is ideal for making basic changes to the UI, like buttons, headings, etc., and fixing basic styling issues.It is ideal only when you want to modify the theme-specific elements. 
Deployment FlexibilityIt has more flexibility than the theme CSS client extension.It has good flexibility, but not as good as the CSS client extension, because for multiple themes, we have to create multiple extensions.
Theme DependencyIt is not theme-dependent.It is highly dependent on the theme.
Potential ConflictsMay cause unintentional styling conflicts if multiple CSS extensions are applied.Less chance of conflicts since styles are connected to a specific theme.
Can We Use Both?

Yes, it’s common to combine both. Use the CSS Client extension for base styling that applies across all sites, and the Theme CSS Client extension for theme-specific overrides.

Conclusion

Understanding the difference between CSS and Theme CSS Client Extensions in Liferay helps you choose the right tool for your customization needs. For simple, global changes, CSS Client-Extension is your go-to. For theme-aware customization, Theme CSS Client-Extension gives you precision without the overhead of a full theme project. By leveraging Client Extensions properly, you keep your code modular, scalable, and easier to maintain—perfect for modern enterprise Liferay development.

Loading...

Related Blogs

July 19, 2024
What Is Client Extension & How We Can Use
What Is Client Extension & How We Can Use?
July 19, 2024
Site Initializer Using Client Extension
Site Initializer Using Client Extension
August 19, 2025
Microservice Client Extension
Microservice Client Extension
Loading...

Featured Projects Portfolios

October 4, 2023
Telecom Public Website _ Multilingual, E-Commerce, and Advanced Features
Telecom Public Website : Multilingual, E-Commerce, and Advanced Features
March 21, 2024
EPF Government Enterprise Website _ Multilingual, Access for Member, Employer, Corporate
EPF Government Enterprise Website : Multilingual, Access for Member, Employer, Corporate
June 19, 2024
Music License Management Portal _ Onboarding & Data Integrity
Music License Management Portal : Onboarding & Data Integrity

Digital Solutions for Your Business with IGNEK

4.9

5.0

5.0

5.0

LOGO

Making the world a better place through constructing elegant hierarchies

COMPANY

  • About
  • Career
  • Case Study
  • Blogs

SERVICES

  • Enterprise Portal Development
  • Dedicated Development Team
  • Back-end Development
  • Front-end Development
  • Digital Transformation
  • SaaS Development

HIRE US

  • Liferay
  • Spring Boot
  • ReactJS
  • Healthcare
  • MERN Stack
  • AEM

CONTACT

  • info@insights.ignek.com
  • info@insights.ignek.com
SALES
  • sales@insights.ignek.com
  • (+91) 635 157 6580
CAREER
  • hr@insights.ignek.com
  • (+91) 932 849 5160
  • E 910-912, Ganesh Glory 11, Jagatpur Road, SG Highway, Ahmedabad, Gujarat - 382470

© 2018-2026 IGNEK, Inc. All rights reserved

Linkedin Facebook X-twitter Instagram