vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   How to remove repeating backgrounds (https://vborg.vbsupport.ru/showthread.php?t=132039)

chiselneck 11-20-2006 04:56 PM

How to remove repeating backgrounds
 
Okay, I need to have an image at the top of my client's forum page that gives it the rough edge appearance and I also need a 2 pixel border around the page. So I added the following code:

background-image: url('http://www.mypage.com/images/Myimage_04.jpg');
background-repeat: no-repeat;
border: 2px solid #000000;

into the "Style Manager, Page Background - Extra CSS Attributes" and everything looks great until you click on quick reply & members list as you can see in the attached images. So can anyone explain how I can edit the quick reply and members list areas not to repeat the "Page Background - Extra CSS Attributes" data?

Thanks for any help you can offer.

Ntfu2 11-20-2006 04:58 PM

fix your links and i'll try to help.


Unless of course its suppose to look like a Forbidden 403 Error page, in which case you've done a excellent job at :D

chiselneck 11-20-2006 05:03 PM

Okay, I think I got the image links fixed.

Ntfu2 11-20-2006 05:09 PM

try to remove that code, and do this.

In your spacer_open template find
Code:

        <div class="page" style="width:$stylevar[outerdivwidth]; text-align:$stylevar[left]">
Change to:

Code:

        <div class="page2" style="width:$stylevar[outerdivwidth]; text-align:$stylevar[left]">
In your main CSS -> Additional CSS (at very bottom) add:
Code:

.page2 {
background-image: url('http://www.mymedallioncatering.com/images/Myimage_04.jpg');
background-repeat: no-repeat;
border: 2px solid #000000;
}


chiselneck 11-20-2006 05:40 PM

Well,
I gave that a try and it removed the rough edged image from the very top, left the borders and let the green background show through, unfortunately that did not work. But it did seem to be in the right direction. I Then attempted the following:

"spacer_open" template:
<div class="page" style="width:$stylevar[outerdivwidth]; text-align:$stylevar[left]">
<div class="page2" style="width:$stylevar[outerdivwidth]; text-align:$stylevar[left]">

CSS>Additional CSS:
.page {
background-image: url('http://mypage.com/images/bckart.jpg');
}
.page2 {
background-image: url('http://www.mypage.com/images/Myimage_04.jpg');
background-repeat: no-repeat;
border: 2px solid #000000;
}

But this did not effect it either.
Any other suggestions?
Thanks!

Well, I worked on this about four hours and finally gave up, but if anyone has a fix for it, please let me know. I'd still like to implement this into the forum.
Thanks


All times are GMT. The time now is 10:26 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.01035 seconds
  • Memory Usage 1,716KB
  • 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
  • (3)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