The website now supports a custom background image that applies to all sections except the Hero section.
Drop your background image file into:
public/images/backgrounds/
Name your file website-bg.jpg (or update the CSS if using a different name)
- JPG/JPEG (recommended for photos)
- PNG (good for graphics with transparency)
- WebP (modern, smaller file size)
The background is applied using the .bg-website class in app/globals.css:
.bg-website {
background-image: url('/images/backgrounds/website-bg.jpg');
background-size: cover;
background-position: center;
background-attachment: fixed;
background-repeat: no-repeat;
}The background is applied to all sections except the Hero:
<main className="min-h-screen">
<Hero /> {/* No background - keeps original styling */}
<div className="bg-website"> {/* Background applied here */}
<MusicCarousel />
<VideosCarousel />
<Events />
<Connect />
<Footer />
</div>
</main>- Replace the file in
public/images/backgrounds/ - Update the filename in
app/globals.cssif needed
Modify the CSS in app/globals.css:
.bg-website {
background-image: url('/images/backgrounds/your-image.jpg');
background-size: cover; /* cover, contain, auto */
background-position: center; /* center, top, bottom, left, right */
background-attachment: fixed; /* fixed, scroll, local */
background-repeat: no-repeat; /* no-repeat, repeat, repeat-x, repeat-y */
}To add a dark overlay over the background:
.bg-website {
background-image:
linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
url('/images/backgrounds/website-bg.jpg');
/* ... other properties */
}- Recommended: 1920x1080px or larger
- Minimum: 1200x800px
- Format: JPG for photos, PNG for graphics
- File size: Keep under 2MB for optimal loading
- Compression: Use tools like TinyPNG or ImageOptim
- Responsive: Consider providing different sizes for mobile/desktop
- Ensure sufficient contrast between background and text
- Test readability on different devices
- Consider adding a fallback background color
- Check file path in
public/images/backgrounds/ - Verify filename matches CSS
- Clear browser cache
- Check browser console for 404 errors
- Reduce image file size
- Use WebP format if supported
- Consider lazy loading for large images
- Test on slower connections
- Test
background-attachment: fixedon mobile - Consider mobile-specific background sizing
- Test touch scrolling behavior