Help with background color around the logo

Posted by getitdone99 
Help with background color around the logo
September 03, 2009 06:28PM
Hi Forum World!

I have been searching for an answer to this and cannot find anything. Maybe just wording it wrong.

I added a background image to the site in the css.tpl file, but I want the logo to sit on white and not show through the background image I added. Where might I do that? Is it in the css.tpl or in the header.tpl...and where?

Also you can see that I want to do the same thing where the banner sits. It needs to be on white and not show through the background image

Please someone help! Sorry if these are stupid questions.
Re: Help with background color around the logo
September 03, 2009 06:34PM
A URL to the site would help, so we can see what you header, logo and stuff are. To answer your question: header.tpl should define the structure that css.tpl can style. So you need both for this. It's all the combo of HTML and CSS.


Maurice Makaay
Phorum Development Team
my blog linkedin profile secret sauce
Re: Help with background color around the logo
September 03, 2009 06:40PM
Sorry,

[www.livingnutrition.com]

Click "Forums" button



Edited 1 time(s). Last edit at 09/03/2009 06:55PM by getitdone99.
Re: Help with background color around the logo
September 04, 2009 12:12PM
Help Please, Anyone!

Sorry,

[www.livingnutrition.com]

Click "Forums" button
Re: Help with background color around the logo
September 04, 2009 12:38PM
<div style="background:white">
  <center>
    <img src="...." />
  </center>
</div>

Something like that, but it's more a HTML/CSS issue than a Phorum issue. The place where you should edit this is header.tpl. If you are having a hard time styling the code, then ask the person who did the styling for the main site. He/she who did that should get the styling in Phorum done in no-time.


Maurice Makaay
Phorum Development Team
my blog linkedin profile secret sauce
Re: Help with background color around the logo
September 04, 2009 05:09PM
The person who set up the rest of the site is no longer working for this person, so we inherited this website and are trying to learn everything about what has been installed.

The div code helped, but there still is a slight problem where the "Welcome!" is and the advertisement banner.

If you could tell me what file I could fix those also.

[www.livingnutrition.com]

Thank you in advance.
Re: Help with background color around the logo
September 04, 2009 05:38PM
You are creating broken HTML code. The image code is before the opening <body> tag. It's too bad that the person who did the original site is no longer working there, but please find somebody that knows HTML to help you out here.


Maurice Makaay
Phorum Development Team
my blog linkedin profile secret sauce
Re: Help with background color around the logo
September 04, 2009 05:55PM
I assume when you said "the image code is before the <body> tag" was referring to the banner/advertisement right? Just need to know what page that banner resides on.

We don't have any html experts. Thought these forums were designed to help people, even if they had basic html skills?
Re: Help with background color around the logo
September 04, 2009 06:21PM
Quote
getitdone99
I assume when you said "the image code is before the <body> tag" was referring to the banner/advertisement right? Just need to know what page that banner resides on.

We don't have any html experts. Thought these forums were designed to help people, even if they had basic html skills?

Could it be that your image is too big, having a bunch of white on both sides of your logo?
Re: Help with background color around the logo
September 04, 2009 07:28PM
Yes there is but it is ok as is. It is the banner/advertisement that we are trying to have the background be white. Do you know what .tpl file handles displaying it on the homepage?
Sorry, only registered users may post in this forum.

Click here to login