WordPress.org

Ready to get started?Download WordPress

Forums

Page Builder by SiteOrigin
Namespace your classes (8 posts)

  1. EloB
    Member
    Posted 8 months ago #

    First of all I want to say what a great plugin!

    But please can you namespace your classnames?

    For instance the "panel" class is used by Bootstrap 3.0 and it makes all sites have panels. So please add "so-panel" instead.

    http://wordpress.org/plugins/siteorigin-panels/

  2. Greg Priday
    Member
    Plugin Author

    Posted 8 months ago #

    This is a very good idea, and should be easy enough :)

  3. EloB
    Member
    Posted 4 months ago #

    Hi Mate!

    Any progress on this one? :)

    Can you start a Github project so everyone can pull-request? I really appreciate your hard work and want to contribute for this awesome plugin.

    Here is a tutorial to maintain a project in both svn and git for wordpress without any sufficient overhead:
    https://gist.github.com/kasparsd/3749872

  4. Pixelatic
    Member
    Posted 4 months ago #

    +1 for this request, I would also like to see this plugin play nice with Bootstrap 3.0... I have also noticed that Page Builder button elements in the admin interface display oddly when installed alongside http://wordpress.org/plugins/event-organiser/ (another CSS name conflict, this time I think Event Organiser is to blame for not namespacing these and I am filing a bug report with the developer).

  5. d4b
    Member
    Posted 4 months ago #

    So it would be best:
    $classes = array( 'panel', 'so-widget' );

    Often templates already have their own styles for widgets and the class "widget" a little mixed :)

  6. d4b
    Member
    Posted 4 months ago #

    $classes = array( 'so-panel', 'so-widget' ); :D

  7. d4b
    Member
    Posted 4 months ago #

    New version released and the change is not implemented: (

  8. gruvii
    Member
    Posted 4 months ago #

    +1
    Also please put on git
    make nice with bootstrap

Reply

You must log in to post.

About this Plugin

About this Topic