The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Remove button

3 posters

Go down

Solved Remove button

Post by paor April 15th 2012, 9:36 am

how to delete or hide the "New topic" button from the threads page only

tnx

Remove button 2012-018
avatar
paor
Forumember

Posts : 194
Reputation : -2
Language : Croatian

http://poljoprivredni-forum.biz

Back to top Go down

Solved Re: Remove button

Post by Guest April 15th 2012, 10:05 am

Hi!

Add to Javascript codes management:
Code:
$(function(){
$('.topic-actions .buttons a:first').css('display','none');
});
Placement : Only In the topics.
avatar
Guest
Guest


Back to top Go down

Solved Re: Remove button

Post by paor April 15th 2012, 11:35 am

tnx for replay

button just removed from top of page but at bottom still there

Remove button 2012-019
avatar
paor
Forumember

Posts : 194
Reputation : -2
Language : Croatian

http://poljoprivredni-forum.biz

Back to top Go down

Solved Re: Remove button

Post by Guest April 15th 2012, 11:51 am

Replace that code with:
Code:
$(function(){
$('.topic-actions .buttons a img#i_post').css('display','none');
});
avatar
Guest
Guest


Back to top Go down

Solved Re: Remove button

Post by paor April 15th 2012, 12:00 pm

implementing this code both buttons are visible
avatar
paor
Forumember

Posts : 194
Reputation : -2
Language : Croatian

http://poljoprivredni-forum.biz

Back to top Go down

Solved Re: Remove button

Post by Guest April 15th 2012, 12:10 pm

Try this:
Code:
$(function(){
$('img[alt="Post new topic"]').css('display','none');
});
avatar
Guest
Guest


Back to top Go down

Solved Re: Remove button

Post by sivastar April 15th 2012, 12:37 pm

Coddy wrote:Try this:
Code:
$(function(){
$('img[alt="Post new topic"]').css('display','none');
});

Yes... this code working. Thank you Coddy.
sivastar
sivastar
Forumember

Male Posts : 152
Reputation : 16
Language : Tamil
Location : Malaysia

http://www.eegarai.net

Back to top Go down

Solved Re: Remove button

Post by Guest April 15th 2012, 1:29 pm

You know, you all are welcome. Smile
avatar
Guest
Guest


Back to top Go down

Solved Re: Remove button

Post by paor April 15th 2012, 1:57 pm

tnx coddy

solved
avatar
paor
Forumember

Posts : 194
Reputation : -2
Language : Croatian

http://poljoprivredni-forum.biz

Back to top Go down

Solved Re: Remove button

Post by Jophy April 15th 2012, 2:01 pm

Since this thread is marked as solved, this will be moved now.
Jophy
Jophy
ForumGuru

Male Posts : 17924
Reputation : 836
Language : English
Location : Somewhere

Back to top Go down

Back to top


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