WordPress.org

Forums

jQuery Colorbox
Bad margin/paddings with zoomlink (2 posts)

  1. Alexandre
    Member
    Posted 2 years ago #

    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/

  2. techotronic
    Member
    Plugin Author

    Posted 2 years ago #

    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

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.