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
101 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
ID: 40563626
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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Last week I faced a strange issue recently, i have deployed SharePoint 2003 servers for one project and one of the requirements was to open SharePoint site from same server. when i was trying to open site from the same server i was getting authentic…
These days socially coordinated efforts have turned into a critical requirement for enterprises.
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

726 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