I use bootstrap for my website which uses storefront child theme. However, bootstrap.css has many conflicts which those in storefront.
https://github.com/woocommerce/woocommerce/issues/21213
I found some tutorials that show the fix for boostrap-woocommerce conflict. However, it does not work for Storefront
Are there any good alternatives that I can use for styling? Or how do you guys avoid those conflicts? Thanks
you should use bootstrap's 'Customize and download' tool
this should help you deal with conflicts. this tool is not available for version 4 but you can do in manually, check the documentation
Related
Most "regular" websites I've seen generally use Twitter Bootstrap, at least for the grid layout.
Most themes I've seen to WordPress does not use Bootstrap, they are often built with a custom grid layout.
Is Wordpress + bootstrap a bad solution? Or why do so few Wordpress themes use bootstrap?
I'd agree with most of the comments, but I'd argue that this is NOT an opinion based question. There's nothing empirically WRONG or BAD about using Bootstrap in WordPress themes. In fact, I do it every single work day. Sage theme is a popular starter theme that uses Bootstrap, and there's plenty others that do as well.
The technologies are perfectly compatible, it's ultimately just up to your design / development goals for the theme. If you desire finer control and don't want to do a bunch of style overrides for a very specific look-and-feel, then maybe Bootstrap isn't right for that particular project. However, there's nothing from the WordPress side of things that would make this a bad solution.
I am writing a simple plugin for wordpress (actually a widget, packaged as a plugin, because reasons). I am using bootstrap to style the widget, because reasons. Now, the problem is that should I include bootstrap along the plugin or depend on another plugin (for example https://wordpress.org/plugins/wordpress-bootstrap-css/). The first is easy, but not too nice way to do it. The second I actually have no idea going about. I have found some plugins (such as Plugin-Dependecies) that could be used for it, but I'd like to do it without the meta-plugin.
Is there a way for a plugin to depend on another plugin out-of-the-box? If yes, how should I do it?
Or if there is a better way to do the styling, what would that be?
Thanks in advance.
Look at this WordPress Plugin Dependencies. It may help you.
I've been tasked with modifying the frond end of a Wordpress site, which is something I have not done before. I was first thinking of using Handlebars an Bootstrap, but I'm not even sure that will even work with the Wordpress framework.
If those don't work, what would be a good way to create a nice UI for the Wordpress site? Is creating my own theme a viable option? What tools am I even available to use?
Thank you.
Some of my favorite starter themes are:
http://themble.com/bones/ and http://underscores.me/
You can also look at frameworks like:
http://themeshaper.com/thematic/ or http://my.studiopress.com/themes/genesis/
I've used AngularJS with WordPress in the past, so I don't see why you wouldn't be able to use Handlebars (I haven't done it myself, but if you search, I'm sure you'll find some help there).
If you still want to use Bootstrap, there some tutorials on how to integrate it: http://digitalfellows.commons.gc.cuny.edu/2013/11/18/learn-bootstrap-part-2-adding-bootstrap-to-wordpress/
I have used Orchard for my project and installed Bootstrap 3.0.0 theme as it will quick and reliable for me to design whole site using Bootstrap 3.0.0. I have created one custom module using http://docs.orchardproject.net/Documentation/Creating-a-module-with-a-simple-text-editor
But at the end, I am not able to get access of my module. Let me know if anyone can help me.
There is a bootstrap 3 theme on the gallery. You can find it here: http://gallery.orchardproject.net/List/Themes/Orchard.Theme.Bootstrap
It's pretty straightforward to modify, it also will help you to build your own theme and understand how the things work.
I need to build a new WordPress site form scratch. So I guess I need a blank theme to do that. I need to know where I can find such a theme like that, and I need a tutorial that can help me to create my first WordPress theme from scratch.
I'm new in that world. So please I need your help.
If you're starting with no WP knowledge, I believe you're better off modifying a blank theme than you are creating one from scratch.
Here is a great tutorial I used when I started doing custom themes. The HTML is getting outdated semantically, but it will teach you all working parts of a WP theme.
As a starter theme I use HTML5 Boilerplate which is full of quality HTML5 and additional features like file caching, cross-browser readiness, mobile device readiness, and file caching, to name a few. Also it's got a minimal default styling.
You may also find the wordpress site helpful. Cheers.
starting with twentyten or twentyeleven isn't a bad option either.
Whatever theme you choice make it a child theme.
It may seem like something complex at first but it will make things easier along the way.
Theme Hybrid has a great blank theme: http://themehybrid.com/themes/skeleton
I have a starter theme on github that was originally based off html5 boilerplate that you can check out.. https://github.com/FernE97/html5-blank-slate