vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Design and Graphics Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=253)
-   -   Background Image (https://vborg.vbsupport.ru/showthread.php?t=326386)

iamme_meisi 05-10-2018 10:09 PM

Background Image
 
1 Attachment(s)
Hey guys,
Sorry if this is in the wrong section but this has been driving me mad going around all threads that could remotely help only for nothing to happen or for it to disappear completely.

I am trying to put an image background in the doc_background stylevar to have it appear behind everything else. Usually I would just use a colour but am trying to have it match our wp installation which has this as its background image.

Anyway the picture I have is attached (sorry way too big to post)
I would like it to cover the background - so no matter how big the screen is, or how much they scroll that is still in the background and in perfect position.

I have attempted codes along the line of:
Code:

body {
  background: url(http://www.abod.faith/wp-content/uploads/2018/05/abod_background-1.png) no-repeat center center fixed !important;
  -webkit-background-size: cover !important;
  -moz-background-size: cover !important;
  -o-background-size: cover !important;
  background-size: cover !important;
}

and so on but nothing seems to be working it is either the picture as it appears - or nothing.

I know vB4 is EOL and many have moved onto other things but I would appreciate if anyone here was able to help me get this working properly.

Forum URL here

Thank you all in advance

EDITED TO ADD PICTURE AS ATTACHMENT

snakes1100 05-11-2018 06:32 PM

Code:

Old:
background: url(http://www.abod.faith/wp-content/uploads/2018/05/abod_background-1.png)
New:
background-image: url("http://www.abod.faith/wp-content/uploads/2018/05/abod_background-1.png")


Seven Skins 05-11-2018 06:33 PM

Try adding transparent in the background property e.g.


background: transparent url(http://www.abod.faith/wp-content/uploads/.....



and see if it helps

iamme_meisi 05-11-2018 09:37 PM

Thank you both so much - I had tried both those things yesterday and they didn't work however they work today... must have been a cache problem with my site or something.

I really appreciate both of you taking the time to assist it is greatly appreciated.

snakes1100 05-11-2018 10:49 PM

your welcome


All times are GMT. The time now is 02:56 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.00994 seconds
  • Memory Usage 1,719KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete