fbpx

Stay Home & Grab 40% Discount COVID19Grab Now

Welcome, Guest
Username: Password: Remember me

TOPIC: sccs problem

sccs problem 2 months 2 weeks ago #19613

  • Jos
  • Jos's Avatar
  • Offline
  • Senior Member
  • Posts: 42
  • Karma: 0
I'd like to create my own folder and partials, however something doesn't go right.
i set up this structure (based on zero)
- astroid
- bootstrap
- zero - style.scss
- - modules
- - template
- - style.scss
- - variables.scss
- - variables_override.scss

In the folder template:
- template.scss
- _typograhpy.scss
- _pages.scss
- _footer.scss

In zero/style.scss:
// Bootstrap Default 4.1.3
@import "bootstrap/functions";
@import "zero/variables";
@import "zero/variables_override";
@import "bootstrap/bootstrap";

// Astroid Framework
@import "astroid/astroid";

// Theme
@import "zero/style";
@import "zero/template/template";

In template/template.scss:
@import "header";
@import "page";
@import "typography";
@import "bottom";
@import "footer";
@import "buttons";

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.
Last Edit: 2 months 2 weeks ago by Jos.
The administrator has disabled public write access.

sccs problem 2 months 2 weeks ago #19623

  • hitesh99raj
  • hitesh99raj's Avatar
  • Offline
  • Administrator
  • Posts: 34
  • Thank you received: 15
  • Karma: 4
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

@import "template/template";

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.
Moderators: chandandeep
Time to create page: 0.245 seconds