continue fixing search page

- add function reduceText() in helper to ensure length of news title on
search page
- css of image