Hi, I'm using bulma with wordpress and the generatepress theme. The "container" class, the theme uses it in the customizer, that is, the styles are inline.
I need to rename "container" class in bulma. I'm a noob.
I'm starting in sass. Is there any easy way to do this? I am temporarily manually changing the classes (also create a file to document the changes), for example, prefix-container in sass/elements/container.sass and sass/layout/hero.sass (10 changes in total). I know it's not the best option, but for now it's good for me.
I was reading in #302 , but I do not know what to do :(
Thanks
Prefixing is not planned. However, having each class as a mixin _is_ planned.
What you also can do is import everything _but_ the container.
This is very important for many inexperienced people. So many years and no easy solution :(
Many people like me, want to use bulma and in the end give up for things like these.
I've created a simple NPM builder for bulma.css (v0.8.2) with a custom class namespace:
https://github.com/creativesuspects/bulma-custom
https://github.com/creativesuspects/bulma-custom/blob/master/all/bulma.prefixed.css
https://github.com/creativesuspects/bulma-custom/blob/master/all/bulma.prefixed.min.css
The package also includes a custom builder that allows you to only include the elements and components you need. I have only done some simple tests, but I haven't encountered any issues so far. I've also included the Checkradio extension in the custom build and that also works.
here is one for version 0.9.0
https://github.com/lil5/bulma-custom
a fork of @creativesuspects
Most helpful comment
This is very important for many inexperienced people. So many years and no easy solution :(
Many people like me, want to use bulma and in the end give up for things like these.