Neil Jin 7 年之前 I would like to see a base BS 3 theme on marketplace, so that my theme can really inherit that one. 请登录以投票。 以……回复 取消 Marcos Castro Neil Jin 7 年之前 There is a theme on process to be published but that can take a month more or less, you could use repository files and copy them into your theme to make your theme based on BS3 请登录以投票。 以……回复 取消
Marcos Castro Neil Jin 7 年之前 There is a theme on process to be published but that can take a month more or less, you could use repository files and copy them into your theme to make your theme based on BS3 请登录以投票。 以……回复 取消
gordon daniels 7 年之前 Marcos - As always well written and very helpful. You are a definitely a boost for Liferay theme development. Thanks again for this. 请登录以投票。 以……回复 取消 Marcos Castro gordon daniels 7 年之前 Thanks a lot!Actually there are a lot of coworkers who are working hard behind themes: Patrick, Nate, Rob.., this year we have released Lexicon, new theme generator based on gulp, and new themes! yeah! 请登录以投票。 以……回复 取消
Marcos Castro gordon daniels 7 年之前 Thanks a lot!Actually there are a lot of coworkers who are working hard behind themes: Patrick, Nate, Rob.., this year we have released Lexicon, new theme generator based on gulp, and new themes! yeah! 请登录以投票。 以……回复 取消
Michele Zanarotti 7 年之前 Hi Marcos. This article is really interesting. In your opinion what kind of problems can be found if I take a template from a bootstrap 3 website and try to use it as a base of a new liferay theme ? 请登录以投票。 以……回复 取消 Marcos Castro Michele Zanarotti 7 年之前 I think you shouldn't find much problem, the common "problem" is that if you change a base elements the UI administration elements will change, because they are also based on Bootstrap.A little complex would be migrate a Bootstrap 2.3.2 based theme to use this new one, because normally we build in our theme over bootstrap 2.3.2 structure. Recently I've migrated in a quick exercise madrid-theme (based in bootstrap 2.3.2) to this new one based on Bootstrap 3.x, I think it was not to hard, you can see the commits in a new branch: https://github.com/marcoscv-work/madrid-theme/tree/master-bs3-based 请登录以投票。 以……回复 取消
Marcos Castro Michele Zanarotti 7 年之前 I think you shouldn't find much problem, the common "problem" is that if you change a base elements the UI administration elements will change, because they are also based on Bootstrap.A little complex would be migrate a Bootstrap 2.3.2 based theme to use this new one, because normally we build in our theme over bootstrap 2.3.2 structure. Recently I've migrated in a quick exercise madrid-theme (based in bootstrap 2.3.2) to this new one based on Bootstrap 3.x, I think it was not to hard, you can see the commits in a new branch: https://github.com/marcoscv-work/madrid-theme/tree/master-bs3-based 请登录以投票。 以……回复 取消
Chris Becker 7 年之前 Hi Marcos - thanks for this post! I am looking to do this very thing for a new theme that we are creating that needs to newest bootstrap components. One question - I notice that you have a boostrap.scss file that contains the single import statement, @import "bootstrap/bootstrap", whereas the twbs/bootstrap sass project contains a _bootstrap.scss file with many import statements... which should I use? 请登录以投票。 以……回复 取消 Marcos Castro Chris Becker 7 年之前 What are the newest bootstrap components? do you mean Bootstrap 3.3.6?I could create a branch for each new Bootstrap version, but it could take me some days.Thanks! 请登录以投票。 以……回复 取消 Chris Becker Marcos Castro 7 年之前 No need to create a branch - I am just trying to understand your approach.After looking further, I see that you have moved the bootstrap.scss file inside of the bootstrap directory (removing the leading "_") and then importing this file in the boostrap.scss file in the bs3 folder. Just curious as to why this was done. 请登录以投票。 以……回复 取消 Marcos Castro Chris Becker 7 年之前 - 编辑过的 Oh! I see. I've just changed the theme structure to be closer to "sass-bootstrap", now there are not two _bootstrap.scss files, there is only one file in the exactly same way that bootstrap-sass, bootstrap-sass directory contains all scss files, you can see the commit:5548cd1620b4de1e875c28dcf9c69fa29a2a068eBy the way, I've created a 3.3.5 branch and master will be always the 3.x.x newest version.Newest Bootstrap 3.x.x master:https://github.com/marcoscv-work/Liferay-6.2-with-Bootstrap-3.x-themeBootstrap 3.3.5 branch:https://github.com/marcoscv-work/Liferay-6.2-with-Bootstrap-3.x-theme/tree/bootstrap.3.3.5-based 请登录以投票。 以……回复 取消
Marcos Castro Chris Becker 7 年之前 What are the newest bootstrap components? do you mean Bootstrap 3.3.6?I could create a branch for each new Bootstrap version, but it could take me some days.Thanks! 请登录以投票。 以……回复 取消 Chris Becker Marcos Castro 7 年之前 No need to create a branch - I am just trying to understand your approach.After looking further, I see that you have moved the bootstrap.scss file inside of the bootstrap directory (removing the leading "_") and then importing this file in the boostrap.scss file in the bs3 folder. Just curious as to why this was done. 请登录以投票。 以……回复 取消 Marcos Castro Chris Becker 7 年之前 - 编辑过的 Oh! I see. I've just changed the theme structure to be closer to "sass-bootstrap", now there are not two _bootstrap.scss files, there is only one file in the exactly same way that bootstrap-sass, bootstrap-sass directory contains all scss files, you can see the commit:5548cd1620b4de1e875c28dcf9c69fa29a2a068eBy the way, I've created a 3.3.5 branch and master will be always the 3.x.x newest version.Newest Bootstrap 3.x.x master:https://github.com/marcoscv-work/Liferay-6.2-with-Bootstrap-3.x-themeBootstrap 3.3.5 branch:https://github.com/marcoscv-work/Liferay-6.2-with-Bootstrap-3.x-theme/tree/bootstrap.3.3.5-based 请登录以投票。 以……回复 取消
Chris Becker Marcos Castro 7 年之前 No need to create a branch - I am just trying to understand your approach.After looking further, I see that you have moved the bootstrap.scss file inside of the bootstrap directory (removing the leading "_") and then importing this file in the boostrap.scss file in the bs3 folder. Just curious as to why this was done. 请登录以投票。 以……回复 取消 Marcos Castro Chris Becker 7 年之前 - 编辑过的 Oh! I see. I've just changed the theme structure to be closer to "sass-bootstrap", now there are not two _bootstrap.scss files, there is only one file in the exactly same way that bootstrap-sass, bootstrap-sass directory contains all scss files, you can see the commit:5548cd1620b4de1e875c28dcf9c69fa29a2a068eBy the way, I've created a 3.3.5 branch and master will be always the 3.x.x newest version.Newest Bootstrap 3.x.x master:https://github.com/marcoscv-work/Liferay-6.2-with-Bootstrap-3.x-themeBootstrap 3.3.5 branch:https://github.com/marcoscv-work/Liferay-6.2-with-Bootstrap-3.x-theme/tree/bootstrap.3.3.5-based 请登录以投票。 以……回复 取消
Marcos Castro Chris Becker 7 年之前 - 编辑过的 Oh! I see. I've just changed the theme structure to be closer to "sass-bootstrap", now there are not two _bootstrap.scss files, there is only one file in the exactly same way that bootstrap-sass, bootstrap-sass directory contains all scss files, you can see the commit:5548cd1620b4de1e875c28dcf9c69fa29a2a068eBy the way, I've created a 3.3.5 branch and master will be always the 3.x.x newest version.Newest Bootstrap 3.x.x master:https://github.com/marcoscv-work/Liferay-6.2-with-Bootstrap-3.x-themeBootstrap 3.3.5 branch:https://github.com/marcoscv-work/Liferay-6.2-with-Bootstrap-3.x-theme/tree/bootstrap.3.3.5-based 请登录以投票。 以……回复 取消
William Gosse 7 年之前 I've installed your solution from github and for the most part it works. I'm having an issue getting glyphicons to display. Here's my code <a href="#top"><span class="glyphicon glyphicon-chevron-up" aria-hidden="true"></span> Back to top</a>Any suggestion would be much appreciated. 请登录以投票。 以……回复 取消 Marcos Castro William Gosse 7 年之前 Hi Williams!This solution updates the Bootstrap CSS, you could update glyphicons font too, or simply use the class of bootstrap 2.3.2 glyphicons:<span class="icon-chevron-up"></span> 请登录以投票。 以……回复 取消 William Gosse Marcos Castro 7 年之前 thanks, icon-chevron-up did the trick.What about nav-pills and nav-stacked classes? 请登录以投票。 以……回复 取消 William Gosse Marcos Castro 7 年之前 Actually I added the fonts and that way work as well with the original classes.However it still seems like its not finding all of the bs3 classes. 请登录以投票。 以……回复 取消 Marcos Castro William Gosse 7 年之前 All Bootstrap classes are there, for example:nav-stacked:https://github.com/marcoscv-work/Liferay-6.2-with-Bootstrap-3.x-theme/blob/766b97cb680f9f52b43bbea8f7ac29ccf8a173d9/src/css/aui/bs3/bootstrap/_navs.scss#L142thanks! 请登录以投票。 以……回复 取消 William Gosse Marcos Castro 7 年之前 Ok I have the following code: <div class="container text-center"> <hr /> <div class="row"> <div class="col-lg-12"> <div class="col-md-3"> <ul class="nav nav-pills nav-stacked"> <li><a href="#">Link 1</a></li> <li><a href="#">Link 2</a></li> </ul> </div> <div class="col-md-3"> <ul class="nav nav-pills nav-stacked"> <li><a href="#">Link 3</a></li> <li><a href="#">Link 4</a></li> </ul> </div> <div class="col-md-3"> <ul class="nav nav-pills nav-stacked"> <li><a href="#">Link 5</a></li> <li><a href="#">Link 6</a></li> </ul> </div> <div class="col-md-3"> <ul class="nav nav-pills nav-stacked"> <li><a href="#">Link 7</a></li> <li><a href="#">Link 8</a></li> </ul> </div> </div> </div>With your setup, found at https://github.com/marcoscv-work/Liferay-6.2-with-Bootstrap-3.x-theme, this code does seem to produce the expected result seen in a non liferay app. In Liferay it acts like the nav-pills nav-stacked classes are being found even thought they are there? 请登录以投票。 以……回复 取消 Marcos Castro William Gosse 7 年之前 Hey Williams, Could you add the issue to the repository? or through email. Thanks a lot! 请登录以投票。 以……回复 取消 William Gosse Marcos Castro 7 年之前 I wish we could post images to this article. 请登录以投票。 以……回复 取消
Marcos Castro William Gosse 7 年之前 Hi Williams!This solution updates the Bootstrap CSS, you could update glyphicons font too, or simply use the class of bootstrap 2.3.2 glyphicons:<span class="icon-chevron-up"></span> 请登录以投票。 以……回复 取消 William Gosse Marcos Castro 7 年之前 thanks, icon-chevron-up did the trick.What about nav-pills and nav-stacked classes? 请登录以投票。 以……回复 取消 William Gosse Marcos Castro 7 年之前 Actually I added the fonts and that way work as well with the original classes.However it still seems like its not finding all of the bs3 classes. 请登录以投票。 以……回复 取消 Marcos Castro William Gosse 7 年之前 All Bootstrap classes are there, for example:nav-stacked:https://github.com/marcoscv-work/Liferay-6.2-with-Bootstrap-3.x-theme/blob/766b97cb680f9f52b43bbea8f7ac29ccf8a173d9/src/css/aui/bs3/bootstrap/_navs.scss#L142thanks! 请登录以投票。 以……回复 取消 William Gosse Marcos Castro 7 年之前 Ok I have the following code: <div class="container text-center"> <hr /> <div class="row"> <div class="col-lg-12"> <div class="col-md-3"> <ul class="nav nav-pills nav-stacked"> <li><a href="#">Link 1</a></li> <li><a href="#">Link 2</a></li> </ul> </div> <div class="col-md-3"> <ul class="nav nav-pills nav-stacked"> <li><a href="#">Link 3</a></li> <li><a href="#">Link 4</a></li> </ul> </div> <div class="col-md-3"> <ul class="nav nav-pills nav-stacked"> <li><a href="#">Link 5</a></li> <li><a href="#">Link 6</a></li> </ul> </div> <div class="col-md-3"> <ul class="nav nav-pills nav-stacked"> <li><a href="#">Link 7</a></li> <li><a href="#">Link 8</a></li> </ul> </div> </div> </div>With your setup, found at https://github.com/marcoscv-work/Liferay-6.2-with-Bootstrap-3.x-theme, this code does seem to produce the expected result seen in a non liferay app. In Liferay it acts like the nav-pills nav-stacked classes are being found even thought they are there? 请登录以投票。 以……回复 取消 Marcos Castro William Gosse 7 年之前 Hey Williams, Could you add the issue to the repository? or through email. Thanks a lot! 请登录以投票。 以……回复 取消 William Gosse Marcos Castro 7 年之前 I wish we could post images to this article. 请登录以投票。 以……回复 取消
William Gosse Marcos Castro 7 年之前 thanks, icon-chevron-up did the trick.What about nav-pills and nav-stacked classes? 请登录以投票。 以……回复 取消
William Gosse Marcos Castro 7 年之前 Actually I added the fonts and that way work as well with the original classes.However it still seems like its not finding all of the bs3 classes. 请登录以投票。 以……回复 取消 Marcos Castro William Gosse 7 年之前 All Bootstrap classes are there, for example:nav-stacked:https://github.com/marcoscv-work/Liferay-6.2-with-Bootstrap-3.x-theme/blob/766b97cb680f9f52b43bbea8f7ac29ccf8a173d9/src/css/aui/bs3/bootstrap/_navs.scss#L142thanks! 请登录以投票。 以……回复 取消 William Gosse Marcos Castro 7 年之前 Ok I have the following code: <div class="container text-center"> <hr /> <div class="row"> <div class="col-lg-12"> <div class="col-md-3"> <ul class="nav nav-pills nav-stacked"> <li><a href="#">Link 1</a></li> <li><a href="#">Link 2</a></li> </ul> </div> <div class="col-md-3"> <ul class="nav nav-pills nav-stacked"> <li><a href="#">Link 3</a></li> <li><a href="#">Link 4</a></li> </ul> </div> <div class="col-md-3"> <ul class="nav nav-pills nav-stacked"> <li><a href="#">Link 5</a></li> <li><a href="#">Link 6</a></li> </ul> </div> <div class="col-md-3"> <ul class="nav nav-pills nav-stacked"> <li><a href="#">Link 7</a></li> <li><a href="#">Link 8</a></li> </ul> </div> </div> </div>With your setup, found at https://github.com/marcoscv-work/Liferay-6.2-with-Bootstrap-3.x-theme, this code does seem to produce the expected result seen in a non liferay app. In Liferay it acts like the nav-pills nav-stacked classes are being found even thought they are there? 请登录以投票。 以……回复 取消 Marcos Castro William Gosse 7 年之前 Hey Williams, Could you add the issue to the repository? or through email. Thanks a lot! 请登录以投票。 以……回复 取消 William Gosse Marcos Castro 7 年之前 I wish we could post images to this article. 请登录以投票。 以……回复 取消
Marcos Castro William Gosse 7 年之前 All Bootstrap classes are there, for example:nav-stacked:https://github.com/marcoscv-work/Liferay-6.2-with-Bootstrap-3.x-theme/blob/766b97cb680f9f52b43bbea8f7ac29ccf8a173d9/src/css/aui/bs3/bootstrap/_navs.scss#L142thanks! 请登录以投票。 以……回复 取消 William Gosse Marcos Castro 7 年之前 Ok I have the following code: <div class="container text-center"> <hr /> <div class="row"> <div class="col-lg-12"> <div class="col-md-3"> <ul class="nav nav-pills nav-stacked"> <li><a href="#">Link 1</a></li> <li><a href="#">Link 2</a></li> </ul> </div> <div class="col-md-3"> <ul class="nav nav-pills nav-stacked"> <li><a href="#">Link 3</a></li> <li><a href="#">Link 4</a></li> </ul> </div> <div class="col-md-3"> <ul class="nav nav-pills nav-stacked"> <li><a href="#">Link 5</a></li> <li><a href="#">Link 6</a></li> </ul> </div> <div class="col-md-3"> <ul class="nav nav-pills nav-stacked"> <li><a href="#">Link 7</a></li> <li><a href="#">Link 8</a></li> </ul> </div> </div> </div>With your setup, found at https://github.com/marcoscv-work/Liferay-6.2-with-Bootstrap-3.x-theme, this code does seem to produce the expected result seen in a non liferay app. In Liferay it acts like the nav-pills nav-stacked classes are being found even thought they are there? 请登录以投票。 以……回复 取消 Marcos Castro William Gosse 7 年之前 Hey Williams, Could you add the issue to the repository? or through email. Thanks a lot! 请登录以投票。 以……回复 取消 William Gosse Marcos Castro 7 年之前 I wish we could post images to this article. 请登录以投票。 以……回复 取消
William Gosse Marcos Castro 7 年之前 Ok I have the following code: <div class="container text-center"> <hr /> <div class="row"> <div class="col-lg-12"> <div class="col-md-3"> <ul class="nav nav-pills nav-stacked"> <li><a href="#">Link 1</a></li> <li><a href="#">Link 2</a></li> </ul> </div> <div class="col-md-3"> <ul class="nav nav-pills nav-stacked"> <li><a href="#">Link 3</a></li> <li><a href="#">Link 4</a></li> </ul> </div> <div class="col-md-3"> <ul class="nav nav-pills nav-stacked"> <li><a href="#">Link 5</a></li> <li><a href="#">Link 6</a></li> </ul> </div> <div class="col-md-3"> <ul class="nav nav-pills nav-stacked"> <li><a href="#">Link 7</a></li> <li><a href="#">Link 8</a></li> </ul> </div> </div> </div>With your setup, found at https://github.com/marcoscv-work/Liferay-6.2-with-Bootstrap-3.x-theme, this code does seem to produce the expected result seen in a non liferay app. In Liferay it acts like the nav-pills nav-stacked classes are being found even thought they are there? 请登录以投票。 以……回复 取消 Marcos Castro William Gosse 7 年之前 Hey Williams, Could you add the issue to the repository? or through email. Thanks a lot! 请登录以投票。 以……回复 取消
Marcos Castro William Gosse 7 年之前 Hey Williams, Could you add the issue to the repository? or through email. Thanks a lot! 请登录以投票。 以……回复 取消
Ermal Mino 7 年之前 Thank you for this really helpful article Marcos, easy to understand and to implement. Excellent solution. 请登录以投票。 以……回复 取消
Narsingh Pal 7 年之前 Hi Marcos,How can we include bootstrap 3 fonts in the theme.Thanks and RegardsNarsingh Pal 请登录以投票。 以……回复 取消 Marcos Castro Narsingh Pal 7 年之前 I will try to write a blog entry about it, because it's a little bit complex, thanks! 请登录以投票。 以……回复 取消 Narsingh Pal Marcos Castro 6 年之前 Hi Marcos,Hopy you are doing well !!Need your help on how to include Bootstrap3 fonts in 6.2 Bootstrap 3.x theme ?Many thanks in advance !!RegardsNarsingh Pal 请登录以投票。 以……回复 取消 Marcos Castro Narsingh Pal 6 年之前 You only need to import the font files, try to do a:They are in this directory:https://github.com/twbs/bootstrap/tree/v3.4.0-dev/fontsfonts/ ├── glyphicons-halflings-regular.eot ├── glyphicons-halflings-regular.svg ├── glyphicons-halflings-regular.ttf ├── glyphicons-halflings-regular.woff └── glyphicons-halflings-regular.woff2Import them and that's all :-Dhttps://github.com/twbs/bootstrap/blob/v3.4.0-dev/less/glyphicons.less 请登录以投票。 以……回复 取消 Narsingh Pal Marcos Castro 6 年之前 Thanks Marcos, will try this. 请登录以投票。 以……回复 取消 Chris Becker Marcos Castro 6 年之前 Hi Marcos;Question on the glyphicon font files - where in the theme directory structure should they be placed? Looking in the _variables.scss file, I see the following:$icon-font-path: if($bootstrap-sass-asset-helper, "bootstrap/", "../fonts/bootstrap/") !default;Since $bootstrap-sass-asset-helper default value is false, I believe that the "../fonts/bootstrap/" is the one to use, but from where? Where does the folder get placed in the theme directory hierarchy? Directly under _diffs?I tried that, but it did not appear to work. Any guidance would be appreciated - thanks!--Chris 请登录以投票。 以……回复 取消 Marcos Castro Chris Becker 6 年之前 - 编辑过的 Hi Chris,The fonts are not included so my recommendation: doesn't touch the bootstrap variables file, change the vars in the theme basic structure: css/_aui_variables.scss, there you could write your best directory choice to place the fonts.Keep in mind all bootstrap files will be compiled in aui.css, so this will be the base file.Thanks!! 请登录以投票。 以……回复 取消
Marcos Castro Narsingh Pal 7 年之前 I will try to write a blog entry about it, because it's a little bit complex, thanks! 请登录以投票。 以……回复 取消 Narsingh Pal Marcos Castro 6 年之前 Hi Marcos,Hopy you are doing well !!Need your help on how to include Bootstrap3 fonts in 6.2 Bootstrap 3.x theme ?Many thanks in advance !!RegardsNarsingh Pal 请登录以投票。 以……回复 取消 Marcos Castro Narsingh Pal 6 年之前 You only need to import the font files, try to do a:They are in this directory:https://github.com/twbs/bootstrap/tree/v3.4.0-dev/fontsfonts/ ├── glyphicons-halflings-regular.eot ├── glyphicons-halflings-regular.svg ├── glyphicons-halflings-regular.ttf ├── glyphicons-halflings-regular.woff └── glyphicons-halflings-regular.woff2Import them and that's all :-Dhttps://github.com/twbs/bootstrap/blob/v3.4.0-dev/less/glyphicons.less 请登录以投票。 以……回复 取消 Narsingh Pal Marcos Castro 6 年之前 Thanks Marcos, will try this. 请登录以投票。 以……回复 取消 Chris Becker Marcos Castro 6 年之前 Hi Marcos;Question on the glyphicon font files - where in the theme directory structure should they be placed? Looking in the _variables.scss file, I see the following:$icon-font-path: if($bootstrap-sass-asset-helper, "bootstrap/", "../fonts/bootstrap/") !default;Since $bootstrap-sass-asset-helper default value is false, I believe that the "../fonts/bootstrap/" is the one to use, but from where? Where does the folder get placed in the theme directory hierarchy? Directly under _diffs?I tried that, but it did not appear to work. Any guidance would be appreciated - thanks!--Chris 请登录以投票。 以……回复 取消 Marcos Castro Chris Becker 6 年之前 - 编辑过的 Hi Chris,The fonts are not included so my recommendation: doesn't touch the bootstrap variables file, change the vars in the theme basic structure: css/_aui_variables.scss, there you could write your best directory choice to place the fonts.Keep in mind all bootstrap files will be compiled in aui.css, so this will be the base file.Thanks!! 请登录以投票。 以……回复 取消
Narsingh Pal Marcos Castro 6 年之前 Hi Marcos,Hopy you are doing well !!Need your help on how to include Bootstrap3 fonts in 6.2 Bootstrap 3.x theme ?Many thanks in advance !!RegardsNarsingh Pal 请登录以投票。 以……回复 取消 Marcos Castro Narsingh Pal 6 年之前 You only need to import the font files, try to do a:They are in this directory:https://github.com/twbs/bootstrap/tree/v3.4.0-dev/fontsfonts/ ├── glyphicons-halflings-regular.eot ├── glyphicons-halflings-regular.svg ├── glyphicons-halflings-regular.ttf ├── glyphicons-halflings-regular.woff └── glyphicons-halflings-regular.woff2Import them and that's all :-Dhttps://github.com/twbs/bootstrap/blob/v3.4.0-dev/less/glyphicons.less 请登录以投票。 以……回复 取消 Narsingh Pal Marcos Castro 6 年之前 Thanks Marcos, will try this. 请登录以投票。 以……回复 取消 Chris Becker Marcos Castro 6 年之前 Hi Marcos;Question on the glyphicon font files - where in the theme directory structure should they be placed? Looking in the _variables.scss file, I see the following:$icon-font-path: if($bootstrap-sass-asset-helper, "bootstrap/", "../fonts/bootstrap/") !default;Since $bootstrap-sass-asset-helper default value is false, I believe that the "../fonts/bootstrap/" is the one to use, but from where? Where does the folder get placed in the theme directory hierarchy? Directly under _diffs?I tried that, but it did not appear to work. Any guidance would be appreciated - thanks!--Chris 请登录以投票。 以……回复 取消 Marcos Castro Chris Becker 6 年之前 - 编辑过的 Hi Chris,The fonts are not included so my recommendation: doesn't touch the bootstrap variables file, change the vars in the theme basic structure: css/_aui_variables.scss, there you could write your best directory choice to place the fonts.Keep in mind all bootstrap files will be compiled in aui.css, so this will be the base file.Thanks!! 请登录以投票。 以……回复 取消
Marcos Castro Narsingh Pal 6 年之前 You only need to import the font files, try to do a:They are in this directory:https://github.com/twbs/bootstrap/tree/v3.4.0-dev/fontsfonts/ ├── glyphicons-halflings-regular.eot ├── glyphicons-halflings-regular.svg ├── glyphicons-halflings-regular.ttf ├── glyphicons-halflings-regular.woff └── glyphicons-halflings-regular.woff2Import them and that's all :-Dhttps://github.com/twbs/bootstrap/blob/v3.4.0-dev/less/glyphicons.less 请登录以投票。 以……回复 取消 Narsingh Pal Marcos Castro 6 年之前 Thanks Marcos, will try this. 请登录以投票。 以……回复 取消 Chris Becker Marcos Castro 6 年之前 Hi Marcos;Question on the glyphicon font files - where in the theme directory structure should they be placed? Looking in the _variables.scss file, I see the following:$icon-font-path: if($bootstrap-sass-asset-helper, "bootstrap/", "../fonts/bootstrap/") !default;Since $bootstrap-sass-asset-helper default value is false, I believe that the "../fonts/bootstrap/" is the one to use, but from where? Where does the folder get placed in the theme directory hierarchy? Directly under _diffs?I tried that, but it did not appear to work. Any guidance would be appreciated - thanks!--Chris 请登录以投票。 以……回复 取消 Marcos Castro Chris Becker 6 年之前 - 编辑过的 Hi Chris,The fonts are not included so my recommendation: doesn't touch the bootstrap variables file, change the vars in the theme basic structure: css/_aui_variables.scss, there you could write your best directory choice to place the fonts.Keep in mind all bootstrap files will be compiled in aui.css, so this will be the base file.Thanks!! 请登录以投票。 以……回复 取消
Chris Becker Marcos Castro 6 年之前 Hi Marcos;Question on the glyphicon font files - where in the theme directory structure should they be placed? Looking in the _variables.scss file, I see the following:$icon-font-path: if($bootstrap-sass-asset-helper, "bootstrap/", "../fonts/bootstrap/") !default;Since $bootstrap-sass-asset-helper default value is false, I believe that the "../fonts/bootstrap/" is the one to use, but from where? Where does the folder get placed in the theme directory hierarchy? Directly under _diffs?I tried that, but it did not appear to work. Any guidance would be appreciated - thanks!--Chris 请登录以投票。 以……回复 取消 Marcos Castro Chris Becker 6 年之前 - 编辑过的 Hi Chris,The fonts are not included so my recommendation: doesn't touch the bootstrap variables file, change the vars in the theme basic structure: css/_aui_variables.scss, there you could write your best directory choice to place the fonts.Keep in mind all bootstrap files will be compiled in aui.css, so this will be the base file.Thanks!! 请登录以投票。 以……回复 取消
Marcos Castro Chris Becker 6 年之前 - 编辑过的 Hi Chris,The fonts are not included so my recommendation: doesn't touch the bootstrap variables file, change the vars in the theme basic structure: css/_aui_variables.scss, there you could write your best directory choice to place the fonts.Keep in mind all bootstrap files will be compiled in aui.css, so this will be the base file.Thanks!! 请登录以投票。 以……回复 取消
Sérgio Esteves 7 年之前 Hi.I'm using this theme and everything works great (i guess), except dropdowns.Is there any conflict between ALLOY dropdowns and Bootstrap 3 dropdowns?Thank you. Sérgio Esteves. 请登录以投票。 以……回复 取消
Med SAID 7 年之前 Hello ,thank you for the theme, i used it but it generate an error when i want to add a new structure template. Here is the image: 请登录以投票。 以……回复 取消 Chris Becker Med SAID 7 年之前 Same thing here. Any thoughts, Marcos? 请登录以投票。 以……回复 取消 Marcos Castro Med SAID 6 年之前 Have you created a theme color? 请登录以投票。 以……回复 取消