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.

Remove button

View previous topic View next topic Go down

Solved Remove button

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

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

tnx


paor
Forumember

Posts : 194
Reputation : -2
Language : Croatian

http://poljoprivredni-forum.biz

Back to top Go down

Solved Re: Remove button

Post by Guest on 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.

Guest
Guest


Back to top Go down

Solved Re: Remove button

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

tnx for replay

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


paor
Forumember

Posts : 194
Reputation : -2
Language : Croatian

http://poljoprivredni-forum.biz

Back to top Go down

Solved Re: Remove button

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

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

Guest
Guest


Back to top Go down

Solved Re: Remove button

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

implementing this code both buttons are visible

paor
Forumember

Posts : 194
Reputation : -2
Language : Croatian

http://poljoprivredni-forum.biz

Back to top Go down

Solved Re: Remove button

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

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

Guest
Guest


Back to top Go down

Solved Re: Remove button

Post by sivastar on 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
Forumember

Male Posts : 116
Reputation : 14
Language : Tamil
Location : Malaysia

http://www.eegarai.net

Back to top Go down

Solved Re: Remove button

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

You know, you all are welcome. Smile

Guest
Guest


Back to top Go down

Solved Re: Remove button

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

tnx coddy

solved

paor
Forumember

Posts : 194
Reputation : -2
Language : Croatian

http://poljoprivredni-forum.biz

Back to top Go down

Solved Re: Remove button

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

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

Jophy
ForumGuru

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

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