This topic has 6 replies, 2 voices, and was last updated 9 years by sharmstr.

  • Author
  • #72187
     aamartines
    Participant

    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?

    #72251
     sharmstr
    Moderator

    The 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 solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    #72252
     sharmstr
    Moderator

    Or 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 solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    #72566
     aamartines
    Participant

    Hey 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?

    #72567
     sharmstr
    Moderator

    Not 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 solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    #72568
     aamartines
    Participant

    Oh, I see what you mean – didn’t even think of that. I’ll give it a try.

    #72569
     sharmstr
    Moderator

    Did 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 solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

Viewing 7 posts - 1 through 7 (of 7 total)

The forum ‘KLEO’ is closed to new topics and replies.

Log in with your credentials

Forgot your details?