• If a search is done on our site the resulting excerpts that appear have the Titles rendered in white text… so they don’t show up on the results page. I’m having a heck of a time figuring out where the CSS is for the displayed contents. If I look at the page source it appears within <style> tags in the head section. Not sure where this is derived.

    The styling in question is:

    UL LI DIV.post-excerpt H2 A {
    color: #ffffff !important;
    font-size: px !important;
    }

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • try this one
    Appearance > Customize> custom css
    add below code on the field

    .post-excerpt H2 A {
    color: #000 !important;
    }
    Thread Starter tonybemidji

    (@tonybemidji)

    Thanks… tried that. If you inspect the Title in Chrome you can see that change is there, but is subordinate to another entry that takes precedence. Trying to figure out where the heck that is set!

    Thread Starter tonybemidji

    (@tonybemidji)

    Another clue… this is the start of this particular <style> section:

    <style type="text/css">PICK AN ELEMENT NOW - or type CSS selector(advanced) {
    font-size: 30px !important;
    color:  !important;
    }
    DIV DIV DIV.advanced_wp_columns_wrapper.null DIV.advanced_wp_column.null SPAN, DIV DIV SPAN.ui-draggable STRONG SPAN.fontplugin_fontid_1408_DroidSans.ui-draggable {
    color: #ffffff !important;
    font-size: 23px !important;
    }

    Any idea what might be inserting this into the header?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘CSS for Search Result Titles’ is closed to new replies.