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.

Change "Statistics" Text On Homepage

Go down

Solved Change "Statistics" Text On Homepage

Post by inallsorts on November 5th 2013, 10:52 am

Greetings everyone,

Just wondering whether there's a way to change the "Statistics" text on the Homepage.
Here's what I want to change:



I'm running phpBB3.
Thanks In advance for all help given.

inallsorts
Forumember

Posts : 246
Reputation : 8
Language : English

Back to top Go down

Solved Re: Change "Statistics" Text On Homepage

Post by Guest on November 5th 2013, 11:55 am

Code:
$(function() {
var x = $('div.clear + .h3 a')[0];
x.innerHTML = 'New Text';
});
or
Code:
$(function() {
var x = $('.h3 a[href="/statistics"]').get();
for (var i = 0; i < x.length; i++) {
x[i].innerHTML = 'New Text';
};
});

Guest
Guest


Back to top Go down

Solved Re: Change "Statistics" Text On Homepage

Post by inallsorts on November 5th 2013, 12:16 pm

cloner wrote:
Code:
$(function() {
var x = $('div.clear + .h3 a')[0];
x.innerHTML = 'New Text';
});
or
Code:
$(function() {
var x = $('.h3 a[href="/statistics"]').get();
for (var i = 0; i < x.length; i++) {
x[i].innerHTML = 'New Text';
};
});
The second code worked beautifully. Thanks so much for that, truly appreciate It.

Topic solved.
/Topic.

inallsorts
Forumember

Posts : 246
Reputation : 8
Language : English

Back to top Go down

Solved Re: Change "Statistics" Text On Homepage

Post by SLGray on November 5th 2013, 6:28 pm

Topic Solved & Locked


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

avatar
SLGray
Administrator
Administrator

Male Posts : 42715
Reputation : 3008
Language : English
Location : United States

https://fmthemes.forumotion.com/

Back to top Go down

Back to top


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