留言板

How can i remove the liferay logo and company name

thumbnail
Ziggy R,修改在14 年前。

How can i remove the liferay logo and company name

Expert 帖子: 293 加入日期: 08-6-8 最近的帖子
How do i remove the liferay logo on the classic theme (liferay.ico) and the company name text as well?
I know it can be changed from controlpanel>settings>displaysettings but this setting only allow changing the logo. I want to completely remove it i.e. not display.

any clues?

--
Ta
thumbnail
Mazhar Anwar,修改在14 年前。

RE: How can i remove the liferay logo and company name

New Member 帖子: 3 加入日期: 07-6-22 最近的帖子
By changing the following property in portal.properties/portal-ext.properties file with new icon .ico file for your theme. Make sure the changed icon is present in your theme's /images folder.

#
# Set the theme's shorcut icon.
#
theme.shortcut.icon=liferay.ico

and company name can be changed from enterprise admin portlet, Setting tab.
It will change the company name for all the communities.


Hope it will help emoticon

Mazhar
thumbnail
Ziggy R,修改在14 年前。

RE: How can i remove the liferay logo and company name

Expert 帖子: 293 加入日期: 08-6-8 最近的帖子
Hi Mazhar,

I didnt want to change the logo to a different logo. What i wanted to do is remove the logo completely from the theme.

Thank
thumbnail
Parul Seth,修改在14 年前。

RE: How can i remove the liferay logo and company name

Junior Member 帖子: 83 加入日期: 08-12-18 最近的帖子
Hi Ziggy

For removing the logo from the theme you need to modify portal_normal.vm inside the templates folder of your theme:

To do so replace display:block with display:none in the following code :
#if ($company_logo != "")
		<style type="text/css">
			/* <![CDATA[ */
				#banner .logo a {
					background: url($company_logo) no-repeat;
					display: block;
					font-size: 0;
					height: ${company_logo_height}px;
					text-indent: -9999em;
					width: ${company_logo_width}px;
				}

				#ie6_png_fix()
			/* ]]> */
		</style>
	#end


Also you can remove the following code:

<h1 class="logo">
			<a class="png" href="$company_url">$company_name</a>

			<span class="current-community">
				$community_name
			</span>
		</h1>


HTH

Parul Seth
Impetus Infotech (India) Pvt. Ltd.
thumbnail
Ziggy R,修改在14 年前。

RE: How can i remove the liferay logo and company name

Expert 帖子: 293 加入日期: 08-6-8 最近的帖子
Thanks parul.. the second option did the trick.
I dont have that "#banner .logo a" stylesheet in my theme. Im using the classic theme. Is that as you would expect? Or does that mean im using an older version of the classic theme?
thumbnail
Parul Seth,修改在14 年前。

RE: How can i remove the liferay logo and company name

Junior Member 帖子: 83 加入日期: 08-12-18 最近的帖子
Hi Ziggy

That was from 5.2.1. So if you are using a higher version its very much possible that this has been re-factored. emoticon

And its better to do it with the second option I gave, because if you don't want the logo to be there its better to remove it.

Just remember that you need to port these changes manually when you upgrade.

HTH

Thanks & Regards
Parul Seth
Impetus Infotech (India) Pvt. Ltd.
bhavana deepthi p,修改在14 年前。

RE: How can i remove the liferay logo and company name

New Member 帖子: 11 加入日期: 09-12-9 最近的帖子
I changed property in portal.properties/portal-ext.properties file with new icon .ico file for your theme.
#
# Set the theme's shorcut icon.
#
theme.shortcut.icon=tomcat.ico

but the Liferay icon is not changed.........
I want to change the Logo of the Liferay and upload my own Logo there.....
thumbnail
Juan Fernández,修改在14 年前。

RE: How can i remove the liferay logo and company name

Liferay Legend 帖子: 1261 加入日期: 08-10-2 最近的帖子
Try this:

in "Control panel" -> "Settings" -> "Display settings" you have a place to edit your logo
Regards
Juan Fernández
thumbnail
Matthew Ropp,修改在14 年前。

RE: How can i remove the liferay logo and company name

Junior Member 帖子: 75 加入日期: 09-8-5 最近的帖子
To replace the liferay icon with the icon of your choice you should deploy a custom theme and replace docroot/_diffs/images/liferay.ico with your preferred icon.

Matthew
bhavana deepthi p,修改在14 年前。

RE: How can i remove the liferay logo and company name

New Member 帖子: 11 加入日期: 09-12-9 最近的帖子
hi,
I am new to liferay.i could not find confirugation in control_panel.can you please give me detail info about how to change the logo of the Liferay.
thumbnail
Gnaniyar Zubair,修改在14 年前。

RE: How can i remove the liferay logo and company name

Liferay Master 帖子: 722 加入日期: 07-12-19 最近的帖子
HI,


Go to Control Panel - Settings - Display Settings ( left side) - change Logo


- Gnaniyar Zubair
thumbnail
Dhrutika parekh,修改在14 年前。

RE: How can i remove the liferay logo and company name

Expert 帖子: 435 加入日期: 09-2-9 最近的帖子
bhavana deepthi p:
hi,
I am new to liferay.i could not find confirugation in control_panel.can you please give me detail info about how to change the logo of the Liferay.


Hi,
Go to control panel->Settings->Display Settings->And there you can change your logo.

Thanks,
Dhrutika Parekh
Cignex Technologies
thumbnail
Juan Fernández,修改在14 年前。

RE: How can i remove the liferay logo and company name

Liferay Legend 帖子: 1261 加入日期: 08-10-2 最近的帖子
bhavana deepthi p:
hi,
I am new to liferay.i could not find confirugation in control_panel.


Hi:
I'm sorry but I translate this word wrong. It isn't "configuration", but "settings".
So you have to go to control panel, in the "portal" section, click on "settings", then "display settings"
That's all
Regards
Juan Fernández
bhavana deepthi p,修改在14 年前。

RE: How can i remove the liferay logo and company name

New Member 帖子: 11 加入日期: 09-12-9 最近的帖子
Thanks for the information.
Done.
Rajendra Mhetre,修改在13 年前。

RE: How can i remove the liferay logo and company name

New Member 帖子: 5 加入日期: 10-2-17 最近的帖子
Hi Matthew,

I am using liferay 6.0.4 and have created my own theme but I could not find the file docroot/_diffs/images/liferay.ico anymore. I need to change the liferay logo using theme only.

Thanks in advance.
thumbnail
Hitoshi Ozawa,修改在13 年前。

RE: How can i remove the liferay logo and company name

Liferay Legend 帖子: 7942 加入日期: 10-3-24 最近的帖子
Take a look at the page below:

http://www.liferay.com/community/forums/-/message_boards/message/4534070#_19_message_4562408
asif aftab,修改在10 年前。

RE: How can i remove the liferay logo and company name

Regular Member 帖子: 123 加入日期: 13-9-2 最近的帖子
Thanks Parul seth, your post is really helpful.
asif aftab
thumbnail
Jignesh Vachhani,修改在14 年前。

RE: How can i remove the liferay logo and company name

Liferay Master 帖子: 803 加入日期: 08-3-10 最近的帖子
Hi Ziggy,

Go to the control panel and upload 1px image instead of liferay logo.
Your problem has been solved through this.

Jigs
Stephen Danseglio,修改在12 年前。

RE: How can i remove the liferay logo and company name

New Member 帖子: 4 加入日期: 11-12-30 最近的帖子
This is not directly related to the subject but I didnt notice how to start a new discussion. In any case, is there some way to change the company logo to a STATIC image so that when you change it to a new logo, the image is NOT clickable? Right now no matter what logo you change it to, it is click-able and directs you to another page, e.g., /web/guest page. I just want it to be static.

Steve
thumbnail
himanshu jain,修改在12 年前。

RE: How can i remove the liferay logo and company name

Junior Member 帖子: 34 加入日期: 11-10-25 最近的帖子
if u want to change logo just go to control panel u can change logo for your community.


If u want to change the default liferay logo which appeared in the url than go to unstyled theme .u find images folder .search for favicon.in and replace it with the desired icon which has same size nd keep the name same....restart the server change get reflect in the url tab.
thumbnail
Olaf Kock,修改在4 年前。

Thread Split

Liferay Legend 帖子: 6403 加入日期: 08-9-23 最近的帖子
I've split this ancient thread and moved the new post from 2019 to https://community.liferay.com/forums/-/message_boards/view_message/113543653.