He went back to the old name of the menu.

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 : 1692
Reputation : 15
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 : 1692
Reputation : 15
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 : 1692
Reputation : 15
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 : 5370
Reputation : 580
Language : Greek, English
Location : Greece

https://www.crossroadz.net

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 : 1692
Reputation : 15
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
avatar
Derri
Helper
Helper

Male Posts : 8712
Reputation : 628
Language : English & Basic French
Location : Scotland, United Kingdom

Back to top Go down

Back to top


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