Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1336525

    Hi there!
    Again, I struggle with the contact page of the website I am working on.
    I tried it by myself but did not make it. :/
    I would like to change the size of the map so that it fits in the layout grid, see screenshot:
    https://josk-design.de/map_size.jpg
    (all necessary information in private content)

    Happy to hear from you! :)
    Josephine

    #1336673

    Hey josk-design,
    Thank you for the link to your site, I see that your map is a shortcode in a code block element, I added this ID to the code block element mappress-shortcode and then added this css to your Quick CSS field in your theme options:

    @media only screen and (min-width: 767px) and (max-width: 1022px) { 
    #mappress-shortcode .mapp-iframe {
    	 height: 267%;
    }
    }
    @media only screen and (min-width: 1023px) and (max-width: 1438px) { 
    #mappress-shortcode .mapp-iframe {
    	 height: 212%;
    }
    }
    @media only screen and (min-width: 1439px) { 
    #mappress-shortcode .mapp-iframe {
    	 height: 156%;
    }
    }

    this will increase the map as you wished for basically three screen sizes
    768px, 1024px, & 1440px and up, this should cover almost all devices, but there is not a way to make it truly exact because where you want the map to end is not the bottom of the column.
    Please clear your browser cache and check, this is the expected results:
    768px
    2022-01-22_002.jpg
    1024px
    2022-01-22_003.jpg
    1440px
    2022-01-22_004.jpg
    1920px
    2022-01-22_005.jpg

    Best regards,
    Mike

    #1336916

    Hi Mike!
    Thanks for your help!

    Best Regards
    Josephine

    #1336958

    Hi,

    Great, I’m glad that Mike could help you out. Please let us know if you should need any further help on the topic or if we can close it.

    Best regards,
    Rikard

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.