Marah Marie (marahmarie) wrote in s2expressive,
Marah Marie

[SOLVED] Positioning hidden and invisible counters in sidebar.

This problem has been with me for a while now: I have two counters, one visible, one invisible, in the custom text box in my sidebar. On the Recent Entries page the counter that is visible displays exactly the way I want it to. On individual Entry pages like this one and on my Friend's pages there are huge yawning spaces above and below the visible counter (confined to the custom text box, it seems) that I cannot get rid of.

It seems the invisible counter is gaining padding and margins on those pages but why that is so I simply cannot fathom.

Here's my CSS to style the custom text box:

/* Free Text Widget */

.customtext-widget {margin-top: 20px !important; margin-bottom: 20px;}
.customtext-widget .widget-content {padding-right: 5px; line-height: 1.6em !important;
font-size: 1.1em;}

/* The following styles the image links */

.customtext-widget a:hover {color: #fff;}
.customtext-widget a img {display: block; position: static; margin-top: -10px !important;
padding: 0 !important;
font-size: 0 !important; background: #fff !important; color: #fff !important;}
.customtext-widget a {font-weight: none; background: #fff color: #fff;}

What am I doing wrong? Any suggestions?

Tags: sidebar:custom
  • Post a new comment


    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened