Is there any way to centre the GD GMap Widget on homepage (not making it 100%)

This topic contains 4 replies, has 2 voices, and was last updated by  adriangraham 10 years, 4 months ago.

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

Open Support Ticket
  • Author
    Posts
  • #20848

    adriangraham
    Expired Member
    Post count: 426

    Hi Guys,

    http://childcarefinder.ie/

    I need to reduce the map on my homepage….as the UK is showing and my services are for Ireland only… so would rather it just show Ireland as that’s whats relevant.

    I set the map to 960px (instead of 100%) and it reduces the map down to the right size… but it’s over to the left. Tried aligning the CSS but doesn’t work as the widget “GD Home Top Section” seems to spread over the entire top of the page…

    Any help appreciated!

    Regards,

    Adrian

    #20874

    Guust
    Moderator
    Post count: 29970

    Try this:
    .geodir-map-home-page {margin: auto}

    #20900

    adriangraham
    Expired Member
    Post count: 426

    genius, that worked. Thanks

    #20930

    Guust
    Moderator
    Post count: 29970

    For future reference: http://docs.wpgeodirectory.com/customizing-your-style/
    That’s all a genius needs 🙂

    #20934

    adriangraham
    Expired Member
    Post count: 426

    Thanks, I had identified .geodir-map-home-page … but didn’t think of {margin: auto} as a solution for the css

Viewing 5 posts - 1 through 5 (of 5 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