Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #897443
    Tandem26
    Participant

    Hi guys

    I am trying to place a google map into an accordion but it doesn’t show correctly. (x theme updated, WP 4.5)

    Here’s the code:
    [google_map lat=”50.373″ lng=”-4.17″ zoom=”12″ zoom_control=”true” drag=”true”][/google_map]

    – I tried to place it into [x_raw_content][/x_raw_content] since I saw this on another thread but it makes no difference
    – The same shortcode works perfecty well placed into a text element.

    Any idea what could cause the problem?

    While I was looking I noticed on your shortcode page http://theme.co/x/demo/integrity/1/shortcodes/map/ that there is a ‘=’ missing in the code for the first map (New York) – the code displayed underneath the map is [google_map lat=”40.7056308″ lng”-73.9780035″ zoom=”12″ zoom_control=”true” drag=”true” height=”45%”][/google_map], the ‘=’ is missing after ‘lng’ ?

    #898111
    Christopher
    Moderator

    Hi there,

    Please provide us with URL of page in question and login credentials in private replay.

    Thanks.

    #898336
    Tandem26
    Participant

    Sorry I am working locally 🙁 Can I give you any information still that might help you to find the problem?

    Or anything else I could try out ?

    Thanks

    #898821
    Thai
    Moderator

    Hi There,

    Please add the following CSS under Customizer > Custom > Global CSS:

    .x-accordion-body.collapse:not(.in) {
       height: 0px;
       overflow: hidden;
       display: block;
       margin: 0;
       padding: 0;
    }

    Hope it helps 🙂

    #898868
    Tandem26
    Participant

    it does! working perfectly now. Fantastic !

    Thanks a lot
    Simone

    #899799
    Paul R
    Moderator

    You’re welcome! 🙂

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