Forums

[resolved] Removing Li from Text Widget (2 posts)

  1. rahulioizm
    Member
    Posted 6 months ago #

    visit http://www.prometheussprings.com/

    you'll see that there are a few black decimal points on the left. It's because WP is using my text widgets as a list. I need a way to change the li to a div. How can I do this?

    Example: Before
    <li id="text-5" class="widget widget_text"><h2 class="widgettitle">   </h2></li>
    
    Example: After
    <div id="text-5" class="widget widget_text"><h2 class="widgettitle">   </h2></div>

    anyone know where I can make this change? Or how to add this into the custom.css?

    Thank you :-)

  2. rahulioizm
    Member
    Posted 6 months ago #

    figured out a cheap way around the problem. This works if you don't actually have any text in the title.

    In your style css do this :-)

    .widget_text {
    		font-size: 0px;
    		}

Reply

You must log in to post.

About this Topic

Tags