• Resolved Tokitoast

    (@tokitoast)


    Hi!

    On my sidebar, I use a widget “WordPress.com 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{margin-bottom:10px;padding:20px;}
    .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.

    Tokitoast

Viewing 7 replies - 1 through 7 (of 7 total)
  • Try using Firefox with the Firebug add-on for this kind of CSS work.
    http://getfirebug.com/

    Thread Starter Tokitoast

    (@tokitoast)

    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?

    Firebug will tell where this padding is being added from.

    Thread Starter Tokitoast

    (@tokitoast)

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

    It seems like it comes from “@element.style”. 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 🙂

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

    Thread Starter Tokitoast

    (@tokitoast)

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

    Thread Starter Tokitoast

    (@tokitoast)

    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.