Bootstrap issues

leonis_csem's picture
leonis_csem
Sun, 12/20/2015 - 12:57
#1
Bootstrap issues

Hi, you have some mistakes in your theme regarding the Bootstrap library. First of all, you didn't add an option to load the base library via CDN but only locally:

html.preprocess.inc

drupal_add_css("{$path_theme}/css/bootstrap.min.css");

At least include this one line commented and write that into your theme documentation:

drupal_add_css('//cdn.jsdelivr.net/bootstrap/3.3.4/css/bootstrap.min.css', array(  'type' => 'external'));

Next, you have the Boostrap library included in your style.css. Why?

Edit: The style.css only was loaded due to caching after I checked out maintenance. Sorry!

phuonght's picture
phuonght
Mon, 12/21/2015 - 21:39

Hi,

You could remove / Bootstrap v3.3.4 / in style.min.css if you would like. It will not cause any error.

Log in or register to post comments
Have More Idea?

We are here to build your website!

No Universal solution fits all special business requirements. Our experienced team is ready with ideas and state-of-the-art technical solutions to consult the best solution within your budget.