Background Not Showing for all Pages with Style

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • caseychaos
    New Member
    • Mar 2008
    • 10
    • 3.8.x

    Background Not Showing for all Pages with Style

    I have a repeating gradient working beautifully on my portal page (vbadvanced). The style for that page can be applied to the rest of my forum but the gradient will only display on the portal. I put the image in the Extra CSS Attributes of the body.

    Code:
    background-image: url('/images/background1.jpg') ; background-repeat: repeat-y; background-position: center;
    Here is how it looks on the portal: www.texasbowhunter.com Oh, the portal is set to the fixed styles and users can not change this.

    Any ideas why my forum won't display the image? Again, this style is used throughout the forum. Users can pick between this fixed width style as well as a wide (100%) style. I only get the gradient on the vbadvanced portal.

    Thanks.
  • Jose Amaral Rego
    Senior Member
    • Feb 2005
    • 11058
    • 1.1.x

    #2
    Try 'Absolute path' instead of 'Relative path' and see what you get.

    Absolute path:
    http://www.your_domain_name.com/images/

    Relative path:
    images/icons/pip.gif

    Code:
    background-image: url('[B][url]http://www.texasbowhunter.com[/url][/B]/images/background1.jpg');
    background-position: center;
    background-repeat: repeat-y;

    Comment

    • caseychaos
      New Member
      • Mar 2008
      • 10
      • 3.8.x

      #3
      Bingo! I don't know why I didn't think of that, with the pages in different locations.

      Thank you very much!

      Comment

      widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
      Working...