45 Posts
Casper
4 years ago
2
Topic

Hello guys.

How to remove a file /templates/seb_blog/css/style.css from a header?

I want to transfer the contents of this file to the main template css file.

thank you in advance.

Get a VIP membership
4 years ago
1
Level 1

Hi Casper,

Currently there is no parameter to remove the loading of this file.

You have two options to remove it.

The simplest and quickest first you remove the three lines in the file "/templates/seb_blog/index.php" :

// Add CSS file

$doc = JFactory::getDocument();

$doc->addStyleSheet( JUri::root( true ).'/templates/'.$this->template.'/css/style.css' );

The second cleanest way to continue updating SEBLOD, you copy the modified index.php file, in the directory "your_main_template / html / tpl_seb_blog" of your main template and the file "config.php"

118 Posts
webchun
4 years ago
0
Level 2

The second cleanest way to continue updating SEBLOD, you copy the modified index.php file, in the directory "your_main_template / html / tpl_seb_blog" of your main template and the file "config.php"

Interesting, so we basically can override a seblod template from joomla template?

Get a Book for SEBLOD