[Support request] Changing the heading on search results

Home Forums Support [Support request] Changing the heading on search results

Home Forums Support Changing the heading on search results

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #899878
    Francis

    Hi,

    I need some assistance on changing the heading on search results. For reference, I am working on this website for a client:

    https://apartmentsforrentx.com/

    I’m a newbie web developer and I don’t know how to tweak the search results css header from h2 into h4 or h5. Otherwise, if not possible at least to just change the font size to a smaller one only for searh results. I believe it calls the heading via hook/callout function from the single page? But, I only need this particularly for “Search Results” and so I don’t intend on changing the single page heading at the same time. So I want the title to stay being on H2 for every single post/page and leave it untouch.

    Regards,
    Francis

    #899965
    David
    Staff
    Customer Support

    Hi there,

    you could target the entry titles for the search results page with this CSS:

    .search .entry-title {
        font-size: 16px;
    }
    #900237
    Francis
    #900238
    David
    Staff
    Customer Support

    Where did you add the CSS? I can’t see it.
    Can you flush and disable autoptimize so i can take another look

    #900312
    Francis

    I added it to custonuze>additional css.
    https://drive.google.com/file/d/1YB7clfODTEcL7E1GKH-Ijs38HZPM2WXL/view?usp=sharing

    still the same.

    #900317
    David
    Staff
    Customer Support

    Maybe i got my wires crossed. Are you looking to change the H2 entry title for each of the articles displayed on the Search results? That is what that CSS does and is working on my end.

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.