Really like the sections. It fixes a problem with Nest Hub calculating masonry layout. I see one problem though which Iām not sure how to handle. The grid-section-min-width is set to 320px for the responsive design which mean only two columns will be used for Google Nest hub (1024x600). Is it any possibility to override the value using card-mod on the section? Using Chrome I can try to override it and it works perfectly with 290px for instance but Iām not sure how to do it in CSS
What is a āsecond card-mod settingā?
Guess there is no need to post whole code (170 lines).
Suggest to post only a relevant part.
If you mean two consecutive ha-card - surely the 2nd style overrides the 1st.
And similar questions are supposed to be asked in card-mod thread, this thread is for themes.
Also, suggest to ask in community first before registering a ābugā in GitHub.
have you tried adding !important after the settings that arenāt working? If that doesnāt work, please share a cardās code where itās not working.
The card mod is really awesome and i only recently discovered it but i am getting there. I have made a conditional sidebar with inteface options to show or hide parts of my dashboard and it looks like this:
This is not an option because i want to have the sections for dragān drop. Currently i use the custom card mod card with css to position it on the right side and all this inside a conditional card with a toggle helper. When the helper is on the sidebar appears. When its off it hidesā¦ Hope it makes senseā¦
Thank you for your comment but it doesnāt help my question.
Both comments donāt. I asked if there is any way to push the interface to the left with card mod and i mentioned that i use a conditional sidebar. Your response was to use the standard sidebar. When i said that i use the sections your response is that it is testing (which i know). I donāt know what your comments have to do with my question. A simple ānoā would suffice.
When you asked your 1st question - you have not specified that you are using sections.
What you are trying to do - join together two worlds: working and well known (at least by experienced users) traditional approach and alpha-tested / buggy / limited sections approach.
Well, i am in a card-mod topic so my question is not about the sections (which are working perfectly BTW). Ok, so in case i wasnāt clear let me ask again. I have made a sidebar with the custom:mod-card and possitioned it to the left with CSS. It is wrapped in a conditional card with condition to appear on desktop (as i donāt want it on mobile view) and also if a specific helper is on. Here is the code for furhter understanding:
As it is, the card overlaps the interface and my question is, is there any way, either in the card itself or in the theme to make it push the inteface to the left?
Hope this time i was more clearā¦ This is a pure CSS question.
You are in a card_mod discussion, sort of, but itās not for individual cards. The thread discusses modding within an entire custom theme and not directly to lovelace cards. Page 1 explains it best!
The thread you are looking for is here with a vast CSS mod guide created by @Ildar_Gabdullin
Right, but as i understand the CSS placed in the card affects the card itself which is somethimg that i dont want to do. This is why i didnt give much details about the card itself.
What i am looking for, is to adjust the view behind the card iāve made. Maybe this is possible through the themeā¦ I believe i am in the right place but as you suggest, i am gonna post my question also to the other thread.