apotacyll Posted May 21, 2015 Share Posted May 21, 2015 I want the search button on my site to the right. i got that done but know i want the picture what is above that to move also to the right the search bar and the picture above is one module the css looks like this now /******************************************************************* Blockseachr_mod styles ********************************************************************/ #search_block_top_content { height: 140px; position: relative; } @media (max-width: 767px) { #search_block_top_content { height: auto; } } #search_block_top_content .iqitsearch-inner p { margin: 0px; } @media (max-width: 767px) { #search_block_top_content .iqitsearch-inner { margin-top: 10px; } } @media (min-width: 768px) { #search_block_top_content .iqitsearch-inner { width: 100%; position: absolute; top: 100%; transform: translateY(-50%); } } #search_block_top { width: 172px; margin: 0 auto; position: relative; height: 27px; } #search_block_top.issearchcontent { margin-top: 10px; } @media (max-width: 767px) { #search_block_top { top: 0px; } } @media (min-width: 768px) { .disable_center #search_block_top { margin-left: 0px; margin-right: 0px; } } #search_block_top .search_query { position: absolute; left: 0px; top: 0px; } #search_block_top .search_query:focus { outline: 0; } #search_block_top .button-search { background: none; border: none; position: absolute; right: 4px; top: 3px; } #search_block_top .button-search:focus { outline: 0; } #search_block_top .button-search { font-size: 0px; } #search_block_top .button-search span { display: none; } #search_block_top .button-search:before { content: "\f002"; display: block; font-family: "FontAwesome"; font-size: 14px; color: #666; width: 100%; text-align: center; } #search_block_top .button-search:hover { color: #6f6f6f; } .ac_results { border: 1px solid #CECECE; width: 236px !important; margin-top: 10px; -webkit-box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15); -moz-box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15); box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15); color: 3C3C3C; z-index: 999999; background-color: white; overflow: hidden; z-index: 99999; text-align: left; padding: 0px; } .ac_odd { background: #fff; } .ac_over { background: #f3f3f3; color: #3C3C3C; } .ac_results li { border-bottom: 1px dashed #D8D8D8; cursor: pointer !important; } .ac_results li:last-child { border: none; } .ac_results li img { display: inline; vertical-align: middle; border: 1px solid #D8D8D8; } .ac_results .prname { display: inline-block; vertical-align: middle; ; } .ac_results .prprice { color: #f13340; } #ac_search_more { padding: 5px 0; cursor: pointer !important; } @media only screen and (min-width: 768px) { #search_block_top.issearchcontent{ position: absolute; top: -25px; right: -215px; } } @media only screen and (min-width: 1000px) { #search_block_top.issearchcontent{ top: -25px; right: -304px; } } @media only screen and (min-width: 1320px) { #search_block_top.issearchcontent{ right: -391px; } } i tried to modify the css file to put iqitsearchinnir (which is the picture) to the right using the following code } @media only screen and (min-width: 768px) { #search_block_top_content .iqitsearch-inner{ position: absolute; top: -25px; right: -215px; } } @media only screen and (min-width: 1000px) { #search_block_top_content .iqitsearch-inner{ top: -25px; right: -304px; } } @media only screen and (min-width: 1320px) { #search_block_top_content .iqitsearch-inner{ right: -391px; } } it workes kind of but the picture moves but the search bar goes somewhere i dont want it anybody got any ideas? Link to comment Share on other sites More sharing options...
apotacyll Posted May 21, 2015 Author Share Posted May 21, 2015 Solved Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now