Important

Okay
  Public Ticket #1367338
Bootstrap error after installing
Closed

Comments

  • Ryan Tegantvoort started the conversation

    Hi, I just installed the Product List Extension on my magento 2.1.10 platform with the Ves Need theme already installed. This is the error I am receiving:

    ParseError: Unrecognised input. Possibly missing opening '{'

    in bootstrap.min.css on line 5, column 55610:

    To add to this, I previously installed the Venus Theme Settings Extension and had issues because I was missing the Ves/All folder. I found this folder in GitHub and installed it. Everything seemed to be working fine. I downloaded the Venus Theme Settings from venustheme.com. 

    I will be buying a few extensions from you in the near future so I hope we can get this figured out. Form Builder and Customer Quotation (I really need the new shipping cost feature you are adding for the Customer Quotation though, would like to know when to expect it?)

    After downloading the Product List Extension, I browsed through the folders and noticed I would be installing Ves_All again. Digging deeper I noticed a bunch of the files were either different, missing, or new ones were included with this Product List Extension. On a few of the files from the Product List Extension I noticed a timestamp of 2017 so I figured these were the most up to date files. I decided to overwrite all the Ves_All files with the new ones included with the extension. And now I am receiving the error stated above. 

    I have even downloaded a few more free extensions from you to compare the Ves_All folder. But all the extensions have the same files (give or take a few). 

    I have compared the bootstrap.min.css in the Productlist folder with the bootstrap.min.css in the All folder and there are some differences. 

    Also I am still trying to grasp why I now have bootstrap, colorbox, fancybox, and owl carousel files in so many directories. Especially since I thought that was the point of using the All extension?

    After installing the Ves Need Theme, I had to manually upload fontawesome and owl carousel. Now I have them listed all over the place. 

    I have all these files listed in All, Productlist, and Themesettings. At this point, I am not sure which ones are being used and which ones are not. Also font awesome is listed in multiple places as well. I would like to clean this up a bit and remove duplicate files and unnecessary files. 

    I am working on a Xampp server at the moment until I get everything customized to fit our needs. 

    Please let me know if you need any more information. I would be happy to assist as I am still getting my feet wet with this new Magento2.

    Thanks!


  •  1,319
    Land of replied

    Hello Ryan,

    Have a nice day!

    Please try to disable the bootstrap.min.css  file in the product list extension (you can override the module file into the theme Ves Need: /app/code/Ves/Productlist/view/frontend/layout/default.xml)

    then change the code:

    <css src="Ves_All::lib/bootstrap/css/bootstrap.min.css" />

    To:

    <remove src="Ves_All::lib/bootstrap/css/bootstrap.min.css" />

  • Ryan Tegantvoort replied

    I was able to remove the error I was receiving by switching from using the minified version to bootstrap.css. Not sure why this makes a difference. 

    Also for some reason installing this extension has adjusted the layout (width) of the footer? footer1.png is how it looks before installing. I will continue to find the solution as well

  • Ryan Tegantvoort replied

    So I determined the solution to the footer. When I have this:

    <css src="Ves_All::lib/bootstrap/css/bootstrap.min.css" />

    in Productlist default.xml, I receive the parse error. When I have this:

    <css src="Ves_All::lib/bootstrap/css/bootstrap.css" />

    I receive the footer issue in the pictures I attached previously. And when I have this:

    <remove src="Ves_All::lib/bootstrap/css/bootstrap.min.css" />

    Everything appears to be working fine. So is bootstrap.min.css even being used with this extension? 

  •  1,319
    Land of replied

    Hello Ryan,

    Have a nice day!

    If your site are using bootstrap 3 layout also, you can disable the bootstrap.min.css in the module. If not, you should add custom css code to fix the conflict css style in the theme.