Re: 独自のCSSをサイト全体で使えるようにしたい

2018年7月4日 at 21:55

page_theme.phpの書き初めに必要なnamespace等の記述が無いですね。

<?php
namespace Application\Theme\Stucco;
use Concrete\Core\Area\Layout\Preset\Provider\ThemeProviderInterface;
class PageTheme extends \Concrete\Core\Page\Theme\Theme implements ThemeProviderInterface
{
public function registerAssets()
{
$this->requireAsset('javascript', 'jquery');
$this->requireAsset('javascript', 'mon');
$this->requireAsset('css', 'mon');
}
protected $pThemeGridFrameworkHandle = 'bootstrap3';

public function getThemeName()
{

以下略

いじる前の元のファイルを参考にしてみてください。

タグ:

Re: Re: 独自のCSSをサイト全体で使えるようにしたい

2018年7月5日 at 18:16
aki様
ありがとうございます。
当方根本的に分かっていないようです。
元のファイル自体がありませんでした。

stuccoのファイルを予めコピーして編集するということなのでしょうか?
 

Re: 独自のCSSをサイト全体で使えるようにしたい

2018年7月5日 at 22:25
theme_stucco > themes > stucco内にありますよ。
 

Re: Re: 独自のCSSをサイト全体で使えるようにしたい

2018年7月6日 at 16:31
akiさま
ありがとうございます。
どうやら私のやりたかったことはテーマのカスタムCSSで追記してできました。