[Resolved] Container class conflicts

Home Forums Support Container class conflicts

  • This topic has 3 replies, 2 voices, and was last updated 10 months ago by David.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1075801
    Marco

    Is it possibile to change che .container class name used in the #page element to something else?

    I get tons of conflicts with every decent css framework (I’m using Bulma).

    #1076043
    David
    Staff
    Customer Support

    Hi there,

    unfortunately not as this would break the theme styling.

    The problem with a lot of frameworks is they do not namespace or better still scope their CSS. I know there is a forked version of Bootstrap that allows you to isolate there CSS but not one for Bulma that i could find.

    But i did find this where one user has scoped the CSS:

    https://github.com/jgthms/bulma/issues/302#issuecomment-441890938

    #1076053
    Marco

    Thank you, i will have a look at that.
    I will probably be able to bake a custom solution in the small context i need, i just wanted to be sure there are no better ways.

    Namespacing on the Generatepress side too would be nice in the future.

    #1076450
    David
    Staff
    Customer Support

    You’re welcome.
    Thanks for the suggestion

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.