Community Central
Community Central
No edit summary
Tag: rte-source
Tags: Visual edit Help
(36 intermediate revisions by 29 users not shown)
Line 1: Line 1:
  +
'''Backgrounds''' can help build a wiki's visual identity and make it stand out. This page has recommendations on how to create an optimal background skin for your community.
[[File:Wikia University - How to Make a Custom Background|thumb|center|650 px]]
 
  +
==Overview==
  +
The background image is set up through the [[Help:ThemeDesigner|Theme Designer]], through the Customize section. You can upload the background in PNG, JPG, or GIF formats, as long as the file isn't larger than 300 kilobytes (kb). If larger, you can try reducing its size by increasing compression, reducing image quality, its dimensions, or changing formats (lossy JPG will always be smaller than lossless PNG).
   
  +
The final appearance of the background will depend on several factors, the most important of which are the '''display''' and the background's '''dimensions''':
This page has recommendations on how to create an optimal background skin for your community. The background image is uploaded via [[Help:ThemeDesigner|Theme Designer]].
 
   
 
* On smaller displays (1065px wide or smaller), the layout will automatically size the content area to fill the whole screen and use the background base color (''main'' in the Theme Designer) instead of the image.
==Information==
 
 
* On larger displays (over 1066px), the background will be visible on either side of the content area. The content area stops expanding once it reaches the maximum width of 1240px.
Here are some details about the layout and the way a FANDOM site behaves on different displays:
 
   
  +
The background image can be set to ''tile'', which will cause it to repeat and fill the whole background area. Unless you create an image specifically to seamlessly blend edges, it might result in an awkward display and jarring edges between the repeating images.
* On smaller displays, such as on iPads with their 1024px-wide screens, the layout will automatically size the content area to fill the whole screen so the background will not be visible.
 
* On larger displays (over 1066px), the background will be visible on either side of the content area.
 
* The content area stops expanding once it reaches its maximum width of 1240px.
 
   
  +
Otherwise, the image will be displayed once, aligned to the center-top of the background, according to the dimensions. If its width is less than 2000px, then the wiki will automatically split it in half so that it can display to the left and to the right of the content area. If larger than 2000px, then Theme Designer will display an option to ''no split'' the image, which will cause the image to display intact as part of the background.
To make the single background image show correctly at all these various sizes the image is split in half, and the center space (mostly covered up by the content area) is filled with a solid color. You can choose this color in Theme Designer. A solid color will also be seen beyond the edge of the background image, on the bottom and sides, for very large screens.
 
   
'''Note:''' If you do not want your background skin to be split, you must upload an image that is at least 2000px wide, at which point a Theme Designer option ("no split") will become available that allows the background skin to remain in one piece, no matter what size the content area is.
+
In all cases, the ''fix'' option allows you to choose whether the background will remain fixed, remaining visible as you scroll up or down on the page, or remain aligned to the top, giving way to the background color (''main'', as explained above).
   
 
=== Creating the background skin ===
Creating a background skin that can adapt to these different sizes may seem like a challenge, but don't worry. We have some tips to help you.
 
  +
Creating a background skin that can look good in all of these situations can be tricky, so here are a few tips. Most importantly, a background diagram to use as a reference when editing an image in GIMP, Paint, Photoshop, or other image editing software:
   
 
[[File:BackgroundDiagram.png|center|700px]]
===Creating the Background Skin===
 
To create the best possible skin, it's helpful to use a program that allows you to edit images, such as Photoshop, GIMP or Paint.
 
   
  +
* '''Image Space''': Areas outside the grey content area, which will always show the background image. The parts in dark grey only sometimes do, depending on the visitor's screen size. Make sure your image looks good in the darker areas.
Here is a background diagram that uses the Community Central design as a reference:
 
 
* '''Content Space''': The light grey area in the middle of the template is where the wiki page content will go. By default, the background will not be visible at all behind this area, but transparency can be added via the Theme Designer.
   
 
It may be helpful to use a background template to make your own creative background skin! You can download a simple template as a PSD file from [[w:File:Background template.psd|here]]. The PSD format is compatible with most image editing programs, like the aforementioned Photoshop or GIMP.
[[File:BackgroundDiagram.png|center]]
 
   
 
==Theme Designer tips==
Five things to note about this image:
 
 
* When making a skin, always consider the wide range of possible screen resolutions. The better you adapt your skin to fit various screen resolutions, the happier your community will be.
 
 
* Wallpapers, key art, and image searches based on your community's topic can be a good idea to find some creative inspiration for your background.
*'''Background Skin''': The colorful balloons make up the creative aspect of the background image known as the Skin.
 
  +
* Consider the whole of the site when making the background. A busy, vibrant wallpaper may interfere with the legibility of the content space if its background is set to high transparency. Conversely, a muted, subtle background can be the finishing touch your wiki needs.
*'''Blending''': The bottom and sides of the skin are blended (using the blend or gradient tool in your image editing program) so that the background color will blend seamlessly into your background image.
 
 
* The wider the color blend/gradient on the skin, the smoother the transition will be to the background color. See [[Help:Theme Designer/gradients]] for more details on how to create gradients on a background image.
*'''Margins''': The areas in red on either side of the content space indicate the part of the skin that will be visible most of the time.
 
 
* In general, Theme Designer is recommended for uploading background images and designing your wiki. Backgrounds added via custom CSS can be disabled by system updates or changes to the CSS classes used by the site, or adversely affect loading times.
*'''Content Space''': The semi-transparent rectangle in the middle of the template is where the wiki page content will go. By default, the background will not be visible at all behind this area, but transparency can be added in Theme Designer.
 
  +
* It's possible to make the background image ''cover'' the whole visible background area. To do this, edit [[Mediawiki:Wikia.css]] on your local wiki and add:
*'''Division line''': The yellow line running down the middle of the screenshot is where the skin is split in half and separated to adjust to the size of the content space. The color that fills this space can be set in Theme Designer.
 
  +
<pre>
 
  +
body.skin-oasis,
It may be helpful to use a background template to make your own creative background skin! If you'd like, you can download a template as a PSD file, which can be used in Photoshop or GIMP, [[homepage:w:File:Background_template.psd|here]].
 
 
body.background-dynamic.skin-oasis::after,
 
 
body.background-dynamic.skin-oasis::before {
==Some advice for Theme Designer==
 
  +
background-size: cover;
*The final image that you will upload to Theme Designer cannot be larger than 300 kilobytes (KB) in file size. You may need to reduce image quality when saving the file, to achieve this size.
 
  +
}
*The wider the color blend/gradient on the skin, the smoother the transition will be to the background color. See [[Help:Theme designer/gradients]] for more details on how to create gradients on a background image.
 
  +
</pre>
*You should not make the content space highly transparent, because this will make it harder to read the content.
 
  +
* If you're editing a legacy, non-UCP wiki, the code is a little different:
*When making a skin, always consider the wide range of possible screen resolutions. The better you adapt your skin to fit various screen resolutions, the happier your community will be.
 
  +
<pre>
*Look at wallpapers and image searches based on your community's topic for creative inspiration for your skin.
 
  +
body {
*Always try to use Theme Designer to upload your background image and to design your wiki. Backgrounds added via custom CSS may be unexpectedly affected by system updates from FANDOM, and may also increase page loading time.
 
  +
background-size: cover;
*If you want to anchor a fixed background at the bottom of the screen rather than the top, add the following to your wiki's MediaWiki:Wikia.css:
 
  +
}
<source lang="css" style="margin-left:2em;">/* Bottom anchor background image */
 
  +
</pre>
body.background-dynamic:after,
 
 
== Further reading ==
body.background-dynamic:before {
 
 
* Learn more about using [[Help:Theme designer|Theme Designer]]
bottom: 0 !important;
 
 
* Learn more about using [[Help:Colors|colors]] in your community's design
top: inherit !important;
 
 
* Learn how to edit the [[Help:Navigation|Wiki Navigation]]
}</source>
 
 
==See also==
 
*Learn more about using [[Help:Theme designer|Theme Designer]]
 
*Learn more about using [[Help:Colors|colors]] in your community's design
 
*Learn how to edit the [[Help:Wiki navigation|Wiki Navigation]]
 
 
==Further Help and Feedback==
 
{{Help and feedback section}}
 
   
  +
==Further help and feedback==
 
{{Help and feedback section}}[[be:Даведка:Фон]]
 
[[de:Hilfe:Hintergrund]]
 
[[de:Hilfe:Hintergrund]]
 
[[es:Ayuda:Fondo]]
 
[[es:Ayuda:Fondo]]
Line 65: Line 60:
 
[[pt:Ajuda:Fundo]]
 
[[pt:Ajuda:Fundo]]
 
[[ru:Справка:Фон]]
 
[[ru:Справка:Фон]]
  +
[[tr:Yardım:Arka plan]]
 
[[uk:Довідка:Фон]]
 
[[uk:Довідка:Фон]]
 
[[vi:Trợ giúp:Ảnh nền]]
 
[[vi:Trợ giúp:Ảnh nền]]

Revision as of 00:51, 19 February 2021

Backgrounds can help build a wiki's visual identity and make it stand out. This page has recommendations on how to create an optimal background skin for your community.

Overview

The background image is set up through the Theme Designer, through the Customize section. You can upload the background in PNG, JPG, or GIF formats, as long as the file isn't larger than 300 kilobytes (kb). If larger, you can try reducing its size by increasing compression, reducing image quality, its dimensions, or changing formats (lossy JPG will always be smaller than lossless PNG).

The final appearance of the background will depend on several factors, the most important of which are the display and the background's dimensions:

  • On smaller displays (1065px wide or smaller), the layout will automatically size the content area to fill the whole screen and use the background base color (main in the Theme Designer) instead of the image.
  • On larger displays (over 1066px), the background will be visible on either side of the content area. The content area stops expanding once it reaches the maximum width of 1240px.

The background image can be set to tile, which will cause it to repeat and fill the whole background area. Unless you create an image specifically to seamlessly blend edges, it might result in an awkward display and jarring edges between the repeating images.

Otherwise, the image will be displayed once, aligned to the center-top of the background, according to the dimensions. If its width is less than 2000px, then the wiki will automatically split it in half so that it can display to the left and to the right of the content area. If larger than 2000px, then Theme Designer will display an option to no split the image, which will cause the image to display intact as part of the background.

In all cases, the fix option allows you to choose whether the background will remain fixed, remaining visible as you scroll up or down on the page, or remain aligned to the top, giving way to the background color (main, as explained above).

Creating the background skin

Creating a background skin that can look good in all of these situations can be tricky, so here are a few tips. Most importantly, a background diagram to use as a reference when editing an image in GIMP, Paint, Photoshop, or other image editing software:

BackgroundDiagram
  • Image Space: Areas outside the grey content area, which will always show the background image. The parts in dark grey only sometimes do, depending on the visitor's screen size. Make sure your image looks good in the darker areas.
  • Content Space: The light grey area in the middle of the template is where the wiki page content will go. By default, the background will not be visible at all behind this area, but transparency can be added via the Theme Designer.

It may be helpful to use a background template to make your own creative background skin! You can download a simple template as a PSD file from here. The PSD format is compatible with most image editing programs, like the aforementioned Photoshop or GIMP.

Theme Designer tips

  • When making a skin, always consider the wide range of possible screen resolutions. The better you adapt your skin to fit various screen resolutions, the happier your community will be.
  • Wallpapers, key art, and image searches based on your community's topic can be a good idea to find some creative inspiration for your background.
  • Consider the whole of the site when making the background. A busy, vibrant wallpaper may interfere with the legibility of the content space if its background is set to high transparency. Conversely, a muted, subtle background can be the finishing touch your wiki needs.
  • The wider the color blend/gradient on the skin, the smoother the transition will be to the background color. See Help:Theme Designer/gradients for more details on how to create gradients on a background image.
  • In general, Theme Designer is recommended for uploading background images and designing your wiki. Backgrounds added via custom CSS can be disabled by system updates or changes to the CSS classes used by the site, or adversely affect loading times.
  • It's possible to make the background image cover the whole visible background area. To do this, edit Mediawiki:Wikia.css on your local wiki and add:
body.skin-oasis,
body.background-dynamic.skin-oasis::after,
body.background-dynamic.skin-oasis::before {
    background-size: cover;
}
  • If you're editing a legacy, non-UCP wiki, the code is a little different:
body { 
    background-size: cover; 
}

Further reading

Further help and feedback