MyBB Community Forums

Full Version: Adding shadows around the forums.
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
OK, so how would I go about doing that? I mean, like how these support forums have it.
Have a look at the CSS here at MyBB...

The image is at http://mybboard.net/assets/images/shadow.png - the css is:

div#shadow {
	position: relative;
  background: url(http://mybboard.net/assets/images/shadow.png) top left repeat-y;
  width: 980px;
  margin: auto auto;
  height: auto;
}
div#shadow_footer {
	background: url(http://mybboard.net/assets/images/shadow_footer.png) top left no-repeat;
  width: 980px;
  height: 30px;
  margin: auto auto;
}

Just take a look at the source code to see how it differs - it looks like you add a div before container...
Which file do you edit to put the <div id="shadow"> before the container???

I did it for the index.php, but it goes away when you start opening forums/threads/CPs. Is there a global page layout file???

Thanks!
Admin CP > Themes & Style > Themes > Theme Name > header
can you do it in your forum display template as well Tom or no?
I don't see why not. It might look awkward though. Do you mean like adding the shadow to the outside of forums? If so, then yes - but it would definitely look awkwardToungue
ok thanks
(2009-01-27, 04:27 AM)TomL Wrote: [ -> ]Admin CP > Themes & Style > Themes > Theme Name > header

Then wouldn't you need another </div> in the footer to close it?
(2009-01-28, 07:29 AM)seeker Wrote: [ -> ]
(2009-01-27, 04:27 AM)TomL Wrote: [ -> ]Admin CP > Themes & Style > Themes > Theme Name > header

Then wouldn't you need another </div> in the footer to close it?
Yes.