Vista combinada Visión Plana Vista de árbol
Discusiones [ Anterior | Siguiente ]
toggle
Givika valluri
Background image for body
24 de abril de 2012 3:26
Respuesta

Givika valluri

Ranking: Junior Member

Mensajes: 49

Fecha de incorporación: 29 de marzo de 2012

Mensajes recientes

Hi,

How can i set the background image for portal body .

please give me some idea. i need a help.


Thanks in Advance
Ravi Kumar Gupta
RE: Background image for body
24 de abril de 2012 3:54
Respuesta

Ravi Kumar Gupta

Ranking: Liferay Legend

Mensajes: 1303

Fecha de incorporación: 23 de junio de 2009

Mensajes recientes

You can change in the css of your theme. custom.css file in your custom theme. Put the image in images folder in theme and add the rule in css.
Givika valluri
RE: Background image for body
24 de abril de 2012 8:22
Respuesta

Givika valluri

Ranking: Junior Member

Mensajes: 49

Fecha de incorporación: 29 de marzo de 2012

Mensajes recientes

..
Hi Ravi

Thanks a lot but i want to keep background image in portal page but where i have to customize?

can you explain briefly,so that i can implement

Thanks
Ravi Kumar Gupta
RE: Background image for body
24 de abril de 2012 10:09
Respuesta

Ravi Kumar Gupta

Ranking: Liferay Legend

Mensajes: 1303

Fecha de incorporación: 23 de junio de 2009

Mensajes recientes

The recommended way would be to create a new theme and set the background of your choice. See this to create a theme Learn how to create a theme here, if you have any problem with that theme, let us know.

Once theme is created, apply that to the page/site and you should be able to see the background properly.

Another way can be to modify webapps/root/html/themes/classic/css/*.css files to change to appropriate background. Add your image in the images folder in classic theme. I won't recommend that though.
Hitoshi Ozawa
RE: Background image for body
24 de abril de 2012 16:09
Respuesta

Hitoshi Ozawa

Ranking: Liferay Legend

Mensajes: 7949

Fecha de incorporación: 23 de marzo de 2010

Mensajes recientes

Just go to "Manage" -> "Page" -> "Look and Feel" and select "Regular Browsers", "CSS".
Enter you css here.

e.g.
body{
background-image:url("/html/icons/announcements.png")
}