News:

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

Main Menu

Edit menu bar

Started by shade3134, June 24, 2010, 03:36:05 AM

Previous topic - Next topic

JBlaze

Code (find) Select
?>
Code (replace with) Select
$txt['Lyrics'] = 'Lyrics';
?>
Jason Clemons
Former Team Member 2009 - 2012

shade3134

Hmmm...That's exactly how my code look:

<?php
// Version: 2.0 RC3; Modifications

// Important! Before editing these language files please read the text at the top of index.english.php.
$txt['no_icon'] = 'No icon set';
$txt['Lyrics'] = 'Lyrics';   
?>

JBlaze

Yea, so save it, then clear the forum cache. And voila!
Jason Clemons
Former Team Member 2009 - 2012

shade3134

The bar still isn't showing up. And I did the Admin> Maintenance thing.

Here's a link to my forum: http://sofarhome.com/chat/index.php

See?  :(

Antechinus

Look under server settings in your admin and see what language it says.

shade3134

#25
Doesn't say language anywhere in there:



Here is what shows under my SSI_Examples.php:


Antechinus

Sorry, I was thinking of 1.1.x. In 2.0 it's under Configuration > Languages > Settings.

shade3134


Acans

"The Book of Arantor, 17:3-5
  And I said unto him, thy database query shalt always be sent by the messenger of $smcFunc
  And $smcFunc shall protect you against injections and evil
  And so it came to pass that mysql_query was declared deprecated and even though he says he is not
  dead yet, the time was soon to come to pass when mysql_query shall be gone and no more

shade3134


shade3134

I DID IT!!! Hahahaha. It was admin.english.php AND modifications.english.php.

I downloaded the admin.english.php file to my desktop by accident and decided to open it and I saw the list!! And included the code I needed.

How do I increase the font-size of these menu buttons and spread them out?

Kill Em All

In your index.css look for:

.dropmenu a
{


add after that:
font-size: 15pt

just change 15 to whatever number you want.


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.

shade3134

Thanks that worked! But how to do I decrease the space between the menu bar and my banner?


Kill Em All

Can you please attach your index.template.php.

From what I can tell, it should be as simple as a line or two of code being cut. :)


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.

shade3134


Kill Em All

Ah, sorry. The div tag that is contained there holds important parts of the forum such as if its in maintenance mode and such.


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.

shade3134

So what do I do? I forgot the setting I adjusted to get it that way. It was something relating to the space around the banner...hmm..

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.

shade3134

I'm not sure what that is. But how do I compare my .php files with old ones? Like an easy way to see differences. I could find out that way...Because initially I couldn't get the banner to fit so I made space between it and the main index. It's killing me not knowing which code it is.... :-\

xenovanis

Quote from: shade3134 on June 26, 2010, 04:23:53 AM
I'm not sure what that is. But how do I compare my .php files with old ones? Like an easy way to see differences. I could find out that way...Because initially I couldn't get the banner to fit so I made space between it and the main index. It's killing me not knowing which code it is.... :-\

ConTEXT can help you comparing php files.
"Insanity: doing the same thing over and over again and expecting different results."

Advertisement: