Chaning color of the text "Login"

absynth

Joined: 2008-08-12
Posts: 2
Posted: Thu, 2008-08-14 07:32

Hello,

I am trying to change the color and font weight of just the word "Login" in top right corner on which ever page it appears.

I tried searching for solutions on this forum but I didn't find any.

I am using Ice theme.

Thank you in advance.

 
absynth

Joined: 2008-08-12
Posts: 2
Posted: Fri, 2008-08-15 02:44

Ok after reading through posts on this forum, I found the following solution.

To change the color of the text "Login" on the main page I modified the file named SystemLink.tpl located inside
/gallery2/modules/core/templates/blocks/

<span class="{$class}">

{if $theme.systemLinks[$linkId].text == "Login"}<span style="font-weight: bold">{/if}
<a href="{g->url
params=$theme.systemLinks[$linkId].params}">{$theme.systemLinks[$linkId].text}</a>
{if $theme.systemLinks[$linkId].text == "Login"}</span>{/if}

</span>

I added the items in bold. added --- style="font-weight: bold" --- after <span...

...but when I try to apply color in addition to bold text, color does not seem to apply.

<span style="font-weight: bold; color: #990000">

I'll keep trying and will post solutions here.

Thanks