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, 2: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, 10:27 pm; edited 1 time in total
avatar
Ramdaman
Active Poster

Male Posts : 1614
Reputation : 97
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, 6:25 pm

add this to your css stylesheet

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

Male Posts : 2032
Reputation : 302
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, 9:04 pm

That doesn't work. It shows "CalenderKalendar"
avatar
Ramdaman
Active Poster

Male Posts : 1614
Reputation : 97
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, 9: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
avatar
_Twisted_Mods_
Helper
Helper

Male Posts : 2032
Reputation : 302
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, 10: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";
}
avatar
_Twisted_Mods_
Helper
Helper

Male Posts : 2032
Reputation : 302
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, 10: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;
}
avatar
Ange Tuteur
Forumaster

Male Posts : 13064
Reputation : 2737
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, 10:21 pm

i selected the img because the title of the image is the text
avatar
_Twisted_Mods_
Helper
Helper

Male Posts : 2032
Reputation : 302
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, 10: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."
avatar
Ange Tuteur
Forumaster

Male Posts : 13064
Reputation : 2737
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, 10:26 pm

Thank you, that works Smile
avatar
Ramdaman
Active Poster

Male Posts : 1614
Reputation : 97
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, 10:28 pm

You're welcome

Topic archived
avatar
Ange Tuteur
Forumaster

Male Posts : 13064
Reputation : 2737
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