Help with CSS
RocketFoot Offline
Senior Member
****
Posts: 338
Joined: Jul 2010
Post: #1
Help with CSS
Can anyone lend me a hand coding some CSS?  So far, I have this:

Code:
1
2
3
4
5
6
background: #ADCBE7;
	border-top: 2px solid #0F5C8E;
	border-bottom: 2px solid #0F5C8E;
	text-align: left;
	margin: 10px auto;
	padding: 5px 20px;


But I need to add some bits to force link colors just for this part.  I tried a few a:link and such but I am doing it wrong.  It's for the latest news ticker on my index page, but it is pulling the link css from the main page and not working well with the colors.


[Image: gallery_2_628_39582.jpg]
(This post was last modified: 12-11-2011 02:55 AM by RocketFoot.)
12-11-2011 02:46 AM
Find all posts by this user Quote this message in a reply
MattR Offline
Junior Member
**
Posts: 40
Joined: Jul 2010
Post: #2
RE: Help with CSS
Can't do much with that as you haven't posted the class name that code's in, but you'd just need to set the colour in a '.class_name a' selector and maybe use !important on the style to force it.
12-11-2011 04:47 AM
Find all posts by this user Quote this message in a reply
RocketFoot Offline
Senior Member
****
Posts: 338
Joined: Jul 2010
Post: #3
RE: Help with CSS
Yeah, that's what I was afraid of...I don't know the class name as the css is entered in the settings for the plugin.  (see screen cap)  The plugin is Ajax/RSS Ticker found here: http://mods.mybb.com/view/ajax-rss-ticker


Attached File(s) Thumbnail(s)
   

[Image: gallery_2_628_39582.jpg]
12-11-2011 11:21 PM
Find all posts by this user Quote this message in a reply
RateU Offline
Administrator
*******
Posts: 2,350
Joined: Mar 2010
Post: #4
RE: Help with CSS
If the plugin doesn't provide a default class, maybe you need to add it manually.

12-13-2011 01:17 AM
Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

 Standard Tools
Forum Jump: