Black

scss / css compile question - Black

scss / css compile question

by rantolo » Sun May 17, 2015 9:30 pm

This isn't so much a Black Style question, but since I am using thought maybe post here and see if someone with more knowledge could help.

I have a .css file I want to add in (tried the whole: <link rel="stylesheet" href="menu.css">) in the header file but didn't work....

Is there a way to import some way so when everything is compiled it will get added into the stylesheet.css file?
rantolo
Registered User
Posts: 25
Joined: Sat Mar 27, 2010 5:19 pm

Re: scss / css compile question

by Arty » Sun May 17, 2015 9:42 pm

Most likely code didn't work because you linked to wrong location. Path should be relative to phpBB root directory, not to .html template and you should use template variable {ROOT_PATH} or one of other similar variables.

As for including file in stylesheet.css, sure. Add your file via @import to stylesheet.scss and compile stylesheet.
Vjacheslav Trushkin / Arty.
Free phpBB 3.1 styles | New project: Iconify - modern SVG framework
User avatar
Arty
Former Team Member
Posts: 16654
Joined: Wed Mar 06, 2002 2:36 pm
Name: Vjacheslav Trushkin

Re: scss / css compile question

by rantolo » Sun May 17, 2015 10:29 pm

WOW... JUST WOW

I have been working trying to get it to call that .css file for a few days now, even posted over in the 3.1.x support area and no one caught that.... I just naturally thought that since the .css was in same file area as the header.php that it would call it...

THANKS ARTY

(And thanks for the theme)
rantolo
Registered User
Posts: 25
Joined: Sat Mar 27, 2010 5:19 pm