[SOLVED] Where is Not Found text generated?
Not Found
Sorry, but you are looking for something that isn't here. I have modified home page. Search box still works fine but I need to modify not found text by basically adding a surrounding div. Where is this generated please? |
I generally put a copy of the Twenty Eleven 404.php in the Atahualpa folder and modify the text.
|
Okay but what about when doing a search such as
http://74.115.229.75/?s=hello And it is not found. When it is found search is in a good format but when not found it needs to be styled but I don't have a hook on it. |
That 'Not Found' can be found at the bottom of the index.php - you can style it using
HTML Code:
.search-no-results h2 {color: red;} |
but funny thing is that I am not using the index page - I have custom page. Is it still referencing that code anyhow somehow?
|
define a 'custom page'? did you create a new page template? did you copy index.php to make it?
If you look at the source code for the page you get with your link the body statement is HTML Code:
<body class="search search-no-results"> |
Thanks I got it. I modified index.php which was the fix even though I am using custom home page.
|
All times are GMT -6. The time now is 07:23 AM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.