Fórum

slogan...please help!

saly adam, modificado 13 Anos atrás.

slogan...please help!

Junior Member Postagens: 37 Data de Entrada: 17/04/11 Postagens Recentes
hello,

i have a problem with liferay which is :
how to add a slogan beside the logo in liferay 6
i don't want the way that say:make a transparent image of logo and slogan
and save it with png extension coz i don't know how to use any photo editor program even photoshop!

can anybody help me in that ...please?
thx in advance
thumbnail
Hitoshi Ozawa, modificado 13 Anos atrás.

RE: slogan...please help!

Liferay Legend Postagens: 7942 Data de Entrada: 24/03/10 Postagens Recentes
Modify portal_normal.vm in the classic theme.
webapps\ROOT\html\themes\classic\templates\portal\normal.vm

<h1 class="company-title">
<a class="logo" href="$company_url" title="#language("go-to") $company_name">
<span>$company_name</span>
</a>
</h1>
saly adam, modificado 13 Anos atrás.

RE: slogan...please help!

Junior Member Postagens: 37 Data de Entrada: 17/04/11 Postagens Recentes
i tried it but did not work!
my company slogan is :"together we build the future"
iam a trainee in the company

they asked me to design a portal for hr dept. the logo and the slogan of the company must appear in header instead liferay logo
now i changed the logo successfully but the problem with slogan
thumbnail
Hitoshi Ozawa, modificado 13 Anos atrás.

RE: slogan...please help!

Liferay Legend Postagens: 7942 Data de Entrada: 24/03/10 Postagens Recentes
It's working for me. (Should really be using css instead of <table>)

<header id="banner" role="banner">
<hgroup id="heading">
<h1 class="company-title">
<table><tr><td>
<a class="logo" href="$company_url" title="#language("go-to") $company_name">
<span>$company_name</span>
</a></td>
<td valign="middle">together we build the future</td>
</tr></table>
</h1>
saly adam, modificado 13 Anos atrás.

RE: slogan...please help!

Junior Member Postagens: 37 Data de Entrada: 17/04/11 Postagens Recentes
great! it worked...thank you alot

but i have another question please...
i want the slogan to be in larger size ,also there is no space between the logo and the slogan ,i want it to be in the center of the banner(alittle space between logo and slogan)
is it possible??
thumbnail
Hitoshi Ozawa, modificado 13 Anos atrás.

RE: slogan...please help!

Liferay Legend Postagens: 7942 Data de Entrada: 24/03/10 Postagens Recentes
i want the slogan to be in larger size ,also there is no space between the logo and the slogan ,i want it to be in the center of the banner(alittle space between logo and slogan)


You can set the width of the table and td cell and align the td cell to center.
e.g.
<table width="500">


<td width="400" align="center">
saly adam, modificado 13 Anos atrás.

RE: slogan...please help!

Junior Member Postagens: 37 Data de Entrada: 17/04/11 Postagens Recentes
yes ,it worked ,one more thx mr.ozawa ,you helped me alot

but how about the size ?
i put the font size inportal_normal.vm as the following:

<td width="400" align="center"><p style="font-size:30";>together we build the future</p></td>

but it did not work!

any ideas??
thumbnail
Hitoshi Ozawa, modificado 13 Anos atrás.

RE: slogan...please help!

Liferay Legend Postagens: 7942 Data de Entrada: 24/03/10 Postagens Recentes
<td width="400" align="center"><p style="font-size:30";>together we build the future</p></td>


That's because the css is being overwritten. You'll have to use the <font size="n">

<td width="400" align="center"><font size="3">together we build the future</font></td>[/
saly adam, modificado 13 Anos atrás.

RE: slogan...please help!

Junior Member Postagens: 37 Data de Entrada: 17/04/11 Postagens Recentes
thanks very very much ,it worked successfully
but i have another question pleaseemoticon

i added rss portlet to my portal website ,i changes the url in it to the following url:
http://newsrss.bbc.co.uk/weather/forecast/245/Next3DaysRSS.xml

but the following appear (see attached image)

although when i type in internet explorer url :
http://newsrss.bbc.co.uk/weather/forecast/245/Next3DaysRSS.xml

its open successfully

so, whats the problem??
thumbnail
Hitoshi Ozawa, modificado 13 Anos atrás.

RE: slogan...please help!

Liferay Legend Postagens: 7942 Data de Entrada: 24/03/10 Postagens Recentes
If you're going to ask a new question that's not related to the Subject of a thread, please post a new thread.