WordPress.org

Ready to get started?Download WordPress

Forums

Comprehensive Google Map Plugin
Feature Request: Class for Container Div (4 posts)

  1. pha3z
    Member
    Posted 1 year ago #

    Couldn't figure out where to post feature requests so I posted here.

    Seems like a pretty basic functionality. Using the align property to align the container div is less than desirable. Would be best if there was just a default class added to the container div. Also an actual shortcode attribute class= would be nice for adding additional custom classes. They shouldn't overwrite the default class.

    This would make cleaner markup in the editor instead of requiring people to wrap their own container classes to do special alignment.

    - Jim

    http://wordpress.org/extend/plugins/comprehensive-google-map-plugin/

  2. pha3z
    Member
    Posted 1 year ago #

    Not sure I was clear on this. So for instance:

    Currently, the plugin generators <div align="center">

    It'd be better if the plugin generated <div class="cgmp-container">

    And let people style it themselves in a stylesheet.

    With optional attributae class="blue" in the shortcode. Would generate:

    <div class="cgmp-container blue">

  3. pha3z
    Member
    Posted 1 year ago #

    If you want less-savvy users to be able to align the map, then make the align="" option only get output if they explicitly define the align= attribute in the shortcode. I noticed that if you leave the attribute off, it defaults to spitting out align="center" so you can't leave it off even if you want to.

  4. RolandOfEld
    Member
    Posted 10 months ago #

    agree with this - i am currently battling the same issue - i want my text to wrap around the map but currently cant do so becuase of this

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.