You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Custom CSS allows you to modify the appearance of the application, including colors, layouts, and
visibility of elements. This guide details the available customization options supported by the
CustomView engine.
1. Global Configuration
Global settings must be defined in a comment block /* ... */ at the very beginning of your CSS
file. These properties are processed separately from standard CSS rules.
px: In this engine, values with the px unit are converted to device-dependent pixels (dp).
10px behaves like 10dp in Android layout XML coverage.
%: Percentage relative to parent or screen depending on context.
Raw number: Interpreted as raw pixels.
5. Examples
/* change_dpi = 380 primary_color = #1F1F1F*//* Change FAB color */#fab {
background-color:#00AA00#FF5500; /* Replaces green with orange */color-tint:#FFFFFF;
}
/* Customize Conversation Row Name */
.com.whatsapp.HomeActivity#conversations_row_contact_name {
color:#E0E0E0;
font-size:18px;
}
/* Move Date to Bottom */#conversation_row_date {
parent:#conversation_contact_name_holder;
bottom:0px;
right:16px;
font-size:12px;
}
/* Specific background for main content */#content {
background:linear-gradient(0deg,#1010100%,#202020100%);
}
/* Hide archived chat hint */TextView:contains(Archived) {
display: none;
}
Obtaining IDs
Use the Assistant Developer application/tool to inspect the layout and find the resource IDs (
#id) or class names of the elements you wish to customize.