WordPress.org

Support

Support » How-To and Troubleshooting » widget – removing widgettitle and label codes

widget – removing widgettitle and label codes

  • for example, i added to sidebar a search-widget.

    so i see in html sode of my bloge there’s:

    <ul class="sidebar">
    	<li id="search-4" class="widget widget_search"><h2 class="widgettitle">SEARCH</h2>
    <form role="search" method="get" id="searchform" action="http://x-files.net.ua/" >
    	<div><label class="screen-reader-text" for="s">SEARCHING SMTH:</label>
    	<input type="text" value="" name="s" id="s" />
    	<input type="submit" id="searchsubmit" value="SearchButton" />
    	</div>
    	</form></li>

    I’d like to remove a viewing of widgettitle at all
    and to remove a screen-reader-text at all.
    help please where to do it?

Viewing 4 replies - 1 through 4 (of 4 total)
  • i removed from style.css this one string:
    .widgettitle {font-weight:normal; clear:both; font-size:66px; padding:20px 0px 0px 0px;}
    but of course – no result..

    .widgettitle {display:none;}
    a solution for a widgettitle

    but for screen-reader-text – can’t find anything

    .widgettitle {display:none;}

    /********** MAIN **********/
    .screen-reader-text {display:none;}

    and it’s gone! 🙂

    P.S. strange, that it didnot exist already…

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘widget – removing widgettitle and label codes’ is closed to new replies.