• Hi Edward,

    Just a heads up on a bit of duplicate CSS in v2.0.2 on line 115 of staffer-styles.css which reads:
    .cw-staffer-modal {
    display: none;
    position: fixed;
    width: 80vw;
    height: 80vh;
    z-index: 9999999;
    background-color: white;
    color: #222;
    overflow: auto;
    margin: 0 auto;
    border: 1px solid #1a1a1a;
    height: 80vh;
    margin: 1% auto;
    left: 0;
    right: 0;
    top: 10%
    }

    “height” is defined twice here. Also, I find height:auto works well for the modal window. I found this when noticing that our short staff bios had a long page of empty modal window beneath the content.

    Also I am not sure why .cw-staffer-modal is set to “display: none” since the browser overrides that with div.cw-staffer-modal {display: block}.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter mermare

    (@mermare)

    margin is also duplicated in that CSS declaration.

    Plugin Author Edward

    (@wpnook)

    The modal is set to display: none because the modal does not display initially. It is triggered to display with JavaScript. Regarding the duplicate comment — thanks, I’ll scope it out.

    Thread Starter mermare

    (@mermare)

    Thanks for the explanation.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘CSS comment’ is closed to new replies.