WordPress.org

Ready to get started?Download WordPress

Forums

widget - removing widgettitle and label codes (5 posts)

  1. ka81
    Member
    Posted 4 years ago #

    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?

  2. ka81
    Member
    Posted 4 years ago #

    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..

  3. ka81
    Member
    Posted 4 years ago #

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

    but for screen-reader-text - can't find anything

  4. raskull
    Member
    Posted 4 years ago #

    .widgettitle {display:none;}

  5. ka81
    Member
    Posted 4 years ago #

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

    and it's gone! :)

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

Topic Closed

This topic has been closed to new replies.

About this Topic