Wordpress Themes - WP Forum at BFA
Click here to register or to donate.
Auto self-registration is not available here - far too many spammers. This forum has many, many backlinks and because of that there is an intense desire among spammers to drop their links here.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme »

[SOLVED] Where is Not Found text generated?


  #1  
Old Apr 11, 2013, 10:49 AM
sstudebaker
 
24 posts · Dec 2011
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?
  #2  
Old Apr 11, 2013, 11:49 AM
lmilesw's Avatar
lmilesw
 
10,174 posts · Jul 2009
Central New York State USA
I generally put a copy of the Twenty Eleven 404.php in the Atahualpa folder and modify the text.
__________________
~Larry (CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.
  #3  
Old Apr 11, 2013, 12:56 PM
sstudebaker
 
24 posts · Dec 2011
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.
  #4  
Old Apr 11, 2013, 01:16 PM
juggledad's Avatar
juggledad
 
23,682 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
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;}
.search-no-results p {color: orange;}
  #5  
Old Apr 11, 2013, 01:37 PM
sstudebaker
 
24 posts · Dec 2011
but funny thing is that I am not using the index page - I have custom page. Is it still referencing that code anyhow somehow?
  #6  
Old Apr 11, 2013, 02:44 PM
juggledad's Avatar
juggledad
 
23,682 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
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">
which is where I got the class from.

Last edited by juggledad; Apr 12, 2013 at 09:20 AM.
  #7  
Old Apr 12, 2013, 08:47 AM
sstudebaker
 
24 posts · Dec 2011
Thanks I got it. I modified index.php which was the fix even though I am using custom home page.

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
change text on 'not found' Ilke Languages & Translations 9 Jan 15, 2013 01:50 AM
Issue with generated names of custom widgets crashley1784 Sidebars & Widgets 32 Apr 14, 2012 12:48 PM
[SOLVED] Features of the Ata-generated Archive Page Fux Excerpts, Read more, Pagination 2 Jul 5, 2011 06:18 AM
Editing "Not Found" Text in Search Results Pedalo Languages & Translations 5 Dec 10, 2010 10:28 AM


All times are GMT -6. The time now is 08:28 PM.


Powered by vBulletin® Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.