• When I add the Gallery using the shortcode to one of my pages, the photos are slightly outside of the box on the left side. I tried editing the “margin-top” and “margin-left” entries under “.player-tile img” in mstw-tr-style.css, but it doesn’t seem to have any effect at all on the image placement.

    https://ww.wp.xz.cn/plugins/team-rosters/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Mark O’Donnell

    (@markodonnell)

    Hi murben,
    Thanks for writing. Please provide a link to the page in question. That’s the only way I can see what’s up with the styles.
    -Mark

    Thread Starter murben

    (@murben)

    I’ve published an example at: http://www.vhcaonline.com/?p=240

    I’d really like to make them show up just like your example of the “golden bear all stars” on your website.

    Thanks,
    Ben

    Plugin Author Mark O’Donnell

    (@markodonnell)

    Hi Ben,
    Yeah, the problem is that a rule in your theme’s stylesheet is trumping the rule

    .player-tile img {
    border: 10px solid #BBB;
    padding: 5px;
    background-color: #EEE;
    margin-top: 10px;
    margin-left: 10px;
    }

    in the plugin stylesheet. I just changed that rule to

    .player-tile .player-photo img {
    border: 10px solid #BBB;
    padding: 5px;
    background-color: #EEE;
    margin-top: 10px;
    margin-left: 10px;
    }

    and all seemed well with your photos.

    -Mark

    Thread Starter murben

    (@murben)

    Excellent. That worked!

    One more question if you don’t mind, and maybe it’s another issue with my theme, but how do I get the blue with rounded corners to extend to the bottom of the payer info box as well? As you can see on mine, it looks like a normal table on the bottom half where the Position, Height, and Grade are located instead of the nice background color with rounded corners like yours.

    Thanks for your help!

    Plugin Author Mark O’Donnell

    (@markodonnell)

    Hi murben,
    Great. I noticed that your table was white. This is another theme-plugin-css integration issue, but the fix was not immediately obvious to me. If you would like further support on this please enroll as a MSTW Gold Support member.

    Regards,
    -Mark

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Gallery Photos’ is closed to new replies.