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.
The forum of the forums
3 posters

    Remove button

    avatar
    paor
    Forumember


    Posts : 194
    Reputation : -2
    Language : Croatian

    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
    Guest
    Guest


    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
    paor
    Forumember


    Posts : 194
    Reputation : -2
    Language : Croatian

    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
    Guest
    Guest


    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
    paor
    Forumember


    Posts : 194
    Reputation : -2
    Language : Croatian

    Solved Re: Remove button

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

    implementing this code both buttons are visible
    avatar
    Guest
    Guest


    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');
    });
    sivastar
    sivastar
    Forumember


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

    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.
    avatar
    Guest
    Guest


    Solved Re: Remove button

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

    You know, you all are welcome. Smile
    avatar
    paor
    Forumember


    Posts : 194
    Reputation : -2
    Language : Croatian

    Solved Re: Remove button

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

    tnx coddy

    solved
    Jophy
    Jophy
    ForumGuru


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

    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.

      Current date/time is November 13th 2024, 7:11 pm