Closed amrutadotorg closed 1 month ago
Hi ! You can use the next-sibling combinator in css. Example: https://jsfiddle.net/d0zt52xb/
#my-paragraph + div strong {
background-color: yellow;
}
By the way, are you sure you want to use a simple text element to represent your search results ?
Maybe it would be better to display them using the list component, and use description_md to highlight the relevant excerpts from your articles in your search results ?
Thank you. The list component was very useful.
Hi, based on my limited knowledge, there is currently no way to style the text component based on the provided parameter ID. What would you think of adding an id_div parameter? That way, we could use it like this:
css:
sql:
text.handlebars: