Map Spanning

This topic contains 5 replies, has 3 voices, and was last updated by  Stiofan O’Connor 9 years, 12 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket

Tagged: ,

  • Author
    Posts
  • #15461

    identity
    Lifetime Member
    Post count: 445

    Seems like there should be 2 sets of dimension setting configurations for the map,one for on-page and one for sticky settings.

    The issue is if you try to set the map in the top section, then you need to set a width of 100%, but if it also set to stick to the right side upon scroll, then it spans the entire window and now covers up the content.

    The width but even the height settings desired may be different for these two instances.

    cheers

    #15469

    Paolo
    Site Admin
    Post count: 31206

    Hi,

    this can be easily solved with CSS.

    
    
    .stickymap,
    .stickymap #geodir_map_v3_listing_map_1_wrapper,
    .stickymap #geodir_map_v3_listing_map_1
     {
        width: 294px !important;
    }
    

    This will force the sticky map to be maximum 297px regardless the setting. You can obviously change that value to anything you like.

    Just make sure map wrapper and map container id is 1, if not just change that.

    Thx

    #15470

    identity
    Lifetime Member
    Post count: 445

    Great, thanks Paolo!

    cheers

    #15508

    identity
    Lifetime Member
    Post count: 445

    Nice idea, but unfortunately, at least for me, probably not going to cut it. On the side, it doesn’t re-center the map or anything, so it is like just getting the far left side 294px.

    Mileage may vary though and this absolutely might work for others.

    cheers

    #15586

    Paolo
    Site Admin
    Post count: 31206

    That could be because of the ID of the map. I gave you the code for ID 1, but it could be different. If you provide a link I’ll check and provide a fix.

    It was working as expected in my test.

    Thx

    #17470

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    Sticky map was not designed to work in the top section, unless thi sis a feature request then just don’t do it…

    Stiofan

Viewing 6 posts - 1 through 6 (of 6 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount