-
Author
-
August 7, 2015 at 18:36 #72187aamartinesParticipant
My institution requires a Google Search toolbar in the top right of a maroon banner of our site. Almost all of our sites use Drupal, so this is our first time experimenting with WordPress and Kleo.
I’ve managed the banner, but am trying to implement the search toolbar. I installed and configured the WP Google Search (https://wordpress.org/plugins/wp-google-search/) plugin, and have done a bit of googling. I found this thread, that suggested I contact you all: https://wordpress.org/support/topic/how-can-i-add-search-box-in-header.
I can’t share a link to the site, since it’s currently locally hosted, but here’s a screenshot: http://i.imgur.com/BCZspFq.png
Here’s the CSS I did for the header:
/* Add UMass Brand to social header above header
*/
.social-header {
height: 50px;
border-bottom-width: 0px;
background-image: url(“http://128.119.164.207/wp-content/uploads/2015/08/umass-wordmark-small.png”) !important;
background-color: #881c1c;
background-repeat: no-repeat;
background-position: 3% 12px;
}So, my question is: how can I add a Google Search toolbar to the top right of the maroon banner that occupies the Social Header of my site?
August 8, 2015 at 15:02 #72251sharmstrModeratorThe top right of social header is where the top menu goes, so have you looked at the possibility of using a plugin to add a widget to the top menu? Then you might be able to use a text widget to add the google shortcode. Or maybe look for a pluging that allows you to add a shortcode to the top menu?
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
August 8, 2015 at 15:06 #72252sharmstrModeratorOr another possibility is editing /kleo/page-parts/general-title-section.php. Instead displaying the top menu, you could echo the shortcode for the google search???
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
August 11, 2015 at 15:39 #72566aamartinesParticipantHey Sharmstr,
Thanks for those ideas! I came up empty looking for (free) plugins for adding widget areas, but that seems like it would be on the right track.
If I edit /kleo/page-parts/general-title-section.php, would that be wiped out in an update?
August 11, 2015 at 15:39 #72567sharmstrModeratorNot if you copy it to your child theme
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
August 11, 2015 at 15:40 #72568aamartinesParticipantOh, I see what you mean – didn’t even think of that. I’ll give it a try.
August 11, 2015 at 15:41 #72569sharmstrModeratorDid you see this? https://wordpress.org/plugins/shortcode-in-menus/
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
-
AuthorPosts
The forum ‘KLEO’ is closed to new topics and replies.