WordPress.org

Support

Support » Themes and Templates » [Resolved] Trying to move search form

[Resolved] Trying to move search form

  • I am trying to figure out how to move the search form to right above the nav and flush right. Below is the current code which I thought would work but obviously isn’t… Any ideas?

    /* Search in subheacd */
    #searchform {
    	width: 300px;
             position:absolute
             margin-top:150px
             float: right;
    }
    .center #searchform {
             position:absolute
             margin-top:150px
    	float: right;
    	padding: 10px 10px;
    	margin: 0px ;
    }
    #subhead ul{
    	list-style:none;
    	margin:0;
    }
Viewing 2 replies - 1 through 2 (of 2 total)
  • Michael

    @alchymyth

    Forum Moderator

    first: you are missing the ; at the end of some lines in the style.
    that will make subsequent styles unrecognized in some browsers.
    (this could also be the reason that you can’t style the textwidget?)

    for your searchform position, you could try:

    #searchform {
    	width: 300px;
             position:absolute;
             right:-75px;
             top:-50px;
    }

    Thank you! That worked!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] Trying to move search form’ is closed to new replies.
Skip to toolbar