Support » Fixing WordPress » Padding on text hover… where from?

  • Resolved Tokitoast



    On my sidebar, I use a widget “ Popular Post”. The problem is that the titles of posts (which are links) are having a padding-left: 5px, whenever I put my mouse over.

    I checked my .css file and for the sidebar I only have

    .sidebar-box h4{ margin-bottom: 20px; padding-bottom: 5px; font-size:16px; font-weight:bold; border-bottom: 1px solid #EEE;}
    .sidebar-box ul{list-style:none; margin: 0 0 20px;}
    .sidebar-box li{margin-bottom: 10px; clear: both;}
    .sidebar-box li a{}
    .sidebar-box li a:hover{}

    I really don’t know where this comes from. Any idea?

    Tell me what further information you need.

    Thanks in advance.

    Best regards.


Viewing 7 replies - 1 through 7 (of 7 total)
  • esmi


    Forum Moderator

    Try using Firefox with the Firebug add-on for this kind of CSS work.

    Already have. When i go over, the element style padding (previously displaying padding: 0px) changes to 5px.

    I guess it must be something with my theme but can’t find where.
    Is it possible that this would be some kind of “coding” in a PHP file?



    Forum Moderator

    Firebug will tell where this padding is being added from.

    Thanks for your advice esmi. Like you said I’ve checked with Firebug.

    It seems like it comes from “”. Couldn’t find it in my css file. Do you know where this can be located?

    Could this be a property from the widget I use?

    Thanks for your help 🙂



    Forum Moderator

    It sounds like it’s being added via jQuery – possibly via a plugin or your theme.

    Ok probably from my theme because as far as I remember this is happening somewhere else. I’ll check this tomorrow. Thanks

    You were totally right!

    Fixed and resolved. Thanks a lot.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Padding on text hover… where from?’ is closed to new replies.