Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Header configuration & styling »

[SOLVED] Search is missing


  #1  
Old Dec 12, 2012, 03:20 PM
gnosis
 
173 posts · May 2010
I updated to Ata 3.7.9 and running WP 3.5

Appearance=>ATA Theme Options=>Style& Edit Header Area =>Show search box?
set to <YES>

but does not appear:
http://library.gc.cuny.edu/


here is an exported theme settings file:
http://library.gc.cuny.edu/ata-libra...u-20121212.txt


Please help
  #2  
Old Dec 12, 2012, 04:19 PM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
the search box only shows when you are using the %logo option in the header
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #3  
Old Dec 12, 2012, 06:39 PM
gnosis
 
173 posts · May 2010
When I add %logo my header image becomes duplicated. In the <Configure Header Area> section, I currently have this:

<div id="mylogo"><a href="http://www.gc.cuny.edu"><img src="http://library.gc.cuny.edu/mrl365_2/wp-content/themes/atahualpa/images/gc_logo.jpg" alt="Mina Rees Library" /></a></div><h2 class="blogtitle"><a href="http://library.gc.cuny.edu/">Mina Rees Library</a></h2><p class="tagline"><a href="http://www.gc.cuny.edu/">CUNY Graduate Center</a></p>
%pages %image
  #4  
Old Dec 12, 2012, 07:43 PM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
what version were you on?
did you do a db backup before updating?
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #5  
Old Dec 12, 2012, 07:51 PM
gnosis
 
173 posts · May 2010
ATA Version 3.7.10
WP Version 3.5

regretfully did not perform a backup.
  #6  
Old Dec 12, 2012, 07:56 PM
gnosis
 
173 posts · May 2010
By the way, I used to edit the bfa_header_config.php and functions.php files to accomplish overriding the logo link+
  #7  
Old Dec 13, 2012, 07:21 AM
gnosis
 
173 posts · May 2010
I guess I was not clear. What I meant is that I used to edit those files until I started putting customizations in the theme options.

Anyway, I tried restoring from a database last week and the search is still not there.

What do you suggest?

Maybe edit the wp-options table? If so, what field and values?
  #8  
Old Dec 13, 2012, 07:30 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
if you edited the theme files, you need to re-edit them and put your changes back in.

remember the theme is made up of two parts
1) the theme code - it is in the theme folder and totally gets replaced on an automatic update
2) the theme options - are stored in the database and remain over updates

if you modify the theme code you better have good notes so you can go back and put those changes back in.
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #9  
Old Dec 13, 2012, 07:31 AM
gnosis
 
173 posts · May 2010
No, I meant I at one time used to edit the files. I no longer. The last two upgrades reflect the official distribution. I just mentioned that I used to adjust the header via a hack of the files until you advised a while back to insert into options.
  #10  
Old Dec 13, 2012, 07:54 AM
gnosis
 
173 posts · May 2010
Also, this is a completely different site:

http://library.gc.cuny.edu/LP_TEST/

Atahualpa 3.7.9
Wordpress 3.4.2

ATO=>Style & edit Header Area

Show search box? set to <YES>

If I add %logo to Configure Header Area then the search appears, but then there is duplication.

Here is the custom code:
<div id="mylogo"><<a href="http://www.gc.cuny.edu"><img src="http://library.gc.cuny.edu/mrl365_2/wp-content/themes/atahualpa/images/gc_logo.jpg" alt="Mina Rees Library" /></a></div><h2 class="blogtitle"><a href="http://library.gc.cuny.edu/">Mina Rees Library</a></h2><p class="tagline"><a href="http://www.gc.cuny.edu/">CUNY Graduate Center</a></p>
%logo %pages %image

How do I make my logo go use an overide link, but preserve the search?
  #11  
Old Dec 13, 2012, 08:32 AM
lmilesw's Avatar
lmilesw
 
10,176 posts · Jul 2009
Central New York State USA
Do you have anything in the Show Logo Image box? If so take it out.
__________________
~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.
  #12  
Old Dec 13, 2012, 09:15 AM
gnosis
 
173 posts · May 2010
That did it.
Thanks.

Last question. How to modify the CSS so the logo, blog title and tagline are lower and on the same level as the search?
  #13  
Old Dec 13, 2012, 09:33 AM
lmilesw's Avatar
lmilesw
 
10,176 posts · Jul 2009
Central New York State USA
Since you now have changed the standard way logo shows you have to "fiddle" with positioning and such using a code inspector like Firebug.

You could also take out %logo and put a search widget in the sidebar or look at the source code for the search box and paste that in the same place you have your logo code. You would again have to fiddle with positioning.
__________________
~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.
  #14  
Old Dec 13, 2012, 09:37 AM
gnosis
 
173 posts · May 2010
OK and thanks.
  #15  
Old Dec 13, 2012, 11:07 AM
gnosis
 
173 posts · May 2010
Struggling. Search box appears to be in a separate div. Should Logo and Search be in the same?
  #16  
Old Dec 13, 2012, 11:49 AM
lmilesw's Avatar
lmilesw
 
10,176 posts · Jul 2009
Central New York State USA
I would put it in a separate div for ease of styling.
__________________
~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.
  #17  
Old Dec 13, 2012, 11:57 AM
gnosis
 
173 posts · May 2010
in
ATO=>Sytle & Edit Header Area=>Logo Area: Styling
or
ATO=>Add HTML/CSS Inserts=>CSS Inserts

I am not a CSS person.

can you give me a start?


I currently have this defined in CSS Inserts:

div.searchbox-form {
margin: 5px 0 15px 5px;
}
div#menu1 ul.rMenu {
background: transparent;
border: none;
}
div#imagecontainer {
border-top: solid 2px #333;
border-bottom: solid 2px #333;
}
  #18  
Old Dec 13, 2012, 05:55 PM
lmilesw's Avatar
lmilesw
 
10,176 posts · Jul 2009
Central New York State USA
Try the following in CSS Inserts
HTML Code:
.searchbox {
    position: absolute;
    top: 70px;
    right: 20px;
}
I have the top set at 70px so that if you look at the site in a narrow browser window it clears the menu items.
__________________
~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.
  #19  
Old Dec 13, 2012, 06:42 PM
gnosis
 
173 posts · May 2010
This is great. Thanks for the help. Greatly appreciated!

Bookmarks



Similar Threads
Thread Thread Starter Forum Replies Last Post
Search box missing akoo Header configuration & styling 3 May 17, 2012 06:41 AM
Post title missing in Google search dartmania2002 Atahualpa 3 Wordpress theme 2 Jan 22, 2012 10:52 AM
Search facility does not search text within embedded HTML using iframe cdgeorge Header configuration & styling 0 Oct 26, 2009 06:33 AM
Missing Save Changes button again, and missing footer area paulae Sidebars & Widgets 1 May 13, 2009 10:46 AM


All times are GMT -6. The time now is 12:31 PM.


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