links_side.html: change link color/hover

Kein Support auf phpBB Styles direkt!
No support directly to phpBB Styles!

Post Reply

Topic author
megges
Active Member
Posts: 4
Joined: 27. September 2011 23:37

links_side.html: change link color/hover

Post 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")
Last edited by megges on 1. April 2012 11:23, edited 1 time in total.

Topic author
megges
Active Member
Posts: 4
Joined: 27. September 2011 23:37

Re: links_side.html: change link color/hover

Post by megges »

an idea, anyone?
User avatar

archivar
Portal Professional
Posts: 1959
Joined: 19. April 2009 21:34
phpBB.de User: archivar
phpBB.com User: archivar
Location: Deutschland

Re: links_side.html: change link color/hover

Post 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}"
V.G. archivar
sorry for my bad english
Post Reply

Return to “Styles Support”