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

    How to remove the forum main logo from the portal?

    yayayes
    yayayes
    Forumember


    Female Posts : 49
    Reputation : 1
    Language : Thai
    Location : Bangkok, London & Hong Kong

    Solved How to remove the forum main logo from the portal?

    Post by yayayes November 26th 2014, 8:56 am

    Hello guys, I'm wondering if it's possible to remove the forum main logo only from the portal page? (not the main page please) Any help would be appreciated, thanks! 

    My Forum: http://thelostedencode.forumth.com/
    My Portal Page: http://thelostedencode.forumth.com/portal
    Forum Version: Invision

    How to remove the forum main logo from the portal? ScreenShot2014-11-26at14254PMcopy
    _Twisted_Mods_
    _Twisted_Mods_
    Helper
    Helper


    Male Posts : 2083
    Reputation : 336
    Language : English
    Location : Ms

    Solved Re: How to remove the forum main logo from the portal?

    Post by _Twisted_Mods_ November 26th 2014, 9:17 am

    goto acp>modules>javascript managment

    create a new javascript

    title:whatever you line
    pages: portal

    add this code



    Code:
    $(function(){if(window.location.pathname == "/portal"){$('#logo').css('display','none')};});
    yayayes
    yayayes
    Forumember


    Female Posts : 49
    Reputation : 1
    Language : Thai
    Location : Bangkok, London & Hong Kong

    Solved Re: How to remove the forum main logo from the portal?

    Post by yayayes November 26th 2014, 9:29 am

    that works very well _Twisted_Mods_! Thank you very much.
    Do you think it's possible to hide the row title and announcement bar as well (on portal)?

    How to remove the forum main logo from the portal? ScreenShot2014-11-26at22759PM
    very appreciate it, Thankyou ^^
    _Twisted_Mods_
    _Twisted_Mods_
    Helper
    Helper


    Male Posts : 2083
    Reputation : 336
    Language : English
    Location : Ms

    Solved Re: How to remove the forum main logo from the portal?

    Post by _Twisted_Mods_ November 26th 2014, 9:47 am

    not sure what u mean by row tite.... and the announcement can be removed in the acp>general>announcements
    yayayes
    yayayes
    Forumember


    Female Posts : 49
    Reputation : 1
    Language : Thai
    Location : Bangkok, London & Hong Kong

    Solved Re: How to remove the forum main logo from the portal?

    Post by yayayes November 26th 2014, 10:14 am

    By row title I mean this red bar underneath the forum main logo. I would like to remove it only from the portal page if that is possible, Thanks. Smile 

    How to remove the forum main logo from the portal? ScreenShot2014-11-26at22545PM
    _Twisted_Mods_
    _Twisted_Mods_
    Helper
    Helper


    Male Posts : 2083
    Reputation : 336
    Language : English
    Location : Ms

    Solved Re: How to remove the forum main logo from the portal?

    Post by _Twisted_Mods_ November 26th 2014, 10:39 am

    this will remove all 3 items  just replace the last code i gave you with this one

    $(function(){
      if(window.location.pathname == "/portal"){
     
      $('#logo').css('display','none');
      $('#submenu').css('display','none');
          $('#fa_ticker_block').css('display','none');
    }
      });
    yayayes
    yayayes
    Forumember


    Female Posts : 49
    Reputation : 1
    Language : Thai
    Location : Bangkok, London & Hong Kong

    Solved Re: How to remove the forum main logo from the portal?

    Post by yayayes November 26th 2014, 10:58 am

    Thanks dear!
    _Twisted_Mods_
    _Twisted_Mods_
    Helper
    Helper


    Male Posts : 2083
    Reputation : 336
    Language : English
    Location : Ms

    Solved Re: How to remove the forum main logo from the portal?

    Post by _Twisted_Mods_ November 26th 2014, 11:04 am

    anytime if you need anything else ill be more then glad to help
    Ramdaman
    Ramdaman
    Active Poster


    Male Posts : 1590
    Reputation : 99
    Language : English, Albanian, Macedonian, Russian | HTML, CSS
    Location : New York City

    Solved Re: How to remove the forum main logo from the portal?

    Post by Ramdaman November 26th 2014, 11:22 am

    Nice work Twisted, though I advise you always put the codes in a code bbcode Smile

    Topic solved and archived.

      Current date/time is November 11th 2024, 2:19 pm