WordPress.org

Ready to get started?Download WordPress

Forums

SimpleMap Store Locator
Setting Width of Search Box (5 posts)

  1. eah82
    Member
    Posted 2 years ago #

    Is there any way to manually set the width of the search box? It seems to be fixed and it's breaking the layout of the theme I'm using. It gets pushed off to the right, almost entirely off the screen. Any help will be greatly appreciated.

    http://wordpress.org/extend/plugins/simplemap/

  2. hd.design
    Member
    Posted 2 years ago #

    It seems to populate the search form into a table.

    You can make adjustments by editing the simplemap.php file in the folder - plugins/simplemap/classes.

    Around line 1800 you will find an array that controls the way the table is displayed - you could try changing the number of columns to 1 or 2 instead of 3 by changing this property...

    'search_form_cols' => 3,

  3. Glenn Ansley
    Member
    Plugin Author

    Posted 2 years ago #

    The width of the SimpleMap divs are set in General Settings. Beyond that each individual field as well as most other HTML elements have CSS IDs or class names associated with them so that you can control it via CSS.

  4. pwadams
    Member
    Posted 1 year ago #

    Yes, But where is the CSS file associated with this plug-in?

  5. erichopf
    Member
    Posted 1 year ago #

    You have to hunt for it. For some reason it is not easily accessible through the plugin, which would make sense. Look in your plugin folder > simplemap > inc > styles > light.css

    These instructions are give, if you want to create your own theme- "To add your own theme, upload your own CSS file to a new directory in your plugins folder called simplemap-styles. To give it a name, use the following header in the top of your stylesheet:
    /*
    Theme Name: THEME_NAME_HERE
    */"

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags