How Do I Add a Background to a Discord Server?


Scott Campbell

Adding a background to your Discord server can add a touch of personalization and make it stand out from the rest. In this tutorial, we will show you how to easily add a background to your Discord server using simple HTML code.

Step 1: Create an Image File

Before we begin, you need to have an image file that you want to use as the background for your Discord server. Make sure the image is in a format supported by Discord, such as JPEG or PNG, and that it is appropriately sized for your server’s layout.

Step 2: Upload the Image

To upload the image file to your Discord server, follow these steps:

  • Step 2.1: Open Discord and navigate to your server.
  • Step 2.2: On the left-hand side, click on the down arrow next to your server’s name.3: Select “Server Settings” from the drop-down menu.4: In the Server Settings menu, click on “Overview” if it’s not already selected.5: Scroll down until you see the “Server Icon” section.6: Click on the “Upload” button and select the image file from your computer.


If you want to use a GIF as your background, make sure it meets Discord’s size restrictions (under 8MB) and follows their guidelines regarding animated images.

Step 3: Add HTML Code

Now that you have uploaded the image, it’s time to add the HTML code to display it as the background for your Discord server. Here’s what you need to do:

  • Step 3.1: Go back to your Discord server and navigate to the “Server Settings” menu as described in Step 2.
  • Step 3.2: This time, click on the “Widget” section in the left-hand menu.3: Scroll down until you see the “Widget URL” box.4: Copy the URL provided in that box.

In your HTML code, insert the following line of CSS inside a style tag, replacing “URL” with the actual URL you copied in Step 3.4:

body {
background-image: url(URL);
background-repeat: no-repeat;
background-size: cover;

You can add this CSS code to any HTML file or directly into a Discord widget if you have access to its HTML source.

Step 4: Save and Apply Changes

To save and apply your background changes, follow these steps:

  • Step 4.1: After adding the CSS code, save your HTML file or update your Discord widget accordingly.
  • Step 4.2: Refresh or reload your Discord server page to see the changes take effect.

Congratulations! You have successfully added a background to your Discord server using HTML code.

Additional Tips:

  • Keep the image size in mind: Make sure your image is not too large, as it may affect the loading speed of your Discord server.
  • Test on different devices: Check how the background appears on various devices and screen sizes to ensure it looks good for all users.

Remember, adding a background can greatly enhance the visual appeal of your Discord server and make it unique. Experiment with different images and styles to find the perfect fit for your community!

Discord Server - Web Server - Private Server - DNS Server - Object-Oriented Programming - Scripting - Data Types - Data Structures

Privacy Policy