I'd like to create my own folder and partials, however something doesn't go right.
i set up this structure (based on zero)
- zero - style.scss
- - modules
- - template
- - style.scss
- - variables.scss
- - variables_override.scss
In the folder template:
In theory, this should work. But I get a big error: Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 81793024 bytes) in /opt/lampp/htdocs/khem2/libraries/astroid/framework/helper.php on line 172
Which is Astroid's way of tellling me I'm doing something wrong.
Hi Jos, It seems your structure got messed up. Check the proper structure below.
Template Folder - scss - - astroid (Astroid Utilities, Do not change) - - bootstrap (Bootstrap Utilities, Do not change) - - template (Blank for custom use, If not already blank then just delete all files from that folder) - - zero (Zero Template styles, Can be modify, But If updated, Template may overridden) - - style.scss (To import all utilities and styles)
Zero Folder - modules (Module Styling) - variables_override.scss (To override bootstrap variables) - variables.scss (To create variables for zero template) - style.scss (To import zero styles)
Now, You want to create your template so I think you trying something like this. - template.scss (To import template utilities like header, typography, etc.) - _typography.scss - _pages.scss - _footer.scss
You just need to add the below line into Template_Folder/scss/style.scss at last
You can override any of styling in `template` used in `astroid`, `bootstrap` or `zero`
Good Luck! Happy Templating!
The administrator has disabled public write access.
JoomDev is not affiliated with or endorsed by Open Source Matters or the Joomla! Project. The Joomla! logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.