?
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
Medium Priority
?
104 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 2

Accepted Solution

by:
kaustic earned 2000 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

The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

Question has a verified solution.

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

The Scenario: Let’s say you have a quote worksheet in Excel that you use to work up sales figures and such for your clients. You utilize SharePoint to manage and keep track of these documents. You would like values from your worksheet to populate Sh…
SharePoint Designer 2010 has tools and commands to do everything that can be done with web parts in the browser, and then some – except uploading a web part straight into a page that is edited in SPD. So, can it be done? Scenario For a recent pr…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…

765 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