Events Made Easy › Forums › Generic › eme_locations_map overwriting numbers for show_locations=true
Tagged: eme_locations_map, show_locations
- This topic has 8 replies, 2 voices, and was last updated 7 years, 10 months ago by Anonymous.
-
AuthorPosts
-
Mon 2 Jan 2017 at 04:50 #55905AnonymousInactive
http://neohgolf.com/golf-course-directory/
I just installed a new theme and the numbers in front of the list of locations sit on top of letters for each.
Think this is a bug or a css conflict with the theme?
Also, can you suggest a way to css the columns so the list of locations goes 3 across on desktop but single line down for mobile?
Mon 2 Jan 2017 at 21:57 #55906FrankyKeymasterSee your style.css file, this is the culprit part:
.vw-post-content ol li:before { content: counter(vw-li-counter) "."; counter-increment: vw-li-counter; position: absolute; left: -22px; font-weight: bold; color: #222222; }
Use some CSS debugger can help you find these things (e.g. firebug)
Concerning the columns question: I’m no css specialist, so sorry there …Tue 3 Jan 2017 at 21:11 #55907AnonymousInactiveThank you Franky! Very helpful.
Tue 3 Jan 2017 at 21:53 #55908AnonymousInactiveBTW, I found this css to create multiple columns and it works well in many browsers (and the list simply stays in a single column in unsupported browsers):
.eme_div_locations_list{margin:0 auto;text-align:center;}
.eme_locations_list {width:100%; text-align:left; -moz-column-count: 3; -moz-column-gap: 20px; -webkit-column-count: 3; -webkit-column-gap: 20px; -moz-column-width:30%; -webkit-column-width:30%; column-width:30%;}Tue 3 Jan 2017 at 22:06 #55909AnonymousInactive…but it would be good if you didn’t style inline, as I’d rather use numbers for the map location list instead of ‘upper alpha’:
<li id=”location-110_1823959442_1483476618_55″ style=”list-style-type: upper-alpha”>
Tue 3 Jan 2017 at 23:03 #55910FrankyKeymasterI style inline there because the map markers have letters too. Maybe that could become an option, but for now …
Tue 3 Jan 2017 at 23:12 #55911AnonymousInactiveYes, I see. Not a biggie.
BTW has something changed on the zoom editing for the global map? I can’t alter the zoom on the Setting > Maps on mine. The location map still changes, but it won’t change for global locations.
Global Map (zoom factor set to 8, but it’s the same no matter what number I enter):
http://neohgolf.com/golf-course-directory/Location Map (zoom factor set to 14 — perfect!):
http://neohgolf.com/locations/10/weymouth-country-club/Thu 5 Jan 2017 at 01:36 #55917FrankyKeymasterNot sure here, but maybe due to the large amount of markers and the google ‘fitbounds’.
Could you try this version of js/eme_location_map.js :
https://plugins.trac.wordpress.org/browser/events-made-easy/trunk/js/eme_location_map.js?rev=1568220&format=txtFri 6 Jan 2017 at 19:52 #55919AnonymousInactiveWorked perfectly. You are the man!
-
AuthorPosts
- The forum ‘Generic’ is closed to new topics and replies.