Get 2024 Templates Mega Bundle!$1000 worth of 19 Bootstrap HTML, Vue & React Templates + 3 Vector Sets for just $99
Get for 99$

What is the priority of _variables.custom.scss


Hi,

I followed your instruction below
https://preview.keenthemes.com/html/metronic/docs/getting-started/customization/sass

but it seems like the priority of _variables.custom.scss is lower than that of _variables.override.scss

Actually, I did not see _variables.override.scss in the previous version (<= v8.2.0). To be more specific, I want to remove the card border because it has been added when I upgraded to v8.2.3 which broke my layout. I want to keep everything as same as those in the previous version - v8.2.0. In fact, this is also the reason I hesitate to upgrade because sometimes you change the layout so much.

I edited _variables.custom.scss as below

// Card
$card-border-enabled: false;

but nothing happened.

It works if I edit directly that value in _variables.override.scss though I am not sure it is good to do.

Could you show me the correct way to solve this?

Thanks


Text formatting options
Submit
Here's a how to add some HTML formatting to your comment:
  • <pre></pre> for JS codes block
  • <pre lang="html"></pre> for HTML code block
  • <pre lang="scss"></pre> for SCSS code block
  • <pre lang="php"></pre> for PHP code block
  • <code></code> for single line of code
  • <strong></strong> to make things bold
  • <em></em> to emphasize
  • <ul><li></li></ul>  to make list
  • <ol><li></li></ol>  to make ordered list
  • <h3></h3> to make headings
  • <a></a> for links
  • <img> to paste in an image
  • <blockquote></blockquote> to quote somebody
  • happy  :)
  • shocked  :|
  • sad  :(

Replies (4)


Hi,

Please check src/sass/_init.scss to see the priority of the above config files.

Regards.



Hi happy,

Just to clarify, i see a deleted reply for this post. Do you still need clarification or your issue has been settled?

Regards.



Hi,
Sorry, I could solve it by myself so I did not want to bother you. However you noticed happy

Thanks



Hi,

Sure thing, if you need any other help please let us know happy
All the best with your project!

Fueling Metronic's future is easy! Spread the word among your connections and help our sales grow, it allows us to reinvest even more into Metronic, bringing you even more exciting features and updates in the future.

Regards.


Text formatting options
Submit
Here's a how to add some HTML formatting to your comment:
  • <pre></pre> for JS codes block
  • <pre lang="html"></pre> for HTML code block
  • <pre lang="scss"></pre> for SCSS code block
  • <pre lang="php"></pre> for PHP code block
  • <code></code> for single line of code
  • <strong></strong> to make things bold
  • <em></em> to emphasize
  • <ul><li></li></ul>  to make list
  • <ol><li></li></ol>  to make ordered list
  • <h3></h3> to make headings
  • <a></a> for links
  • <img> to paste in an image
  • <blockquote></blockquote> to quote somebody
  • happy  :)
  • shocked  :|
  • sad  :(
Text formatting options
Submit
Here's a how to add some HTML formatting to your comment:
  • <pre></pre> for JS codes block
  • <pre lang="html"></pre> for HTML code block
  • <pre lang="scss"></pre> for SCSS code block
  • <pre lang="php"></pre> for PHP code block
  • <code></code> for single line of code
  • <strong></strong> to make things bold
  • <em></em> to emphasize
  • <ul><li></li></ul>  to make list
  • <ol><li></li></ol>  to make ordered list
  • <h3></h3> to make headings
  • <a></a> for links
  • <img> to paste in an image
  • <blockquote></blockquote> to quote somebody
  • happy  :)
  • shocked  :|
  • sad  :(