• Resolved StevesWord

    (@stevesword)


    I like your simple Search & Index Page Content widget. Works great in locating the word on the page and scrolling to that word. But, when it highlights the word (if that’s what’s happening) it either changes it to white or is just hiding the word. Can’t figure out if it’s a problem with my theme or because I’m using an expanding text feature on that page. Here’s the website link to the page: https://www.genesisanywhere.com/?page_id=267

    You told me The problem is that when you plugin highlights a word, it adds the class label to it by wrapping it as so: <span class=”label”>your text</span>

    My theme probably has a CSS rule that says class label items should have color: white. But, I can’t find that to change the CSS. Can you suggest a simple change to your plugin code that would allow me to select a highlight color of the word when it is found?

Viewing 1 replies (of 1 total)
  • Plugin Author adaldesign

    (@adaldesign)

    Hey Steve,

    Unfortunately I am traveling right now so I can’t make edits to the plugin. Additionally, this is really a theme issue, not a plugin issue.

    If your theme does not allow you to add custom CSS in the theme options, and you also don’t know how to create a child theme, I would suggest using the Simple Custom CSS plugin to add this CSS:

    #sipc-content span.label {
    color: black;
    }
Viewing 1 replies (of 1 total)
  • The topic ‘Search Word Not Showing’ is closed to new replies.