WordPress.org

Ready to get started?Download WordPress

Forums

How to relocate my search bar (2 posts)

  1. fz11
    Member
    Posted 11 months ago #

    Hello

    from the following code, how can i add margin top as I'm looking to move it to the right.

    i changed the float to the right but cant lower it.

    #search {
    float:left;
    width:235px;
    text-align: left;
    margin-bottom: 10px;
    }

    #search #site-description {
    line-height: 11px;
    margin-bottom: 1px;
    font-size: 11px;
    }

    #search input[type="text"] {
    width:190px;
    color:#828282;
    font-size:11px;
    padding-right: 30px;
    }

    #search input:focus{
    border: 1px solid #acacac;
    }

    #search input[type="submit"] {
    color: #818181;
    }

    #search input[type="submit"]:hover{
    color: #FF4949;
    }
    #search .button {
    margin-left:-30px;
    padding:0;
    border:none;
    background: none;
    }
    #search .button span {
    color:#828282;
    background: none;
    text-transform: uppercase;
    }

    many thanks

  2. mikeyarce
    Member
    Posted 11 months ago #

    can you provide a link with your site?

Reply

You must log in to post.

About this Topic

Tags

No tags yet.