help with checkbox lists please
5 posts by 3 authors in: Forums > CMS Builder
Last Post: June 22, 2017 (RSS)
By willydoit - June 14, 2017
Hi all,
just a quick query, I have sections that include a lot of multi-selection checkbox fields and by default they just list in vertical lines (some have 30 options to select) which looks a bit untidy, is there a way to have them display in columns or rows. Please note this is within cmsb control panel for the input of information not on listing or detail pages.
Thanks in advance for any help provided.
By Toledoh - June 14, 2017
It's probably not the best way to do it, but you could add code to the css.
By the default theme is cmsb/3rdParty/clipone/css/theme_blue.css. You can edit that, or duplicate it, name it something else then use instead.
Add this to the code seems fine to me.
.form-group .col-sm-10 .checkbox{
display: inline-block;
margin-right: 2rem;
}
Tim (toledoh.com.au)
By kitsguru - June 16, 2017
the BEST way is to add a custom.css file in the CMSB folder.
See the custom.css.readme
HOW TO ADD A CUSTOM CSS FILE
-------------------------------------------------------------------------------You can add your own upgrade-safe custom CSS file by creating a file named
'custom.css' in this directory. If a file with that name exists it will
automatically be loaded by the software below all the other CSS files.-------------------------------------------------------------------------------
end of file
By willydoit - June 22, 2017
Hi,
sorry for the delay in responding, thaks for the input it has been helpful.