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.

How can I change the caption of the button on my site.

View previous topic View next topic Go down

Solved How can I change the caption of the button on my site.

Post by smurfavr on February 2nd 2014, 11:38 pm

How can I change the caption of the button on my site.These two inscriptions which I have marked in the picture how I can change them with another name.


smurfavr
Active Poster

Male Posts : 1419
Reputation : 13
Language : Bulgarian

http://smurfa.bulgarianforum.net/

Back to top Go down

Solved Re: How can I change the caption of the button on my site.

Post by SLGray on February 3rd 2014, 12:23 am



When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.


SLGray
Administrator
Administrator

Male Posts : 36673
Reputation : 2445
Language : English
Location : United States

http://ztwds.forumotion.com/

Back to top Go down

Solved Re: How can I change the caption of the button on my site.

Post by smurfavr on February 3rd 2014, 12:34 am

I did so, but the name of the button does not change.

Code:
$(function() {
document.getElementById('i_icon_mini_Индекс ').nextSibling.nodeValue='Форум';
});

smurfavr
Active Poster

Male Posts : 1419
Reputation : 13
Language : Bulgarian

http://smurfa.bulgarianforum.net/

Back to top Go down

Solved Re: How can I change the caption of the button on my site.

Post by SLGray on February 3rd 2014, 12:46 am

Are you sure that it is i_icon_mini_Индекс?

It should be i_icon_mini_index.


When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.


SLGray
Administrator
Administrator

Male Posts : 36673
Reputation : 2445
Language : English
Location : United States

http://ztwds.forumotion.com/

Back to top Go down

Solved Re: How can I change the caption of the button on my site.

Post by smurfavr on February 3rd 2014, 12:50 am

I did not understand what you ask.

smurfavr
Active Poster

Male Posts : 1419
Reputation : 13
Language : Bulgarian

http://smurfa.bulgarianforum.net/

Back to top Go down

Solved Re: How can I change the caption of the button on my site.

Post by SLGray on February 3rd 2014, 12:50 am

Code:
  $(function() {
  document.getElementById('i_icon_mini_index').nextSibling.nodeValue='Форум';
  });


When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.


SLGray
Administrator
Administrator

Male Posts : 36673
Reputation : 2445
Language : English
Location : United States

http://ztwds.forumotion.com/

Back to top Go down

Solved Re: How can I change the caption of the button on my site.

Post by smurfavr on February 3rd 2014, 12:55 am

I do not understand what you typed. I use gogle translator.I want to do it as I gave it in the code.

Code:
$(function() {
document.getElementById('i_icon_mini_Индекс').nextSibling.nodeValue='Форум';
});

smurfavr
Active Poster

Male Posts : 1419
Reputation : 13
Language : Bulgarian

http://smurfa.bulgarianforum.net/

Back to top Go down

Solved Re: How can I change the caption of the button on my site.

Post by SLGray on February 3rd 2014, 12:56 am

@SLGray wrote:
Code:
  $(function() {
  document.getElementById('i_icon_mini_index').nextSibling.nodeValue='Форум';
  });


When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.


SLGray
Administrator
Administrator

Male Posts : 36673
Reputation : 2445
Language : English
Location : United States

http://ztwds.forumotion.com/

Back to top Go down

Solved Re: How can I change the caption of the button on my site.

Post by smurfavr on February 3rd 2014, 12:58 am

I put the code you gave me but it did not change.

http://smurfa.bulgarianforum.net/

smurfavr
Active Poster

Male Posts : 1419
Reputation : 13
Language : Bulgarian

http://smurfa.bulgarianforum.net/

Back to top Go down

Solved Re: How can I change the caption of the button on my site.

Post by Ange Tuteur on February 3rd 2014, 2:51 am

Hello smurfavr,

Have you made sure to apply the code to all pages ?

Code:
$(document).ready(function() {
  // Index
  document.getElementById('i_icon_mini_index').nextSibling.nodeValue='INDEX TEXT';
  // Portal
  document.getElementById('i_icon_mini_portal').nextSibling.nodeValue='PORTAIL TEXT';
});

Ange Tuteur
Forumaster

Male Posts : 13028
Reputation : 2704
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

Solved Re: How can I change the caption of the button on my site.

Post by smurfavr on February 4th 2014, 1:50 pm

I put the code but it does not change.



Code:
$(document).ready(function() {
// Index
document.getElementById('i_icon_mini_index').nextSibling.nodeValue='Форум';
// Portal
document.getElementById('i_icon_mini_portal').nextSibling.nodeValue='Саит';
});


smurfavr
Active Poster

Male Posts : 1419
Reputation : 13
Language : Bulgarian

http://smurfa.bulgarianforum.net/

Back to top Go down

Solved Re: How can I change the caption of the button on my site.

Post by Ange Tuteur on February 4th 2014, 1:56 pm

Okay lets try with CSS then.

Add this to your CSS stylesheet :
Code:
a.mainmenu[href="/portal"] { font-size:0; }
a.mainmenu[href="/portal"]:after {
font-size:10px;
content:"PORTAL TEXT";
}
a.mainmenu[href="/"] { font-size:0; }
a.mainmenu[href="/"]:after {
font-size:10px;
content:"INDEX TEXT";
}

Ange Tuteur
Forumaster

Male Posts : 13028
Reputation : 2704
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

Solved Re: How can I change the caption of the button on my site.

Post by smurfavr on February 4th 2014, 2:16 pm

Thank you very much Ange Tuteur thumright

solved.

smurfavr
Active Poster

Male Posts : 1419
Reputation : 13
Language : Bulgarian

http://smurfa.bulgarianforum.net/

Back to top Go down

Solved Re: How can I change the caption of the button on my site.

Post by Ange Tuteur on February 4th 2014, 2:21 pm

You're welcome I love you

Topic solved and archived

Ange Tuteur
Forumaster

Male Posts : 13028
Reputation : 2704
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