WordPress.org

Forums

Fruitful
[resolved] Add Search box in header top corner (4 posts)

  1. archiechan
    Member
    Posted 1 year ago #

    Hi there, how can I add the search box in the header on top corner?

    I've tried add the the code below into "Theme Option", "Custom CSS", but it doesn't work. Any better idea? Many thanks.

    #masthead form {
    float: right;
    margin-top: 15px;
    }
  2. ellp
    Member
    Posted 1 year ago #

    Hello Archie!

    Can you provide you site url?

    Thanks!

  3. archiechan
    Member
    Posted 1 year ago #

    Hi Ellp,

    Thanks, just solve it.

    I am using Fruitful Theme,

    Just add <div><?php include (TEMPLATEPATH . '/searchform.php'); ?></div>
    in header.php

    And add #searchform {position:absolute; top: 25px; right: 10px; text-align:right;}
    in Style.css.

    Work perfectly.

  4. archiechan
    Member
    Posted 1 year ago #

    And this is solved. Thanks

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic