Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #875617
    Audseo
    Participant

    Hey there X team. I’m struggling to find the right code to adjust the border radius of my Google Map embeds. Could you kindly point me in the right direction? I’ll post a link in the next comment. Thanks!

    #875618
    Audseo
    Participant
    This reply has been marked as private.
    #876068
    Paul R
    Moderator

    Hi,

    Thanks for writing in!

    You can add this under Custom > CSS in the Customizer.

    
    .x-map .x-map-inner {
        border-radius: 20px;
    }
    

    You may change 20px to achieve your desired result.

    Hope that helps.

    #877273
    Audseo
    Participant

    Sorry, that doesn’t work. Well, sort of. It only works up until 120px, but if I exceed that (trying to make it a circle), it reverts back to a square.

    #877913
    Paul R
    Moderator

    Hi,

    Sorry about that, please replace the code above to this.

    
    .x-map .x-map-inner {
        margin: 0 auto;
        width: 300px;
        border-radius: 150px;
        height: 300px;
        padding: 0;
    }
    

    Hope that helps.

    #878676
    Audseo
    Participant

    That worked perfectly. I appreciate your help. I thought I had tried everything 🙂

    #879424
    Christopher
    Moderator

    We’re Glad that it worked for you.

  • <script> jQuery(function($){ $("#no-reply-875617 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>