WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Trying to move search form (3 posts)

  1. Dani Weymouth
    Member
    Posted 4 years ago #

    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;
    }
  2. alchymyth
    The Sweeper & Moderator
    Posted 4 years ago #

    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;
    }
  3. Dani Weymouth
    Member
    Posted 4 years ago #

    Thank you! That worked!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags