Forums

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

  1. eah82
    Member
    Posted 7 months 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 6 months 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
    Posted 6 months 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.

Reply

You must log in to post.

About this Plugin

About this Topic

Tags