1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

XF 1.2 Background doesnt work

Discussion in 'Troubleshooting and Problems' started by Gobee129, Sep 8, 2013.

  1. Gobee129

    Gobee129 Member

    I want to make one giant background for the entire forum. but the resizing is quite a problem. I used vertical repeat, but now it looks like this on short pages (e.g. the help):

    [​IMG]

    I tried all evening with the style properties in HTML, Body and Page Width, but I can't fix it.

    Can someone help me please??
     
  2. Gobee129

    Gobee129 Member

    lol nevermind, it works now^^

    @mods: thread can be closed, sry for the inconvenience
     
  3. Shelley

    Shelley Well-Known Member

    If you post the fix and what you did to resolve this I'm almost sure this will help others who have similar issues and do a search and happen to come across this post.
     
    Adam Howard likes this.
  4. Gobee129

    Gobee129 Member

    Alright :)

    My solution was:

    Admin CP - Style Properties: General - Body

    remove all background settings, just clear all values, so you will have a transparent body-background

    Admin CP - Style Properties: General - HTML

    Set your background over the HTML settings: (this is important, so that the background always fits the size of the page, not just the size of your (main page body)

    image: background-url
    repeat: no-repeat (not necessary, cuz u wanna use only 1 big image)
    position: fixed (this means your background stays in place when you scroll)

    miscellaneous:
    background-size:contain; (automatically fits the size of your image to the size of the page)
    margin: 0 auto;
     
    Adam Howard and Shelley like this.
  5. Morgain

    Morgain Well-Known Member

    I have cleared the colour under Style Props/ General/Body
    bg.png
    None of the border boxes had colours.
    No change yet.

    I'm puzzled why I cannot open the background image. The url gives me a standard XF error - The requested page could not be found.
    http://www.mabinogistudy.com/forums/styles/default/xenforo/bg_parchment.png

    I put the url as above under my child style "default/classic"
     
  6. Chris D

    Chris D XenForo Developer Staff Member

Share This Page