style sheet css url automatically being created

Permalink
Hi

For some reason concrete 5 appears to outputting the following code in the html at line 60:

<link media="screen" rel="stylesheet" href="<?php echo $this->getStyleSheet('main.css')?>">


I'm using the Bootstrap theme but i can't see in the header.php file where this is being generated.

Any help would be greatly appreciated.

 
xxjames1975xx replied on at Permalink Reply
It would help if I posted the url of the site:http://www.insynccreative.co.uk
hutman replied on at Permalink Reply
hutman
It almost looks like they put this in the /elements/header_required.php from the core rather than into their theme's header. Can you check if there is a file like that in the root of your site? Otherwise if there isn't it might have been changed in the /concrete/elements/header_required.php
xxjames1975xx replied on at Permalink Reply
Thanks for looking for me, I had a look at what you suggested and couldn't see that file in the root. However i went back into the Bootstrap header file and commented out this code and it seems to have done the job.

if (!empty($bootstrap_config_arr['optional_head'])) {
   $this -> addHeaderItem($bootstrap_config_arr['optional_head']);


thanks for your help.

cheers

James