Skip to main content

Customization

Adapt the appearance of your Ad Sentinelle to your visual identity.

  1. In Wall Builder, click "Logo"
  2. Click "Upload" or drag and drop
  3. Accepted formats: PNG, JPG, SVG, WebP
  4. Recommended size: 200x60 px (or similar ratio)

Logo Position

PositionPreview
TopCentered at top of modal
LeftAligned left of title
RightAligned right of title
CenterCentered above title

Logo Size

SizeDimensions
Small40px height
Medium60px height
Large80px height
CustomCustom (px)
// Configuration
logoUrl: 'https://yoursite.com/logo.png'
logoPosition: 'top'
logoSize: 'medium'
// or
logoSizeCustom: 70 // in pixels

Colors

Color Palette

Configure main colors:

// Color configuration
primaryColor: '#8b5cf6' // Purple - buttons, links
backgroundColor: '#ffffff' // White - modal background
textColor: '#1f2937' // Dark gray - text

Primary Color

Used for:

  • Main CTA button
  • Links
  • Accent elements
  • Modal border (optional)

Examples:

  • #8b5cf6 - Purple (default)
  • #3b82f6 - Blue
  • #10b981 - Green
  • #f59e0b - Orange
  • #ef4444 - Red

Background Color

Modal background:

  • #ffffff - White (light mode)
  • #1f2937 - Dark gray (dark mode)
  • Custom brand color

Text Color

For title and paragraphs:

  • #1f2937 - Dark gray (on light background)
  • #f9fafb - Off-white (on dark background)

Overlay Opacity

The overlay is the semi-transparent background behind the modal:

overlayOpacity: 0.8  // 80% opacity
ValueEffect
0.5Semi-transparent (content visible)
0.7Fairly opaque
0.8Opaque (recommended for Hard)
0.9Very opaque
1.0Completely black

Typography

Available Sizes

SizePixelsUsage
xs12pxNotes, mentions
sm14pxSecondary text
md16pxNormal text
lg18pxEmphasized text
xl20pxSubtitles
2xl24pxTitles

Title

title: '🛡️ Ad Blocker Detected'
titleSize: 'xl' // Large size

Content Blocks

contentBlocks: [
{
text: 'Your blocker prevents our financing.',
size: 'md',
bold: false,
italic: false
},
{
text: 'Disable it to continue.',
size: 'lg',
bold: true,
italic: false
}
]

Buttons

Primary Button Style

StyleAppearance
FilledColored background, white text
OutlineColored border, transparent background
GhostNo border, hover colored
buttonText: "I've Disabled My Blocker"
buttonStyle: 'filled'

Secondary Button

secondaryButtonText: 'Learn More'
// Appears below main button

Help Button

showHelpButton: true
helpButtonText: 'How to Disable?'

Animation

Animation Types

AnimationDescription
fadeFade-in appearance (default)
slideSlide from bottom
scaleZoom from center
bounceBounce effect
noneNo animation
animation: 'fade'

Animation Duration

Animation duration is 300ms by default. Not configurable via dashboard (custom CSS required).

Borders

Corner Radius

ValuePixelsEffect
none0pxSquare corners
sm4pxSlightly rounded
md8pxRounded (default)
lg12pxWell rounded
xl16pxVery rounded
full9999pxCompletely rounded
borderRadius: 'lg'

Custom CSS

For advanced customization, add custom CSS:

/* In the "Custom CSS" field of Wall Builder */

/* Change font */
#adwall-overlay {
font-family: 'Your Font', sans-serif;
}

/* Add shadow */
#adwall-overlay .adwall-modal {
box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* Customize button */
#adwall-overlay .adwall-cta-btn {
text-transform: uppercase;
letter-spacing: 1px;
}

/* Custom animation */
#adwall-overlay .adwall-modal {
animation: customSlide 0.4s ease-out;
}

@keyframes customSlide {
from {
opacity: 0;
transform: translateY(20px);
}
to {
opacity: 1;
transform: translateY(0);
}
}

Available CSS Classes

ClassElement
#adwall-overlayMain container
.adwall-modalCentral modal
.adwall-logoLogo image
.adwall-titleTitle
.adwall-contentContent area
.adwall-cta-btnMain button
.adwall-secondary-btnSecondary button
.adwall-help-btnHelp button
.adwall-close-btnClose button (Soft mode)

Configuration Examples

Media/Newspaper Style

{
logoPosition: 'top',
primaryColor: '#1e40af', // Dark blue
backgroundColor: '#ffffff',
textColor: '#1f2937',
overlayOpacity: 0.9,
buttonStyle: 'filled',
borderRadius: 'md',
animation: 'fade'
}

Tech/Modern Style

{
logoPosition: 'left',
primaryColor: '#8b5cf6', // Purple
backgroundColor: '#0f172a', // Dark background
textColor: '#f8fafc',
overlayOpacity: 0.85,
buttonStyle: 'outline',
borderRadius: 'xl',
animation: 'scale'
}

Minimal Style

{
logoPosition: 'center',
primaryColor: '#171717', // Black
backgroundColor: '#fafafa',
textColor: '#171717',
overlayOpacity: 0.7,
buttonStyle: 'ghost',
borderRadius: 'none',
animation: 'none'
}
Tip

Use colors consistent with your brand guidelines for natural integration.