Animated Neon Notification Cards for Widgets

Tutorial Animated Neon Notification Cards for Widgets Notification

10 0 1

Meta

ADMINISTRATIVE
Reputation: 100%
Compatible with XF versions
XF 2.2; 2.3
1766224204969.webp


This guide adds stylish, animated "Neon Glow" notification cards to your XenForo 2.3 sidebar or homepage. It's perfect for highlighting announcements, server updates, or holiday greetings (like Christmas or New Year).

The code is optimized to fit any widget width automatically (sidebar or full width) without breaking your layout.

✨ Features​

  • Auto-Responsive: Fits perfectly in sidebars or above node lists.
  • Smooth Animation: 4-color gradient borders chasing around the card.
  • Lightweight: Pure CSS, no JavaScript required.
  • Safe Layout: Uses overflow: hidden to ensure animations don't overlap other buttons.

🛠️ Installation Instructions​

Step 1: Create a Widget​

  1. Go to your Admin Control Panel (ACP).
  2. Navigate to AppearanceWidgets.
  3. Click Add widget.
  4. Select HTML from the dropdown menu.
  5. Widget key: neon_announcements (or any unique name).
  6. Title: Leave blank (or enter a title if you want a header above the cards).
  7. Display in positions: Choose where you want it (e.g., Forum list: Sidebar or Forum list: Above nodes).

Step 2: Paste the Code​

Copy the following code entirely and paste it into the Template box:
CSS:
You must log in to view
(117 lines)

Step 3: Save & Enjoy​

Click Save and verify the result on your forum homepage.


🎨 Customization Tips​

1. Changing the Background Color
Find .neon-box in the style section and change:
CSS:
You must log in to view
(1 lines)

2. Adjusting Animation Speed
To make the lights move faster, change 2s to 1s in the animation lines.
Example: animation: run-top 1s linear infinite;

3. Removing a Card
Simply delete the <div class="neon-box">...</div> block you don't need from the HTML part.
 
Similar content Most view View more

Featured content

Trending content

Back
QR Code
Top Bottom