Customize map info box?
Permalink Browser Info Environment
Hi there. So far I've been adept enough at figuring things out to be able to change the layout of the search results (just different line breaks, really) but now my info box isn't tall enough and there's a scrollbar. Is there a way to fix that so I can change the size? Honestly it'd be pretty nifty too if I could style the whole thing to match the site, but the size is the most important.
Type: | Discussion |
---|---|
Status: | New |
It looks like the size of the map and results pane are both set in the block's style sheet. To modify this, you'll want to get familiar with the concept of overrides in concrete5:
http://www.concrete5.org/documentation/how-tos/developers/change-th...
Essentially this means you'll want to copy the specific files you want to modify out of the block and up into the correct override directory. In this case, you'd find these two files:
(your site root)/packages/dealer_locator/blocks/dealer_search/view.php
(your site root)/packages/dealer_locator/blocks/dealer_search/css/locator.css
and copy them to:
(your site root)/blocks/dealer_search/view.php
(your site root)/blocks/dealer_search/css/locator.css
Then look for this selector in locator.css, around line 2:
The height property here controls the text box. There's another class around line 38 that controls the properties of the map box:
You don't need to change anything in the view.php file, just place it in the blocks directory. This will tell concrete5 to grab that locator.css file from the override location as well.
Hope that helps!