News:

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

Main Menu

just upgraded and have 2 questions

Started by sattninja, December 15, 2009, 04:45:33 AM

Previous topic - Next topic

sattninja

first of let me say i am loving this new version great job however i have  2 ? i have been looking and cannot find where to edit the code for these

1. get rid of the orange around the menu buttons

2. I was able to remove the stock logo but i cannot find how to center my logo

other than that i love it

tia
Running Rc4

H

Quote1. get rid of the orange around the menu buttons

Look at the menu sections of the stylesheet. Themes / default / CSS / index.css

Quote2. I was able to remove the stock logo but i cannot find how to center my logo

You can add <div align="center"><img code.../></div>
-H
Former Support Team Lead
                              I recommend:
Namecheap (domains)
Fastmail (e-mail)
Linode (VPS)
                             

sattninja

Running Rc4

sattninja

i am sorry man but neither of those suggestions helped me i looked in the index and i really do not understand it
Running Rc4

H

Please don't bump your topic within 24 hours. We're all volunteers!

From your post I assumed that you had added your logo manually in place of the SMF logo however I assume you actually used the logo option in the admin area?

In index.template.php find:

<a href="', $scripturl, '">', empty($settings['header_logo_url']) ? $context['forum_name'] : '<img src="' . $settings['header_logo_url'] . '" alt="' . $context['forum_name'] . '" />', '</a>

Change to:

<a href="', $scripturl, '">', empty($settings['header_logo_url']) ? $context['forum_name'] : '<div align="center"><img src="' . $settings['header_logo_url'] . '" alt="' . $context['forum_name'] . '" /></div>', '</a>

Note that this is untested!
-H
Former Support Team Lead
                              I recommend:
Namecheap (domains)
Fastmail (e-mail)
Linode (VPS)
                             

sattninja

i am not bumoing my post i am having a hard time finding this i am looking in

themes/default/index.template.php

i have attached the file i have lokked over this code 2x line by line and cannot find what you posted
Running Rc4

sattninja

ok i reinstalled smf and i am using the sharp curve them i found the line in the default themes folder and the sharp curve and made the edit in bot index.template.php files and logo still not centered any other ideas
Running Rc4

Kill Em All



My Site: KEAGaming.com

Manual Installation of Mods
Prevent Spam and Forum Attacks
Please do not PM or email me for support unless offered, help should be publicly displayed to others.

Advertisement: