2008-12-05, 09:00 PM
2008-12-05, 09:43 PM
Have a look at the CSS here at MyBB...
The image is at http://mybboard.net/assets/images/shadow.png - the css is:
Just take a look at the source code to see how it differs - it looks like you add a div before container...
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...
2009-01-27, 04:09 AM
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!
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!
2009-01-27, 04:27 AM
Admin CP > Themes & Style > Themes > Theme Name > header
2009-01-27, 04:36 AM
can you do it in your forum display template as well Tom or no?
2009-01-27, 04:38 AM
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 awkward
2009-01-28, 07:12 AM
ok thanks
2009-01-28, 07:29 AM
(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, 08:32 PM