Viewing 21 posts - 1 through 21 (of 21 total)
  • Author
    Posts
  • #525802

    Hello together,

    i want to link a marker to a portfolio-entry. Is this possible. A simple Link in description unfortunately didn´t work, see screenshot.

    http://authentische-orte.de/wp-content/uploads/2015/10/Nachrichten-Bild319551290.png

    Thanks a lot an best regards from germany

    #526314

    Hey Lars!

    Please let us know when your page is accessible :)

    Regards,
    Yigit

    #526325

    Please see private content. THX :-)

    #526337

    Hey!

    You can use HTML in your caption as screenshot – [please see private content field]

    Cheers!
    Yigit

    #526366

    Hi.

    Very very cool!!! Thank you very much, you made my day :-)

    Cheers!
    Lars

    #526384

    One question to the same page. Is it possible to align the Map height to 100%? I´ve try it and it didn´t work. Width to 100% is no prob with « Stretch fullwidth » but the hight i can only define in px. Have you any solution for this?

    Merci, Lars

    • This reply was modified 9 years, 1 month ago by Lars.
    #526750

    Hi!

    Place the google map element inside a color section then set the Map Height to 16:9. Edit the color section, set the Section Minimum Height to 100% then add a unique id in the Section ID field. Use “map-section” for example then add this in the Quick CSS field:

    #map-section container, #map-section .template-page {
      padding: 0 !important;
      display: block;
      width: 100%;
    }
    
    #map-section .template-page {
      height: 100%;
    }

    Regards,
    Ismael

    #527005

    Hi,

    thank you for the fast answer. Unfortunately it didn´t work :-(

    http://authentische-orte.de/wp-content/uploads/2015/10/Nachrichten-Bild3586016687.png

    THX

    • This reply was modified 9 years, 1 month ago by Lars.
    #528206

    Hi together,

    has nobody any idea?

    Thank you very much…

    #528935

    Hey!

    Please try adding following code to Quick CSS as well

    #map-section container, #map-section .template-page { max-width: 100% !important; }

    Regards,
    Yigit

    #529485

    Hi Yigit,

    Ok, we are approaching the goal. Now the width is 100% but unfortunately not the height. The height is fix by 16:9 not at 100%… Any more ideas?

    Thank you VERY much :-)

    Best Lars

    #529495

    Oh no. Sorry… I´ve made a mistake. The maps was NOT in the color section. Now i put maps in there and i have again no positive result anywhere. :-((

    #529525

    Ok… With your Post https://kriesi.at/support/topic/full-screen-google-maps/ i´ve figured out, how to set the 100% width. But the height ist still fix to that, what i fill in “Map Height” in the maps-form. He ignore every setting i put into the Quick CSS…

    #529768

    Hi!

    My bad. There’s a missing dot in the container class. We added this code in the Quick CSS field:

    #map-section .container, #map-section .template-page {
      padding: 0 !important;
      display: block;
      width: 100%;
    max-width: 100%;
        overflow: hidden;
    }
    
    #map-section .template-page {
      height: 100%;
    }

    Leave the Map Height field blank then set the color section height to 100%. We also added this in the functions.php file:

    // map height
    add_action('wp_footer', 'ava_map_height');
    function ava_map_height(){
    ?>
    <script>
    (function($){
        $(window).resize(function() {
    		var win		= $(window),
    		calc_height = function() {
    			var subtract	= $('#wpadminbar, #header.av_header_top:not(.html_header_transparency #header), #main>.title_container'),
    				wh100 		= win.height();
    
    				subtract.each(function(){ wh100 -= this.offsetHeight - 1; });
    
    			$('#map-section .avia-google-map-container').css('height', wh100);
    		}
    
    		win.on( 'resize', calc_height);
    		calc_height();
        }).resize();
    })(jQuery);
    </script>
    <?php
    }

    Check the result here: http://authentische-orte.de/test-map/

    Regards,
    Ismael

    #529870

    Hi Ismael.

    Perfect work! Thank you very much!!!!

    Last question: Will the functions.php override trough an WP- or Theme-Update? Do I have to note something during the update?

    Thank you and best regards from germany, Lars

    #530511

    Hi!

    Yes, it’s going to be overwritten when you update the theme. Please use a child theme then create a functions.php file there: http://kriesi.at/documentation/enfold/using-a-child-theme/

    Cheers!
    Ismael

    #531426

    Ok. Just shot question to don´t mess it up. I have to copy your code into the funktion.php from the child-theme, right? then i´ve to delete your changes in the original function.php, right? Have i change the style.css too? Or will the quick-css from the enfold-dashboard never overwritten?

    THX :-)

    The content from my new function.php in child folder is this:

    <?php

    /*
    * Add your own functions here. You can also copy some of the theme functions into this file.
    * WordPress will use those functions instead of the original functions then.
    */

    // map height
    add_action(‘wp_footer’, ‘ava_map_height’);
    function ava_map_height(){
    ?>
    <script>
    (function($){
    $(window).resize(function() {
    var win = $(window),
    calc_height = function() {
    var subtract = $(‘#wpadminbar, #header.av_header_top:not(.html_header_transparency #header), #main>.title_container’),
    wh100 = win.height();

    subtract.each(function(){ wh100 -= this.offsetHeight – 1; });

    $(‘#map-section .avia-google-map-container’).css(‘height’, wh100);
    }

    win.on( ‘resize’, calc_height);
    calc_height();
    }).resize();
    })(jQuery);
    </script>
    <?php
    }

    #531994

    Hi!

    The Quick CSS field doesn’t get overwritten when you update the theme so it’s safe there. Don’t forget to create a backup or a restore point when you update the theme, just in case.

    Best regards,
    Ismael

    #857985

    Hello together,

    is it possible, that everything has change in this section in the past month? Because i have a 100px or 200px white beam under the map and i don´t know, how to fix this. Have you any ideas?

    Thank you very much and best regards from Germany

    Lars

    #857987

    The link dosn´t work. Therefore in this format: authentische-orte .de/karte-authentische-orte/

    #858324

    Hi Lars,

    Please try the following in Quick CSS under Enfold->General Styling:

    #footer .container {
      padding-top:0 !important;
    }

    Best regards,
    Rikard

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