YaBB Community and Support Forum
YaBB Home About YaBB Download YaBB YaBB Support Customize Your Forum Development Contribute to the Project
  Welcome, Guest. Please Login or Register


 
Page Index Toggle Pages: 1
Topic Tools
 
Changing link colour (Read 1,834 times)
 Mar 13th, 2011 at 3:35pm
There are no actions to perform.  

Titusaduxas 
YaBB Newbie
*
Offline
Posts: 14


None
Changing link colour
Hi
Apologies in advance as I am sure this must have been asked loads of times before but I just cant seem to find the posts.
So far I have managed to do all the mods to templates and style sheets but cannot figure out how to change the title link colour  Embarrassed. I should be able to but I am struggling. The screenshot shows the links and headings I need to change, I have to change the colour globaly as it does not show up well on the dark background. If the image is not clear the board can be viewed here:-

http://eurolures.co.uk/yabb/YaBB.pl.

Hope someone can put me out of my misery as I am growing old trying to find the coding.

TA

...
 
 
IP Logged  
 Reply #1 - Mar 13th, 2011 at 4:57pm
There are no actions to perform.  

Derek Barnstorm 
Support Team
YaBB Next Team
Development Team
Beta Testers
****
Offline
Posts: 1,269
United Kingdom


YaBB 2.5
Re: Changing link colour
Hi,

The first part of your style sheet:

Code (CSS)Select All
a {
	font-weight: normal;
	color: #333366;
	font-family: Verdana, Arial, Sans-Serif;
	text-decoration: none;
}
a:hover {
	color: #000000;
	font-family: Verdana, Arial, Sans-Serif;
	text-decoration: underline;
}
a:visited {
	font-weight: normal;
	color: #333366;
	font-family: Verdana, Arial, Sans-Serif;
} 

 
 
IP Logged  
 Reply #2 - Mar 13th, 2011 at 7:09pm
There are no actions to perform.  

Titusaduxas 
YaBB Newbie
*
Offline
Posts: 14


None
Re: Changing link colour
Derek

Thanks for that, I knew it was something simple but could not grasp it Roll Eyes. Allsorted now  Wink

TA
 
 
IP Logged  
 Reply #3 - Mar 13th, 2011 at 10:26pm
There are no actions to perform.  

Derek Barnstorm 
Support Team
YaBB Next Team
Development Team
Beta Testers
****
Offline
Posts: 1,269
United Kingdom


YaBB 2.5
Re: Changing link colour
You're welcome.
 
 
IP Logged  
 Reply #4 - Jun 18th, 2011 at 12:25am
There are no actions to perform.  

S.P.Robinson 
YaBB Newbie
*
Offline
Posts: 15


YaBB 2.5
Re: Changing link colour
Thanks from me to for this answer.

In a related question, how do you change the size of the forum titles on the index page?
 
 
IP Logged  
 Reply #5 - Jun 18th, 2011 at 5:47pm
There are no actions to perform.  

Derek Barnstorm 
Support Team
YaBB Next Team
Development Team
Beta Testers
****
Offline
Posts: 1,269
United Kingdom


YaBB 2.5
Re: Changing link colour
If you just want to change the title links and not the rest of the text, then the easiest thing to do would be to edit the template file. In BoardIndex.template find:

Code Select All
             {yabb new} <a name="{yabb boardanchor}" href="{yabb boardurl}"><b>{yabb boardname}</b></a><br /> 


And add the highlighted (obviously change the size to suit your needs):

Code Select All
             {yabb new} <a name="{yabb boardanchor}" href="{yabb boardurl}" style="font-size: 20px;"><b>{yabb boardname}</b></a><br /> 

« Last Edit: Jun 18th, 2011 at 5:48pm by Derek Barnstorm »  
 
IP Logged  
 Reply #6 - Jun 18th, 2011 at 10:15pm
There are no actions to perform.  

S.P.Robinson 
YaBB Newbie
*
Offline
Posts: 15


YaBB 2.5
Re: Changing link colour
Thanks! That worked perfect.
 
 
IP Logged  
 Reply #7 - Jun 18th, 2011 at 10:19pm
There are no actions to perform.  

Derek Barnstorm 
Support Team
YaBB Next Team
Development Team
Beta Testers
****
Offline
Posts: 1,269
United Kingdom


YaBB 2.5
Re: Changing link colour
You're very welcome.
 
 
IP Logged  
Page Index Toggle Pages: 1
Topic Tools
 

Get Yet another Bulletin Board at SourceForge.net. Fast, secure and Free Open Source software downloads Support This Project BoardMod - YaBB features and templates YaBB Codex - support on installation and usage YaBB Toolbar for your browser

YaBB Facebook Group Page

Vulnerability Scanner

Valid RSS Valid XHTML Valid CSS Powered by Perl
YaBB Chat and Support Community » Powered by YaBB 3.0 Beta!
YaBB Forum Software © 2000-2011. All Rights Reserved.