Support » Themes and Templates » Center Search Widget/Change font in Search Text Box

  • I’m trying to Center my Search widget inside of the sidebar,
    and I’m also trying to change the font within the search text box (the button is fine)

    within my stylesheet there is only:

    .widget_search label {
    	display: block;
    	font-size: 13px;
    	font-family: "Open Sans", Helvetica, Arial, sans-serif !important;
    	font-size: 0.928571429rem;
    	line-height: 1.846153846;
    }

    I tried adding:

    .widget_search .search-text-box:focus {
    	font-size: 13px;
    	font-family: "Open Sans", Helvetica, Arial, sans-serif !important;
       	width: 235px;
    	background-color: #FFFFFF;
    }
    .search-box {
    	display: block;margin:3px 0 0 7px;
    }

    but no luck in centering (or widening so it looks center), or changing the font. The font on the inside of the search text box is my serif font, but I want it to be the sans-serif just like the button!

    I’m new to this sort of thing and really need some assistance!

    the site is http://www.revschulte.com incase you’d like to view

  • The topic ‘Center Search Widget/Change font in Search Text Box’ is closed to new replies.