Events Made Easy Forums Generic eme_locations_map overwriting numbers for show_locations=true

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #55905
    Anonymous
    Inactive

    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?

    #55906
    Franky
    Keymaster

    See 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 …

    #55907
    Anonymous
    Inactive

    Thank you Franky! Very helpful.

    #55908
    Anonymous
    Inactive

    BTW, 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%;}

    #55909
    Anonymous
    Inactive

    …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”>

    #55910
    Franky
    Keymaster

    I style inline there because the map markers have letters too. Maybe that could become an option, but for now …

    #55911
    Anonymous
    Inactive

    Yes, 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/

    #55917
    Franky
    Keymaster

    Not 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=txt

    #55919
    Anonymous
    Inactive

    Worked perfectly. You are the man!

Viewing 9 posts - 1 through 9 (of 9 total)
  • The forum ‘Generic’ is closed to new topics and replies.
Scroll to Top