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.

How to remove the forum main logo from the portal?

View previous topic View next topic Go down

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

Post by yayayes on November 26th 2014, 2:56 pm

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


yayayes
Forumember

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

Back to top Go down

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

Post by _Twisted_Mods_ on November 26th 2014, 3:17 pm

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

_Twisted_Mods_
Helper
Helper

Male Posts : 2032
Reputation : 302
Language : English
Location : Ms

http://liquidcode.forumotion.com

Back to top Go down

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

Post by yayayes on November 26th 2014, 3:29 pm

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)?


very appreciate it, Thankyou ^^

yayayes
Forumember

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

Back to top Go down

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

Post by _Twisted_Mods_ on November 26th 2014, 3:47 pm

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

_Twisted_Mods_
Helper
Helper

Male Posts : 2032
Reputation : 302
Language : English
Location : Ms

http://liquidcode.forumotion.com

Back to top Go down

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

Post by yayayes on November 26th 2014, 4:14 pm

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


yayayes
Forumember

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

Back to top Go down

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

Post by _Twisted_Mods_ on November 26th 2014, 4:39 pm

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

_Twisted_Mods_
Helper
Helper

Male Posts : 2032
Reputation : 302
Language : English
Location : Ms

http://liquidcode.forumotion.com

Back to top Go down

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

Post by yayayes on November 26th 2014, 4:58 pm

Thanks dear!

yayayes
Forumember

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

Back to top Go down

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

Post by _Twisted_Mods_ on November 26th 2014, 5:04 pm

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

_Twisted_Mods_
Helper
Helper

Male Posts : 2032
Reputation : 302
Language : English
Location : Ms

http://liquidcode.forumotion.com

Back to top Go down

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

Post by Ramdaman on November 26th 2014, 5:22 pm

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

Topic solved and archived.

Ramdaman
Active Poster

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

http://ndihme.forumotion.com/forum

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