• Resolved lyubovjeglova

    (@lyubovjeglova)


    Hello!

    Is there a way to set a map as a static homepage for my site? WP only allows to chose from pages and blog posts…

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author mapster

    (@mapster)

    Hello! Thanks for the question. We haven’t built this in as a specific option, mainly because most people would like to have control of the map and place it amongst other items on a page. The best way to have the map be the front page of your site would be to make a Page, make it the Home Page of the site (in WP settings), and put the shortcode for the map you made into that Page.

    Then, you could adjust the CSS of the map to fit the size of the browser window when it opens (with something like

    
    position: absolute;
    width: 100%;
    height: 100vh;
    

    However, this might not do what you’re expecting, because this will cause other elements to hide under the map. We do have an option in the “Setup” section of your map that says “Full Size”, and “Ignore Container”, which will do roughly these same things. Try turning on those options, and placing the shortcode on the “Front Page” of your site, and let me know if that works!

    Thread Starter lyubovjeglova

    (@lyubovjeglova)

    Thank you very much!
    I have figured it out following your suggestion. It works perfectly now!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Map as homepage’ is closed to new replies.