Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add "Full width" field setting for Custom Content fields in single entry Table layouts #684

Closed
zackkatz opened this issue Apr 19, 2016 · 4 comments · Fixed by #2147
Closed

Comments

@zackkatz
Copy link
Member

zackkatz commented Apr 19, 2016

This would allow the field to not have a <th> element by using colspan="2"

By limiting this to Custom Content fields, we avoid the "but…what about the labels" issue as referenced by Gennady below.

  • Add a field setting for the value to span full width. This setting should only appear:
    • In Custom Content fields
    • When in a Single Entry layout
  • When enabled, hide the Custom Label setting
  • In the template, add colspan=2 to the output so that the value of the Custom Content field spans the full width of the table
@soulseekah
Copy link
Contributor

What would this look like, I'm confused.

image

@zackkatz
Copy link
Member Author

colspan=2

@soulseekah
Copy link
Contributor

colspan=2

This is not helpful, I've tried adding the attribute to the tr, the th and the td, it all looked messed up. What's the final table supposed to look like? Sorry :)

@soulseekah
Copy link
Contributor

..boom! bump! bap!

@zackkatz zackkatz changed the title Add "Full width" field setting in single entry Table layouts Add "Full width" field setting for Custom Content fields in single entry Table layouts May 17, 2022
@zackkatz zackkatz added this to the YoGV milestone Aug 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment