White bar in header after replacing smflogo

Started by studentforums, October 08, 2013, 10:11:47 AM

Previous topic - Next topic

studentforums

When I replaced thed smf log in the header with my own a white bar appeared. My logo is not the same size as the smf logo so I need to do some adjusting. How do I do this?
I am using core theme.
I only help those that help themselves. I suppose I am a bit like GOD that way.
If you realise anything useful, say something useful and help someone else.

Student forum for GCSE, IGCSE, IB, O & A Level and University Students

johnpaul2k2

what's the image format?? like gif, jpeg, png

which one did you use???

Kindred

Well, if your logo is not the same size...  and you are using the core theme (which uses tables, IIRC) then yup... you're going to have to adjust things.

You can probably do it in CSS... you may have to edit code.

Get firefox+firebug and start by looking at the CSS elements and defined heights
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

mashby

The container holding your logo isn't adjusting for the image height so you're getting a nice white area under it. You could consider editing the index.template.php file for that theme.
Look for right above id="smflogo":
<div class="catbg">
Replace with:
<div class="catbg" style="height:95px">
Always be a little kinder than necessary.
- James M. Barrie

studentforums

I will try it first thing in morning.
A few mods are not working after I upgraded to 2.05.
I had put off the upgrade for two years. Now I am just glad it is done.
I only help those that help themselves. I suppose I am a bit like GOD that way.
If you realise anything useful, say something useful and help someone else.

Student forum for GCSE, IGCSE, IB, O & A Level and University Students

Angelina Belle

Never attribute to malice that which is adequately explained by stupidity. -- Hanlon's Razor

studentforums

I only help those that help themselves. I suppose I am a bit like GOD that way.
If you realise anything useful, say something useful and help someone else.

Student forum for GCSE, IGCSE, IB, O & A Level and University Students

Angelina Belle

I am glad you were able to solve the problem.  THanks for marking it solved.
Welcome to SMF 2.0.5
Never attribute to malice that which is adequately explained by stupidity. -- Hanlon's Razor

Advertisement: