CSS styling not working in search results page
-
Hello everyone, I am having some trouble trying to solve an issue my website has.
The website is a directory that has 50 posts, one for each state of the USA. Users can use a search bar to find the post that belongs to the state they have searched for (the query will always be a state name).
I used this function in order to directly show the (full) post that belongs to the state they wrote in the search bar:
add_filter( ‘generate_show_excerpt’,’tu_full_post_search’ );
function tu_full_post_search( $show_excerpt )
{
if ( is_search() )
return false;return $show_excerpt;
}It works, but the results page (that is the post that belongs to the query the user has made) is not styled (or, at least, not fully styled) and the javascript it should use is not working. For example, all the posts have accordions with buttons inside of them, but the accordions don’t work and one of the buttons isn’t styled.
How can I solve this? I think it has something to do with the plugin GenerateBlocks. I noticed just now that the elements that don’t work are GenerateBlocks elements.
Thanks in advance
- This topic was modified 2 years, 7 months ago by .
- This topic was modified 2 years, 7 months ago by .
The page I need help with: [log in to see the link]
- The topic ‘CSS styling not working in search results page’ is closed to new replies.