input - Increase font size with jquery -
i'm attempting run split test optimizely , need increase size of font used description text in site search's search field.
i've managed change color using code:
$("input[value]").css({"color":"#cc0000"});
but if add on font-size nothing happens? i.e.
$("input[value]").css({"color":"#cc0000", "font-size" : "1.9rem"});
i've tried following still doesn't seem work??
$("input").css({"font-size" : "1.9rem"});
it looks have !important
on riding changes made using .css()
function. following.
$("input") .css({ 'csstext':'font-size:1.9rem !important', 'color':'#cc0000' });
Comments
Post a Comment