Apply category heading shown in blog posts to search results+category headings

Hi Movin,

I’ve tried my best to edit the headings of my Search Results page as the h1 page-title was a bit big for my liking, still I really like the heading on post pages where it shows the category and would like to apply that to “Search Results for: XYZ” and “Uncategorized” page headings. I’ve attached pics to show what I mean.

Thanks for all your help, I do search the forums as much as possible before starting a new topic! You’re awesome!

Sam :slight_smile:

Hi Sam,

I hope you are well today and thank you for your question.

To achieve exactly that you have to change code in the theme files but we can achieve a bit similar output by adding the following CSS code in the Custom CSS option of your theme on the below path.

Admin Area -> Appearance -> Customize -> Activello Options -> Other -> Custom CSS

body.search #main > header.page-header,
body.archive.category #main > header.page-header {
    border-top: 1px solid #dedede;
    border-bottom: 1px solid #dedede;
    padding-bottom: 20px;
    text-align: center;
    padding-top: 20px;
}

body.search #main > header.page-header *,
body.archive.category #main > header.page-header *{
    font-size: 14px;
    margin: 0;
}

Best Regards,
Movin