In one of my previous projects, users wanted me to hide the Recent items under Quick launch, so this is the approach I followed to achieve the functionality.ms-core-listMenu-item is the css class name that needs to be manipulated.

Steps

  1. Insert the Content Editor Web Part after editing the page.
  2. Place the below query code.

    <script src="http://code.jquery.com/jquery-latest.min.js" type="text/javascript"></script>

    <script type="text/javascript">

    jQuery(document).ready(function () {

    jQuery(".ms-core-listMenu-item:contains('Recent')").parent().hide();

    });

    </script>

  3. Check in the Page
  4. See the results.