1

enter image description hereI have a list view with default settings. When i mouse over on the column of a list, the column back ground color will change to blue as it is the default settings but the text is not highlighting as bold.

How to make the text as bold when i mouse over the column of a list view.

Thanks in advance.

2

Try this css selector for 2010:

tr.ms-itmhover:hover > td

and this for 2013:

.ms-itmHoverEnabled:hover > *{
font-weight: bold;
}

For selected item (remove .s4-itm-selected > *, to only get the effect on hover) use this:

.s4-itm-selected > *, .s4-itm-selected:hover > *{
    font-weight: bold;
}
8
  • Thanks for your answer.But it is only working for selection but not hover. What are those >,* will do ? May 28 '14 at 14:01
  • The first code block is for hover, the second for selection. The "> *" part is telling the browser to apply the rule to any direct child of the object before the ">" May 28 '14 at 14:02
  • It works beautifully when I try it :) What browser do you use for testing it? May 28 '14 at 14:04
  • But hover code is not working.I am attaching a screen shot please take a look. May 28 '14 at 14:06
  • Sorry I thought you where using 2013, I'll have a second look at it May 28 '14 at 14:08

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.