How to style wpgmappity_container

72 views
Skip to first unread message

Flavio

unread,
May 14, 2011, 7:33:53 AM5/14/11
to WPGmappity
Hi!

I like the plugin and would like to thank you for your brilliant work
on this!!

One question though: I've been trying to style the map div that's
being displayed in posts by editing wpgmappity-post-style.css and
adding

border: 6px #fff;
(even added !important).

Another thing I tried is hard-coding the style into the wpgmappity-
posts.php by entering either

$content .= 'border: 6px solid #fff;';

in line 65 (not replacing the original content of line 65, obviously)
or

$content .= ' style="width:'.$map['map_length'].'px; border: 6px solid
#fff;';

in line 63.

Nothing helped, the div just wouldn't change. What I WAS able to do
was add another div that adds a sort of pretext ("This image was taken
here:") as I'm planning to show location of photos taken in a
wordpress blog. The new div can be edited via wpgmappity-post-
style.css without any problems.

Any chance to style the map output?

Thanks and best regards,

F.
Reply all
Reply to author
Forward
0 new messages