Yes, this definitely works in 4.1.2.
Add the lines in red to the first section of Starbug's additional.css code. This will center the welcome box on a fluid-width forum.
/*------------------------------------------------------------------------------
| #> Large Rectangle Ad + Welcome Text below navbar
+-----------------------------------------------------------------------------*/
.ads_lr_wrapper {
border: 2px solid #000000;
-moz-border-radius-bottomleft:5px;
-moz-border-radius-bottomright:5px;
-moz-border-radius-topleft:5px;
-moz-border-radius-topright:5px;
background: #999999;
width:850px;
height:290px;
padding: 5px 5px 5px 5px;
margin-left: auto;
margin-right: auto;
}
If you want centered and the nice shadow (mentioned by Starbug earlier in the thread) just amend the first section of his additional.css code to:
/*------------------------------------------------------------------------------
| #> Large Rectangle Ad + Welcome Text below navbar
+-----------------------------------------------------------------------------*/
.ads_lr_wrapper {
border: 2px solid #000000;
-moz-border-radius:5px 5px 5px 5px;
-khtml-border-radius:5px 5px 5px 5px;
-webkit-border-radius:5px 5px 5px 5px;
-moz-box-shadow:4px 5px 8px rgba(0, 0, 0, 0.6);
-khtml-box-shadow:4px 5px 8px rgba(0, 0, 0, 0.6);
-webkit-box-shadow:4px 5px 8px rgba(0, 0, 0, 0.6);
background: #999999;
width:850px;
height:290px;
padding: 5px 5px 5px 5px;
margin-bottom: 10px;
margin-left: auto;
margin-right: auto;
}
Obviously you'll need to change the background colour and border colour to suit your own colour scheme.
|