[SOLVED] Search is missing
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 |
the search box only shows when you are using the %logo option in the header
|
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 |
what version were you on?
did you do a db backup before updating? |
ATA Version 3.7.10
WP Version 3.5 regretfully did not perform a backup. |
By the way, I used to edit the bfa_header_config.php and functions.php files to accomplish overriding the logo link+
|
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? |
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. |
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.
|
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? |
Do you have anything in the Show Logo Image box? If so take it out.
|
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? |
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. |
OK and thanks.
|
Struggling. Search box appears to be in a separate div. Should Logo and Search be in the same?
|
I would put it in a separate div for ease of styling.
|
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; } |
Try the following in CSS Inserts
HTML Code:
.searchbox { |
This is great. Thanks for the help. Greatly appreciated!
|
All times are GMT -6. The time now is 11:32 PM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.