Black Pearl Post Links In Stylesheet.css? »  Show posts from    to     

Icy Phoenix


phpBB 3 MODS And Styles (Not Compatible With phpBB 3.1) - Black Pearl Post Links In Stylesheet.css?



victory1 [ Sun 12 Dec, 2010 19:38 ]
Post subject: Black Pearl Post Links In Stylesheet.css?
What do I need to change in the stylesheet.css to have links posted in a topic a different color? Right now every time I change it, it affects other links in the style. I just want the one that people actually use the [url] tags within a post to stand out but somehow it's connected with my link titles in the forum so I had to make it silver when I really wanted it red.


Joshua203 [ Sun 12 Dec, 2010 23:52 ]
Post subject: Re: Black Pearl Post Links In Stylesheet.css?
I think you could try adding a "missing" class to the stylesheet for that:

the class looks like it's allready in use in the bbcode template file but i can not find it in the default css... the class i'm talking about is:

postlink


victory1 [ Mon 13 Dec, 2010 02:38 ]
Post subject: Re: Black Pearl Post Links In Stylesheet.css?
You are right. For some reason the postlink is missing in the Black Pearl CSS, so the link inherits from the other links on your board and make it impossible to change since it affects other things on the board. I fixed it by adding this after .posthilit in the stylesheet.css

Code: [Hide]
  1. .postbody a, a.postlink { 
  2. color: #AF0C1A !important; 


Joshua203 [ Mon 13 Dec, 2010 03:00 ]
Post subject: Re: Black Pearl Post Links In Stylesheet.css?
it's not just missing in black pearl .. it's missing in subsilver! (and as you know black pearl is based on that .... i have not checked prosilver because it was pointless)

i will have a look at your fix later because i went about it another way and got it working too, your way looks a bit shorter than what i did (but this might be because i use a mod that DOES use postlink in the stylesheet, and i just added there [primelinks])

anyway if your fix did the trick it's all just fine i guess


EDIT:
in case you want to know what i did to prime links:

Code: [Hide] [Select]
.postlink {
background:url(window.gif) no-repeat left center;
padding-left:16px;
color: lime;
}

.postlink:hover {
background-image:url(window_a.gif);
color: lime;
}

.pdf_link, .pdf_link:hover {
background:url(pdf.gif) no-repeat left center;
padding-left:14px;
color: lime;
}

a.postlink, a.postlink:visited {
color: lime;
}

a.postlink:hover, a.postlink:active {
color: lime;
}


and i just used lime for quick brainless testing hehehehehe


TheSteffen [ Tue 14 Dec, 2010 11:14 ]
Post subject: Re: [SOLVED] Black Pearl Post Links In Stylesheet.css?
Thanks Joshua203,
great explanation.

Marked topic as solved




Powered by Icy Phoenix