Modifying search.php in Storefront Child Theme
-
I’m trying to add a visual element to the layout of the search results pages of my Storefront site.
First, I copied the search.php file from my Storefront theme’s parent folder to the child folder, and then I adding the new code there. The new visual element did not appear on the site.
Next, I temporarily added code to the search.php file in the parent folder, just to see if it would work there, but still the new code wasn’t showing up.
Finally, as a test, I temporarily removed the storefront_sidebar code from the search.php file in the parent folder, but when I went to the site the sidebar was still there.
Why are the search pages of my site unaffected by the code changes that I’ve tried?
- The topic ‘Modifying search.php in Storefront Child Theme’ is closed to new replies.