Skip to content
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

Outdated information in DOCs re. CSS files #3167

Open
Old-Paul opened this issue Aug 2, 2023 · 2 comments
Open

Outdated information in DOCs re. CSS files #3167

Old-Paul opened this issue Aug 2, 2023 · 2 comments

Comments

@Old-Paul
Copy link

Old-Paul commented Aug 2, 2023

I am trying to determine where to place custom.css files. Using Helium to test.

The instructions of Gantry5 site's given path is not what exists on my new Joomla installation.

The info says /templates/[gantry]/custom/scss but that path does not exist.

Below on my server is a separate .scss directory that is not in the .custom directory. Inside there are separate folders for helium and hydrogen in addition to files in the root of that folder.

There is no instruction on where to place a custom css file? Do I place it in the root or in helium folder under root?

Hope the instructions in docs on Gantry.org get updated soon.

@LMKWeb
Copy link

LMKWeb commented Aug 15, 2023

@Old-Paul you have to create that file pathway yourself each time, but after you do that it will work. That can all be done within the Joomla template manager.

@blizam
Copy link

blizam commented Aug 29, 2023

[gantry] would be the name of the template you're using, so in this case it would be

/templates/g5_helium/custom/scss/

in that folder you can create either of these files

custom.css
custom.scss

and they'll be loaded automatically.

If you're using custom.scss put this at the top

@import "dependencies";

and you'll be able to access all the theme and Gantry variables

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants