mirror of
https://github.com/TitanEmbeds/Titan.git
synced 2024-12-26 15:07:03 +01:00
Added "Custom CSS" page
parent
4f696f42f9
commit
2780c37fe9
18
Custom-CSS.md
Normal file
18
Custom-CSS.md
Normal file
@ -0,0 +1,18 @@
|
||||
# Straight to the dark side, huh?
|
||||
|
||||
Titan Embeds has support for custom CSS. This enables you to theme the embed however you want. You can use it to make the embed fit with the theming of your site or server, for example. If you don't know what custom CSS is, this might not be for you. In that case, we recommend you to take a look at our pre-built themes instead.
|
||||
|
||||
# Obtaining CSS slots
|
||||
|
||||
Before you can start implementing your custom CSS, you first need to obtain a so called "CSS slot". Each slot allows you to upload your custom CSS code to it. There are two ways of obtaining a CSS slot.
|
||||
* A free CSS slot given by an administrator, which can be obtained by asking one on the Titan Embeds Discord server.
|
||||
* A CSS slot you bought with Titan Tokens, which can be obtained by donating through PayPal or Patreon.
|
||||
After you have obtained a CSS slot, it will show up on your dashboard.
|
||||
|
||||
**Warning: Your custom CSS code is not private! If someone really wanted to, they will be able to see it!**
|
||||
|
||||
# Assigning a CSS slot to an embed
|
||||
|
||||
Each CSS slot has a unique CSS ID assigned to it. It can be found in the CSS editor for the particular slot you would like to use.
|
||||
|
||||
You need to use the CSS query parameter with your CSS ID appended to your embed's URL to assign it. If you don't, your embed will load without you custom CSS. Links with and without the CSS query parameter with different CSS IDs may be used interchangeably if so desired.
|
Loading…
Reference in New Issue
Block a user