• Resolved Stenaker

    (@stenaker)


    Hello, is there any way to increase space between “search line” and button “search” and put button on a centre?

    Thank you

Viewing 6 replies - 1 through 6 (of 6 total)
  • Theme Author richarduk

    (@richarduk)

    No comprende.

    You mean the very top search box? It has an input box where you type in text and an icon where an arrow moves when you press it. You want to increase the horizontal distance between the icon and the input box?

    Thread Starter Stenaker

    (@stenaker)

    haha)

    No, I mean search form in the left sidebar, i guess default woocommerce search. I want vertical distance to be increased.

    You may check it here:
    http://hectorceramo.ru

    Thank you

    Theme Author richarduk

    (@richarduk)

    Try

    `div.left-sidebar-item input#searchsubmit {
    margin-top:10px;
    }

    or

    div.left-sidebar-item input#searchsubmit {
    padding-top:10px;
    }`

    It looks like it’s a WooCommerce feature / widget and I’m surprised that they haven’t styled it better.

    Thread Starter Stenaker

    (@stenaker)

    The first way didn’t bring any changes, the seocond one made “search form” border wider.

    Got any ideas?

    I’d like to post the same question on “woocommerce support”, but you know, it’s kinda useless because of number of questions asked there.

    Theme Author richarduk

    (@richarduk)

    Try

    div.left-sidebar-item input#searchsubmit {
    margin-top:10px;
    display:block;
    margin-left:auto;
    margin-right:auto;
    }

    or

    div.left-sidebar-item input#s {
    display:block;
    margin-bottom:10px;
    }
    div.left-sidebar-item input#searchsubmit {
    display:block;
    margin-left:auto;
    margin-right:auto;
    }

    or to get it all on one line

    div.left_sidebar_woocommerce widget_product_search form#searchform{
    overflow:auto;
    }
    div.left_sidebar_woocommerce widget_product_search input#s {
    display:block;
    float:left;
    font-size:12px;
    width:80px;
    }
    div.left_sidebar_woocommerce widget_product_search input#searchsubmit {
    display:block;
    float:left; /*or try float:right;*/
    font-size:12px;
    width:65px;
    }

    Apart from that I’m fresh out of ideas without actually messing around with it and seeing what works.

    Thread Starter Stenaker

    (@stenaker)

    1st way and 2nd works great!

    Thank you very much, richarduk!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Search form’ is closed to new replies.