The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

Changing the NavBar text

View previous topic View next topic Go down

Solved Changing the NavBar text

Post by Ramdaman on October 7th 2014, 12:20 pm

Hi,

Im using a phpBB3 forum and i'd like to know how to change "Calender" to "Kalendar"

And "Nuk Keni Mesazh te ri" (You people have no new messages) to "Nuk ke mesazh tė ri" (You have no new messages.)

Link to forum: http://www.ndejfme.forumotion.com/

Thank you Smile


Last edited by Ramdaman on October 7th 2014, 8:27 pm; edited 1 time in total

Ramdaman
Active Poster

Male Posts : 1614
Reputation : 96
Language : English, Albanian, Macedonian, Russian | HTML, CSS
Location : New York City

http://ndihme.forumotion.com/forum

Back to top Go down

Solved Re: Changing the NavBar text

Post by _Twisted_Mods_ on October 7th 2014, 4:25 pm

add this to your css stylesheet

Code:
a.mainmenu[href*="/calendar"] img{display: none;}
a.mainmenu[href*="/calendar"]:after{content: "Kalendar";}

_Twisted_Mods_
Helper
Helper

Male Posts : 2020
Reputation : 299
Language : English
Location : Ms

http://liquidcode.forumotion.com

Back to top Go down

Solved Re: Changing the NavBar text

Post by Ramdaman on October 7th 2014, 7:04 pm

That doesn't work. It shows "CalenderKalendar"

Ramdaman
Active Poster

Male Posts : 1614
Reputation : 96
Language : English, Albanian, Macedonian, Russian | HTML, CSS
Location : New York City

http://ndihme.forumotion.com/forum

Back to top Go down

Solved Re: Changing the NavBar text

Post by _Twisted_Mods_ on October 7th 2014, 7:43 pm

yea somthings going on with the css styleseets because 1 sec it works i refreash and it dont work also stuff keeps moving around on my forum

_Twisted_Mods_
Helper
Helper

Male Posts : 2020
Reputation : 299
Language : English
Location : Ms

http://liquidcode.forumotion.com

Back to top Go down

Solved Re: Changing the NavBar text

Post by _Twisted_Mods_ on October 7th 2014, 8:01 pm

you can look at my site right now this is code im useing


Code:
a.mainmenu[href*="/calendar"] img{
  display: none;
}
a.mainmenu[href*="/calendar"]:after{
  content: "Kalendar";
}

_Twisted_Mods_
Helper
Helper

Male Posts : 2020
Reputation : 299
Language : English
Location : Ms

http://liquidcode.forumotion.com

Back to top Go down

Solved Re: Changing the NavBar text

Post by Ange Tuteur on October 7th 2014, 8:16 pm

thetwistedkilla, in your first rule's selector you're selecting an image. ( e.g. <img> ) For text based navigations you can set the font-size to 0, and on the new content set the font-size to the default.

Try this, Ramdaman :
Code:
a.mainmenu[href="/calendar"] { font-size:0 }
a.mainmenu[href="/calendar"]:after {
  content:"Kalendar";
  font-size:11px;
}

Ange Tuteur
Forumaster

Male Posts : 13021
Reputation : 2684
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

Solved Re: Changing the NavBar text

Post by _Twisted_Mods_ on October 7th 2014, 8:21 pm

i selected the img because the title of the image is the text

_Twisted_Mods_
Helper
Helper

Male Posts : 2020
Reputation : 299
Language : English
Location : Ms

http://liquidcode.forumotion.com

Back to top Go down

Solved Re: Changing the NavBar text

Post by Ange Tuteur on October 7th 2014, 8:25 pm

thetwistedkilla wrote:i selected the img because the title of the image is the text
His forum is using a text based navigation. If you inspect the navlinks on his forum you will notice that those image elements are hidden. That is why the texts duplicate into "CalendarKalendar."

Ange Tuteur
Forumaster

Male Posts : 13021
Reputation : 2684
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

Solved Re: Changing the NavBar text

Post by Ramdaman on October 7th 2014, 8:26 pm

Thank you, that works Smile

Ramdaman
Active Poster

Male Posts : 1614
Reputation : 96
Language : English, Albanian, Macedonian, Russian | HTML, CSS
Location : New York City

http://ndihme.forumotion.com/forum

Back to top Go down

Solved Re: Changing the NavBar text

Post by Ange Tuteur on October 7th 2014, 8:28 pm

You're welcome

Topic archived

Ange Tuteur
Forumaster

Male Posts : 13021
Reputation : 2684
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum