Solved

Trying to modify links within a Custom lIst web part on a homepage. I'm trying to changer their hyperlink colors.

Posted on 2015-01-20
1
90 Views
Last Modified: 2015-03-31
I have used.

ms-listviewtable ms-basictable td.ms-vb2 a, a:link, a:visited {
color: #ffffff !important;
padding-left:10px;
}

Open in new window

''It works but it effect every link one on the page.
I used FG12 and Firebug to isolate the calss but it;s some table with some long GUID ID.
Is there a way to isolate the css just to that imported APP Part with a Custom Lis it in.

Thank you in advance.
0
Comment
Question by:colonelblue
1 Comment
 
LVL 2

Accepted Solution

by:
kaustic earned 500 total points
Comment Utility
Yep love the nested classes. You may end up using SharePoint Designer and a Data View Web Part. If you've never done it you will be surprised how easy it will be to style your stuff.

Alternatively you could find a pattern unique to that web part. You can access the buried stuff with multiple classes using a single selector.  Something like this:

.ms-listviewtable.ms-basictable td.ms-vb2 a, a:link, a:visited {
color: #ffffff !important;
padding-left:10px;
}

Note that you are joining the two classes with a period. If you do it right you shouldn't need the !important.
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Note:  There are two main ways to deploy InfoPath forms:  Server-side and directly through the SharePoint site.  Deploying a server-side InfoPath form means the form is approved by the Administrator, thus allowing greater functionality in the form. …
I thought I'd write this up for anyone who has a request to create an anonymous whistle-blower-type submission form created using SharePoint 2010 (this would probably work the same for 2013). It's not 100% fool-proof but it's as close as you can get…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now