Zero2Cool
  • Posts: 1082
  • Joined: 26/04/2011
I'm modifying the "So Clean, So Fresh" theme, but failing to figure out which CSS class is dedicated to hyperlinks within the message content. Could someone point this out to me?

When I change the following...
.yafnet a		
{ 
	text-decoration: none; 
	color: #c90630; 
}


It changes the a vast portion of links within the forum, including forum names, userlinks, etc.
Sponsor
RichP714
  • Posts: 262
  • Joined: 20/01/2009
Links within a post are

/* links inside posts*/
.yafnet .message a { color: #9f9f9f; text-decoration: underline; }
.yafnet .message a:hover { color: #efefb4; text-decoration: none; }

Enjoy!

Running YAF 1.9.5.5 final at: http://thecarversite.com 
Zero2Cool
  • Posts: 1082
  • Joined: 26/04/2011
Originally Posted by: RichP714 

Links within a post are

/* links inside posts*/
.yafnet .message a { color: #9f9f9f; text-decoration: underline; }
.yafnet .message a:hover { color: #efefb4; text-decoration: none; }


That's what I was looking for, haha. I had to add it. Thank you!!
Zero2Cool
  • Posts: 1082
  • Joined: 26/04/2011
I'm modyfying one of the RedGrey theme's and I've come across this once again.

This only works ...
/* links inside posts */
.yafnet .message a { color: #001500; text-decoration: none; }
.yafnet .message a:hover	{ color: #008500; text-decoration: underline; }


When this is commented out.
/* all links */
.yafnet .content a { color: #006600; font-size: 16px;text-decoration: none; }
.yafnet .content a:hover	{ 	color: #009401; 	text-decoration: underline; }




Edit, adding !important to the .message class snippet seems to have worked.
Users browsing this topic
    Forum Jump  
    • You cannot post new topics in this forum.
    • You cannot reply to topics in this forum.
    • You cannot delete your posts in this forum.
    • You cannot edit your posts in this forum.
    • You cannot create polls in this forum.
    • You cannot vote in polls in this forum.

    About Us

    The YAF.NET is an open source .NET forum project. YAF.NET is supported by an team of international developers who are build community by building community software.

    Powered by Resharper Donate with PayPal button

    Project Twitter Updates

    Copyright © YetAnotherForum.NET & Ingo Herbote. All rights reserved