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.

He went back to the old name of the menu.

View previous topic View next topic Go down

Solved He went back to the old name of the menu.

Post by smurfavr on July 9th 2014, 1:11 am

He went back to the old name of the menu. When I did everything worked, but today an inscription changed.

http://help.forumotion.com/t130229-how-can-i-change-the-caption-of-the-button-on-my-site

In javascript I have this code.
Code:
$(document).ready(function() {
  // Index
  document.getElementById('i_icon_mini_index').nextSibling.nodeValue='Форум';
  // Portal
  document.getElementById('i_icon_mini_portal').nextSibling.nodeValue='Сайт';
});

In CSS have this code.
Code:
a.mainmenu[href="/portal"] { font-size:0; }
a.mainmenu[href="/portal"]:after {
font-size:11px;
content:"Сайт";
}
a.mainmenu[href="/"] { font-size:0; }
a.mainmenu[href="/"]:after {
font-size:11px;
content:"Форум";
}

I had to uncheck the box to not show all the pages in order to fix the problem. Before your bookmarks had to be on all pages to work. Why.
avatar
smurfavr
Active Poster

Male Posts : 1562
Reputation : 13
Language : Bulgarian

http://smurfa.bulgarianforum.net/

Back to top Go down

Solved Re: He went back to the old name of the menu.

Post by smurfavr on July 15th 2014, 4:38 pm

Does anyone know why it happened?
avatar
smurfavr
Active Poster

Male Posts : 1562
Reputation : 13
Language : Bulgarian

http://smurfa.bulgarianforum.net/

Back to top Go down

Solved Re: He went back to the old name of the menu.

Post by smurfavr on July 20th 2014, 5:15 am

up
avatar
smurfavr
Active Poster

Male Posts : 1562
Reputation : 13
Language : Bulgarian

http://smurfa.bulgarianforum.net/

Back to top Go down

Solved Re: He went back to the old name of the menu.

Post by Luffy on July 21st 2014, 3:34 pm

Hello,

Replace the CSS code with the below and see if it works:
Code:
a.mainmenu[href="/portal"] { font-size:0; }
a.mainmenu[href="/portal"]:after {
font-size:11px !important;
content:"Сайт" !important;
}
a.mainmenu[href="/"] { font-size:0; }
a.mainmenu[href="/"]:after {
font-size:11px !important;
content:"Форум" !important;
}





avatar
Luffy
Manager
Manager

Male Posts : 4782
Reputation : 484
Language : Greek, English
Location : Greece

http://vibes.forumotion.com/

Back to top Go down

Solved Re: He went back to the old name of the menu.

Post by smurfavr on July 22nd 2014, 1:14 pm

Thank you. Works. thumright
avatar
smurfavr
Active Poster

Male Posts : 1562
Reputation : 13
Language : Bulgarian

http://smurfa.bulgarianforum.net/

Back to top Go down

Solved Re: He went back to the old name of the menu.

Post by Derri on July 22nd 2014, 1:27 pm

Topic Solved and Locked


Forum Rules: :Forumotion Staff: :Appeal A Warning: :FAQ: :Tips & Tricks: :Forgotten Password/Login Issues
You need one post to send a PM
When your topic has been solved, ensure you mark the topic solved
Never post your email in public

avatar
Derri
Administrator
Administrator

Male Posts : 8557
Reputation : 607
Language : English & Basic French
Location : Scotland, United Kingdom

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