Simple Machines Community Forum

Customizing SMF => SMF Coding Discussion => Topic started by: truckworks on September 22, 2014, 08:47:59 PM

Title: Merging background into logo area
Post by: truckworks on September 22, 2014, 08:47:59 PM
The green highlighted area in the attached picture is currently my "logo" area.  I would like make the background photo go into that area instead of just the blank background.  Should I just ditch the logo area altogether and merge the .png I'm using on top of the body section? 
 
I'm not sure what the best way to skin this cat is.
Title: Re: Merging background into logo area
Post by: mashby on September 22, 2014, 08:55:36 PM
Heya, dude.
In the CSS file, you have this currently (starting around lin 3612):
/* --- Additional theme CSS --- */

.logo
{
height: 115px;
width: 100%;
border-top: #dadada solid 0px;

background: #f3f3f3; /* Old browsers */


}
Make it this instead:
/* --- Additional theme CSS --- */

.logo
{
height: 115px;
width: 100%;
}
No need to merge anything. The background color is what's in the way. Also got rid of the border thing as it was set to 0 anyway. :)
Title: Re: Merging background into logo area
Post by: truckworks on September 22, 2014, 09:25:16 PM
You truly are a badass.  Thanks. 
 
Title: Re: Merging background into logo area
Post by: Arantor on September 22, 2014, 09:28:44 PM
Quote from: truckworks on September 22, 2014, 09:25:16 PM
You truly are a badass.  Thanks. 

Indeed he is. I would like nominate 'badass' as mashby's custom title.
Title: Re: Merging background into logo area
Post by: mashby on September 22, 2014, 09:32:47 PM
Best I could do was change my personal text.
Title: Re: Merging background into logo area
Post by: Arantor on September 22, 2014, 09:37:46 PM
It deserves more pride of place than that. It really does deserve being a custom title, you know. In the same way Kindred is 'the Mean One', you should be 'SMF Badass' or something similar.