Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #477283

    Hi,

    can I display the content of a code block in fullscreen? I’d like to have the maps (iframes from gmaps) and the instagram feed (code block) with a width of 100% if possible.

    Please have a look at this:
    http://www.erfahre.com/hamburg-insider/

    Cheers
    Bernd

    #477314

    Hi berndrepenning!

    Please add Color Section element to your page with a unique ID – http://kriesi.at/documentation/enfold/wp-content/uploads/sites/2/2013/12/color-section-ID.png and then add your code block inside it then add following code to Quick CSS in Enfold theme options under General Styling tab

    #your-custom-id { max-width: 100%; padding: 0; margin: 0; }

    Best regards,
    Yigit

    #477538

    Dear Yigit,

    i tried that, but the content is still displayed with a padding on the left and on the right. Do you have another idea?

    Thanks
    Bernd

    #477711

    Hi!

    Sorry, please change the code to following one

    #your-custom-id .container { max-width: 100%; padding: 0; margin: 0; }

    Cheers!
    Yigit

    #478778

    Dear Yigit,

    thanks! Awesome – it works.

    May I ask for your help on another case. I’ve two gmaps iframes and I’d like to use these script but I cannot get it to work. Do you have an idea how to do that? Where do I have to copy the script?

    Thanks a lot
    Bernd

    CSS:

    <style>
    .scrolloff {
    pointer-events: none;
    }
    </style>
    Script:

    <script>
    $(document).ready(function () {

    // you want to enable the pointer events only on click;

    $(‘#map_canvas1’).addClass(‘scrolloff’); // set the pointer events to none on doc ready
    $(‘#canvas1’).on(‘click’, function () {
    $(‘#map_canvas1’).removeClass(‘scrolloff’); // set the pointer events true on click
    });

    // you want to disable pointer events when the mouse leave the canvas area;

    $(“#map_canvas1″).mouseleave(function () {
    $(‘#map_canvas1’).addClass(‘scrolloff’); // set the pointer events to none when mouse leaves the map area
    });
    });
    </script>
    HTML: (just need to put correct id as defined in css and script)

    <section id=”canvas1″ class=”map”>
    <iframe id=”map_canvas1″ src=”https://www.google.com/maps/embe&#8230;.” width=”1170″ height=”400″ frameborder=”0″ style=”border: 0″></iframe>
    </section>

    #478807

    Hi!

    Everything is possible, but that would need a lot of work to be done.

    You can contact one of our Customization Contractors, who will help you out with the process.
    http://kriesi.at/contact/customization

    Let us know if we could do anything else, regarding our theme

    Regards,
    Basilis

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