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

[QUESTION] How can I force specific section layout w/ column spanning? #1662

Open
4 tasks done
amlloyd opened this issue Aug 6, 2024 · 5 comments
Open
4 tasks done
Assignees
Labels
🤷‍♂️ Question [ISSUE] Further information is requested

Comments

@amlloyd
Copy link

amlloyd commented Aug 6, 2024

Question

Really enjoying Dashy but have been having a heck of a time getting the layout to display how I want. I'd like 4 main columnar sections, but above those, I'd like a single row section spanning all 4 columns below which will contain various widgets. I've tried rows/cols attributes, ItemCountX/Y, but no luck. Any way to accomplish this?

image

Category

Configuration

Please tick the boxes

@amlloyd amlloyd added the 🤷‍♂️ Question [ISSUE] Further information is requested label Aug 6, 2024
@CrazyWolf13
Copy link
Collaborator

Hi
Can you try setting the topmost(first) section to 1 column and 4 rows?
And the ones below, say 3 columns and 1 row each?

@amlloyd
Copy link
Author

amlloyd commented Aug 6, 2024

Hi Can you try setting the topmost(first) section to 1 column and 4 rows? And the ones below, say 3 columns and 1 row each?

That almost works (swapping it to 1 row 4 columns for the "header" section, and the 4 other sections to 3 rows 1 column, except, the header section, which is comprised of widgets, span the 4 columns but the widgets themselves are stacked on top of each other rather than being in each of the 4 specified columns:

image

What I am trying to accomplish is this. This shows 5 widgets in header section, but it shouldn't matter how many widgets there are. I just want the make the header section span all the others and contain all its widgets in a single row.
image

@liss-bot liss-bot added the 👤 Awaiting Maintainer Response [ISSUE] Response from repo author is pending label Aug 6, 2024
@CrazyWolf13
Copy link
Collaborator

Can you try the option to display horizontally?
grafik

@amlloyd
Copy link
Author

amlloyd commented Aug 6, 2024

That just stacks each section on top of each other in 1 column. :(

@CrazyWolf13
Copy link
Collaborator

Hmm I see, then custom css probably will be the best bet, dashy supports custom css, that should allow what you want to do:
https://dashy.to/docs/theming#setting-custom-css-in-the-ui

@liss-bot liss-bot removed the 👤 Awaiting Maintainer Response [ISSUE] Response from repo author is pending label Aug 7, 2024
@CrazyWolf13 CrazyWolf13 assigned Lissy93 and unassigned CrazyWolf13 Sep 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🤷‍♂️ Question [ISSUE] Further information is requested
Projects
None yet
Development

No branches or pull requests

4 participants