Support » Plugin: jQuery Colorbox » Bad margin/paddings with zoomlink

  • Margin and padding are incorrect for zoom icons when using zoomlink functionality.
    Because span zoomHover width and height are 100%, it’s not necessary to set margin/paddings.

    To correct this, i add:
    span.zoomHover {
    margin: 0 !important;
    padding: 0 !important;
    }

    Can you please fix this?

    http://wordpress.org/extend/plugins/jquery-colorbox/

Viewing 1 replies (of 1 total)
  • Plugin Contributor techotronic

    (@techotronic)

    Hi,
    I’m not sure where exactly these two attributes are coming from.
    The CSS file that my plugin includes contains this class:

    span.zoomHover {
      height:     100%;
      left:       0;
      position:   absolute;
      top:        0;
      width:      100%;
      z-index:    9;
      background: url("../images/zoom.png") no-repeat scroll 50% 50% transparent;
    }

    Cheers,
    Arne

Viewing 1 replies (of 1 total)
  • The topic ‘Bad margin/paddings with zoomlink’ is closed to new replies.