Whilst small files can be uploaded to forum posts, if you have a custom theme or module to contribute please add it on the "Add-ons" page.
  • Page:
  • 1

TOPIC:

Make the individual page into a single column page 6 days 22 hours ago #1

  • jessewebdotcom
  • jessewebdotcom's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 24
On the individual page, I'd like to remove the right column and move the "Extra information", "Family navigator", and "Descendants" tables to the bottom of the first column (this will make it easier to view the page on mobile and give more horizontal space to read information).

What's the best way to do that? I am aware that I can remove the tables completely in the Control Panel.
Thanks in advance

Please Log in or Create an account to join the conversation.

Last edit: by jessewebdotcom.

Make the individual page into a single column page 6 days 21 hours ago #2

  • fisharebest
  • fisharebest's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 16208
> easier to view the page on mobile

On mobile pages, these "siderbar" elements are automatically moved underneath the "tabs".

FYI, you can simply disable these sidebar elements. If you do:

* the contents of the "extra information" siderbar are merged into the "facts and events" tab.
* the "family navigator" siderbar is largely a duplicate of the "families" tab.
* the "descendants" sidebar is (IMHO) not useful at all - the descendants chart is better.

But to make the exact change you've asked for, you would need to modify this file

github.com/fisharebest/webtrees/blob/mai...ndividual-page.phtml

and change col-sm-4 and col-sm-8 to col-sm-12. Each would now take a full page width.
Greg Roach - This email address is being protected from spambots. You need JavaScript enabled to view it. - fisharebest.webtrees.net

Please Log in or Create an account to join the conversation.

Make the individual page into a single column page 6 days 11 hours ago #3

  • jessewebdotcom
  • jessewebdotcom's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 24

>On mobile pages, these "siderbar" elements are automatically moved underneath the "tabs".

This doesn't work for me using any theme (mobile device is an iPhone)
Attachments:

Please Log in or Create an account to join the conversation.

Make the individual page into a single column page 6 days 9 hours ago #4

  • bertkoor
  • bertkoor's Avatar
  • Offline
  • Platinum Member
  • Platinum Member
  • Greetings from Utrecht, Holland
  • Posts: 2743
Sounds like screen of your iPhone (model??) is a bit larger than what webtrees has set as threshold of "mobile"

Dunno since when exactly, but the themes do need some work on mobile again.

stamboom.BertKoor.nl runs on webtrees v1.7.13
Attachments:

Please Log in or Create an account to join the conversation.

Last edit: by bertkoor.

Make the individual page into a single column page 5 days 23 hours ago #5

  • jessewebdotcom
  • jessewebdotcom's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 24
FYI - This is fixed for me (on mobile, all tables are in a single column) after upgrading to 2.1.7 (from 2.1.5).

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Powered by Kunena Forum