News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

top of forum graphic

Started by SpectroPro, October 05, 2008, 01:53:58 AM

Previous topic - Next topic

SpectroPro

Using 2.0b4 SMF.  Wondering if there is a css for the area at the top of the forum (default theme) for graphics that are located there?   We have a logo we put on our site.  In Admin/Config/theme settings..  But, I need to set it to be a % in width so that it is flexible..  Right now, if someone narrows their window too much, it messes up the graphics on the side of the page, and forces a scroll bar long before we want one to show up...   

Thanks for any help.. I can't seem to find where this would be.   But guessing it should be in a css somewhere..

- Greg
Stats:  SMF v. 2b4  -  Mambo v4.65  -  Bridge v2.0b1

http://www.therealityrocks.com    http://forum.therealityrocks.com/trr
- Greg

Kindred

try using firefox with firebug installed....   it's almost a required tool for webmasters looking for CSS issues.

The exact CSS tag would be listed in index.template.php and probably defined in style.css
Сл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."

SpectroPro

Thanks Kindred, I will look there.  I can't find it in style.css at all, that is where I have been looking..  But I will get that for my firefox and will check the index.template.php file for the info....
Stats:  SMF v. 2b4  -  Mambo v4.65  -  Bridge v2.0b1

http://www.therealityrocks.com    http://forum.therealityrocks.com/trr
- Greg

Kindred

Сл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."

SpectroPro

It was in fact in the index.template.php file..  calls the image there as header_logo_url.  I just added width="100%" and that fixed the problem. Now when the window is resized, it doesn't screw it up!!! 

Thank you!!!!   I'm still learning where things are all hidden..  You guys always come through!!!

Greg
Stats:  SMF v. 2b4  -  Mambo v4.65  -  Bridge v2.0b1

http://www.therealityrocks.com    http://forum.therealityrocks.com/trr
- Greg

SpectroPro

Stats:  SMF v. 2b4  -  Mambo v4.65  -  Bridge v2.0b1

http://www.therealityrocks.com    http://forum.therealityrocks.com/trr
- Greg

SgtMic

Quote from: SpectroPro on October 06, 2008, 08:01:03 PM
It was in fact in the index.template.php file..  calls the image there as header_logo_url.  I just added width="100%" and that fixed the problem. Now when the window is resized, it doesn't screw it up!!! 

Thank you!!!!   I'm still learning where things are all hidden..  You guys always come through!!!

Greg

Where and how did you implement this in the index.template?
There is nothing more deadly than a US Marine and his rifle.
A close second is a US Marine and his K-BAR.
2/5 Fox Co.  (BlackHearts)
FAST Co. 5th Plt. (FIDO)

SpectroPro

In line 182, which is a few lines under where the <body> starts is the line for the logo image.  Here is my line:


<img src="', $settings['header_logo_url'] , '" width="100%" height="125" alt="', $context['forum_name'], '" />';


I just added the nomal width and height code after the image code.  Just have to make sure it is OUTSIDE the quotes of the image code.

If it helps, it's 4 code lines above the line:   // Display user name and time.

Hope that is the info you wanted...

- Greg
Stats:  SMF v. 2b4  -  Mambo v4.65  -  Bridge v2.0b1

http://www.therealityrocks.com    http://forum.therealityrocks.com/trr
- Greg

Advertisement: