locked
CSS Styling of Refiners RRS feed

  • Question

  • Do people have access to CSS styling for Refinement Panel? For example, the Refiner label, for colors or bold, etc.  are there accessible CSS classes for those items that I could embed a Script Editor into the Search Results page to dress them up a bit?

    Thank you


    DWM

    Monday, January 25, 2016 5:10 PM

Answers

  • Hi,

    The following CSS style for your reference:

    <style>
    #Refinement .ms-ref-name{
    	color:red !important;
    	font-weight:bold !important;
    }
    #Refinement .ms-ref-refinername{
    	color:red !important;
    	font-weight:bold !important;
    }
    </style>

    Best Regards,

    Dennis


    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact tnmff@microsoft.com.

    • Proposed as answer by Patrick_Liang Tuesday, February 2, 2016 9:40 AM
    • Marked as answer by Devin McMahon Tuesday, February 2, 2016 4:49 PM
    Tuesday, January 26, 2016 2:18 AM

All replies

  • Hi,

    Please check this

    http://sharepoint.stackexchange.com/questions/106133/how-to-customize-refinement-web-part-with-css


    Please remember to click &#39;Mark as Answer&#39; on the answer if it helps you

    Monday, January 25, 2016 5:36 PM
  • Hi,

    The following CSS style for your reference:

    <style>
    #Refinement .ms-ref-name{
    	color:red !important;
    	font-weight:bold !important;
    }
    #Refinement .ms-ref-refinername{
    	color:red !important;
    	font-weight:bold !important;
    }
    </style>

    Best Regards,

    Dennis


    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact tnmff@microsoft.com.

    • Proposed as answer by Patrick_Liang Tuesday, February 2, 2016 9:40 AM
    • Marked as answer by Devin McMahon Tuesday, February 2, 2016 4:49 PM
    Tuesday, January 26, 2016 2:18 AM
  • Thank you

    DWM

    Tuesday, January 26, 2016 1:52 PM
  • Hi,

    If my reply helps you, please mark the reply as answer, it will make others who stuck with the similar issue easier to search for valid solutions in this forum.

    Best Regards,

    Dennis


    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact tnmff@microsoft.com.

    Wednesday, January 27, 2016 1:17 AM
  • PLease try this

    <style>
    #Refinement .ms-ref-name{
    color
    :red !important;
    font
    -weight:bold !important;
    }
    #Refinement .ms-ref-refinername{
    color
    :red !important;
    font
    -weight:bold !important;
    }
    </style>

    Wednesday, January 27, 2016 12:19 PM