-
Notifications
You must be signed in to change notification settings - Fork 36
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
widgets don't fit the sidebar #86
Comments
This issue has to to with the number of columns and Bootstrap's Grid. See also: http://getbootstrap.com/css/#grid-options. By default the layouts leftsidebar and rightsidebar use 3 columns for the sidebar and 9 for the content. Changing the ratio content / sidebar become complex cause the relation with the default grid setting and grid float breaking point. Adding this setting to the customizer will also give a complex view. For now i only create some new theme mods:
You can use this mods to set the column span of the content and sidebar, this will only effect the layouts with a left or right sidebar. Mods won't effect the three column layout for now. Other notes If you set Set the mods in your functions.php by adding for example:
Note in fact you will have to run your site only once with this setting cause the theme mods are saved in the database. As a result, you will also have to remove them by adding (and run at least once):
|
So if I use those mods, how the future thème updates will affect them ? |
So I read you worry about overloading visually the customizer interface. |
No problem, they are saved in the database, theme update overwrite them. Question is, grid settings are layout (visible) -> customizer, are theme settings -> theme options? I doubt about that. Fact, there are many options now, i havn't spent enough time for documentation.
example redefine bootstrap's variable:
example mixins:
In the above 2(predefined) is overruled by 3(customizer), and 4 overrule 2 and 3 in most cases. NOTE LESS can change the grid, but the side bar wide (number of columns) can't be set by less |
It's better if number of columns are defined by theme option or customizer : non-coding users can adjust this visually. |
@Linearis yes, thanks. Your workflow fits my idea. We use the same steps at Jamedo websites:
I wrote a workflow document for child theming, if you are interested to read it, please send me a email [email protected] |
See also http://skematiktheme.com/forums/topic/changing-the-background-color-of-the-content-containerbody/#post-3080
The text was updated successfully, but these errors were encountered: