Page 1 of 1

links_side.html: change link color/hover

Posted: 21. January 2012 23:24
by megges
Hi,

installed version of phpbb: 3.0.10
Portal Mod: 2.0.0b1
Style: prosilver
URL: https://wiwileaks.de

I'm trying to change the colors of the Links in the "WiWiLeaks"-Box (links_side.html)
Should be red and for mouseover it should be blue, quasi the inverse of the standard.
I only manage to change the color but without the blue mouseover effect.
Maybe, anyone can help ?

Code: Select all

{$LR_BLOCK_H_L}<!--<!-- IF $S_BLOCK_ICON --><img src="{$IMAGE_SRC}" width="{$IMAGE_WIDTH}" height="{$IMAGE_HEIGHT}" alt="" 

/>&nbsp;<!-- ENDIF -->-->&nbsp;{$TITLE}{$LR_BLOCK_H_R}
	<div class="portal-navigation">
			<ul>
			<!-- BEGIN portallinks -->
				<!-- IF $MODULE_ID eq portallinks.MODULE_ID --><li><a href="{portallinks.LINK_URL}" style="color:#d31141" title="{portallinks.LINK_TITLE}" <!-- IF portallinks.NEW_WINDOW -->onclick="window.open('{portallinks.LINK_URL}'); return false;"<!-- ENDIF -->>{portallinks.LINK_TITLE}</a></li><!-- ENDIF -->
			<!-- END portallinks -->
			</ul>
	</div>
{$LR_BLOCK_F_L}{$LR_BLOCK_F_R}
(just added style="color:#d31141")

Re: links_side.html: change link color/hover

Posted: 1. April 2012 11:23
by megges
an idea, anyone?

Re: links_side.html: change link color/hover

Posted: 2. April 2012 23:31
by archivar
For prosilver:
open: root/styles/prosilver/theme/portal.css
add at the end:

Code: Select all

/* for links_side.html */
a.plink:link{color:#D31141;}
a.plink:visited{color:#D31141;}
a.plink:hover{color:#105289;}
a.plink:active{color:#105289;}
open: root/styles/prosilver/template/portal/modules/links_side.html
Find
Tip: This may be a partial find and not the whole line.

Code: Select all

<a href="{portallinks.LINK_URL}" title="{portallinks.LINK_TITLE}"
Replace with
Tip: Replace the preceding line(s) to find with the following lines.

Code: Select all

<a class="plink" href="{portallinks.LINK_URL}" title="{portallinks.LINK_TITLE}"