Support » Plugin: Team Rosters » Gallery View Bug: Description of Variables Does not show

  • The result of Year, Position, etc all show, but the actual subject does not. When you drill into the actual player, the items are fully visible.

    The page I need help with: [log in to see the link]

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

    (@markodonnell)

    Hey Seth,
    Thank you for posting here, and for the link to your page, that is always helpful. It appears that someone added the following custom CSS rule:

    .player-info-container table.player-info td.lf-col {
        display: none;
    }

    remove the display:none and viola, the headings appear.

    BTW, it appears someone added these styles to the THEME style.css file. As I continually preach on the shoalsummitsolutions website, you should always create a CHILD THEME, and add customizations there. See https://shoalsummitsolutions.com/why-a-child-theme/. Moreover, there’s a special file name to use when storing MSTW Team Roster customizations in the CHILD THEME. 🙂 See https://shoalsummitsolutions.com/tr-customizing/. The referenced page also points MSTW GOLD Support members to a tutorial on customizing MSTW Team Roster displays.

    -Mark

    Thread Starter srbsan

    (@srbsan)

    Huge help. I was able to remove that CSS and it fixed.
    On that same page, can you see why some of the players have additional spacing in between the position name and the actual position?

    https://www.tplax.com/varsity-roster/

    Plugin Author Mark O’Donnell

    (@markodonnell)

    Great.

    The spacing is an alignment problem. Try this rule:

    .player-info-container table.player-info td.lf-col {
        text-align: right;
    }
    Thread Starter srbsan

    (@srbsan)

    Thank you. That worked on the alignment of all of them. But now, some of the Position, Year, College is pushed to the right.

    I appreciate the fantastic support!

    Plugin Author Mark O’Donnell

    (@markodonnell)

    I don’t know exactly what you mean. It looks right to me. (???)

    Thread Starter srbsan

    (@srbsan)

    Plugin Author Mark O’Donnell

    (@markodonnell)

    Okay, I see what you mean. Actually, the containers do align on the left. The problem is (a) there’s some padding on the left, and the text aligns right. That’s also fixable with some CSS rules, just depends on exactly what you want, but it gets a bit more complicated.

    Thread Starter srbsan

    (@srbsan)

    Thank you. I am not really concerned about how much padding, just hoped they were all the exact same.

    Greatly appreciated

    Plugin Author Mark O’Donnell

    (@markodonnell)

    I believe I understand what you are looking for. It may take me a bit to fiddle around with the styles. These sections are tables. The newer flexbox did not exist when I wrote this code.
    -Mark

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Gallery View Bug: Description of Variables Does not show’ is closed to new replies.