Viewing 30 results - 2,641 through 2,670 (of 106,495 total)
  • Author
    Search Results
  • #1472656
    This reply has been marked as private.

    Hi,
    Unfortunately, we don’t have a way to make the image swipe left & right to see the whole image when it is enlarged on portrait.
    The app that is installed for swipe adds javascript for the swipe, if you don’t install the app you can not swipe. I don’t have a way to add this to your page, try reaching out to superpwa for advice to enable it for WordPress.
    To have the image show the left side instead of the center on portrait remove the “left: -200% !important” from the css.
    With the above css the user can turn their phone to landscape and see the whole image

    Best regards,
    Mike

    Morning Mike,

    Thank you for your response.

    I have created a test page in WordPress for the following 3 options which you can access here:
    https://mobi.henleyair.tv/hangarcam/ but you would need to do F11 to see it in mobile view.

    I have tried each of the 3 suggestions above and will respond to issues as such here below:

    Option 1:
    See link for emulated mobile device output https://mobi.henleyair.tv/html/Enfold_01Dec2024-01.png
    As you rightfully say, this option stretches the image to fit within the confines of the whole mobile screen. Obviously, it is distorted.

    Option 2:
    See link for emulated mobile device output https://mobi.henleyair.tv/html/Enfold_01Dec2024-02.png
    I get the same output as in Option 1 with a stretched image.

    Option 3:
    See link for emulated mobile device output https://mobi.henleyair.tv/html/Enfold_01Dec2024-03.png
    This output has the best result so far out of the 3 options.
    However, as you have said, the code for this option fixes the webcam image in the centre of the screen. Also, it fits the webcam image to a height larger than the screen size which means you have to scroll up and down to see it.

    In Option 3 the code needs to allow for the webcam image to scroll left and right so that the user can see the whole image. So to start with it should be fixed to align left on the screen.

    I would like to suggest that you open up the site mobi.henleyair.tv on your mobile device and use “Add to Home Screen” (iOS) or “Save App” (Android) on your mobile device. This will then let the site operate as a Progressive Web App on your device. Then select any of the webcam images and click on that. You will then see that the webcam image displays at the full height of the mobile device screen, but you can then swipe right and left to see the rest of the webcam image.

    This is the exact same effect I am trying to achieve through Enfold and WordPress so that I can do away with the HTML pages that do this effect.

    Hope this feedback helps.

    Marc

    #1472646

    Hey newmediologo,
    I see that you have a 400 error and Refused to display frame because it set ‘X-Frame-Options’ to ‘deny’
    these two errors could be linked.
    I’m not sure what would cause this, but Safari and most AD blockers now block FB, so I recommend creating a image from your FB like box and linking it to your FB page, since most people will not see it otherwise.

    Best regards,
    Mike

    #1472644

    Hi,
    Thank you for your patience, when using the Row Screen Options ▸ Column Behaviour in the first column in a row:
    Screen Shot 2024 11 30 at 4.18.44 PM
    and then choose Advanced ▸ Mobile Breakpoint Position to choose a position:
    Screen Shot 2024 11 30 at 4.22.11 PM
    this will only work for that row, and it does now in my test.
    But you are using two rows and this will not move an item from your second row into the first row, each row is separate.
    While you could use javascript to do this, your customer probably won’t be able to maintain this either.
    If you want to use javascript, please let us know.

    Best regards,
    Mike

    Hey Marc,
    I see that each of your cam images has a ID so this css will only target those images:

    @media only screen and (max-width: 767px) { 
    #refresh1, #refresh2, #refresh3 {
    	height: 100vh !important;
    }
    }

    Another way would be to add a class to each code block, like “cam”
    Screen Shot 2024 11 30 at 3.06.58 PM
    and then use this css:

    @media only screen and (max-width: 767px) { 
    .avia_codeblock.cam img {
    	height: 100vh !important;
    }
    }

    The issue that I see is on mobile devices in portrait mode your images will be stretched unless you only what to see the center the image in portrait mode, in that case add this css with the above css:

    @media only screen and (max-width: 767px) and (orientation: portrait) { 
    .avia_codeblock.cam {
    	height: 100vh !important;
    	width: 400vw !important;
    left: -200% !important;
    position: relative;
    }
    }

    add the css to your Quick css, it will only target these code blocks with the custom class “cam”.
    Please ensure to copy the code from the forum and not an email notification so the symbols are not converted.
    After applying the css, please clear your browser cache and check.

    Best regards,
    Mike

    #1472631

    Hi,
    Thanks, now I see the form, but the datepicker is center on the screen for desktop:
    Screen Shot 2024 11 30 at 1.20.22 PM
    and mobile:
    Screen Shot 2024 11 30 at 1.22.52 PM
    Try the login you posted for us and check “Kriesi”

    Best regards,
    Mike

    #1472629

    Hi,
    When I check your middle image looks like this:
    Screen Shot 2024 11 30 at 1.11.36 PM
    and I see this on moblie:
    Screen Shot 2024 11 30 at 1.13.50 PM

    Best regards,
    Mike

    #1472628

    In reply to: Deep link and open tab

    Hey westefan,
    This was added a while back and works on my install without any added code. Ensure that you add a custom ID to each tab:
    Screen Shot 2024 11 30 at 12.09.37 PM
    and use a link with the ID “elements/tabs#tabthree” the page will scroll up and open the tab”
    Screen Shot 2024 11 30 at 12.12.41 PM
    If you are using the sticky header and the tab is too close to the header, you can add this code to the end of your child theme functions.php file in Appearance ▸ Editor to adjust the position:

    function custom_script() { ?>
      <script>
    (function($) {
    $(document).ready(function() {
        $('a[href^="#"]').click(function(e) {
            var targetHash = this.hash;
            setTimeout(function() {
                $('html, body').animate({
                    scrollTop: $(targetHash).offset().top - 100
                }, 500);
            }, 100);
        });
        
        if (window.location.hash) {
            $('html, body').animate({
                scrollTop: $(window).scrollTop() - 100
            }, 500);
        }
    });
    }(jQuery));
    </script>
      <?php
    }
    add_action( 'wp_footer', 'custom_script', 99 );

    Screen Shot 2024 11 30 at 12.46.39 PM

    Best regards,
    Mike

    #1472627

    Hi, thank you, I had to adjust every title and every text block manually. I did not set the margins these were in de demo.

    I have another question, not all images are showing:

    Should has 3 content blocks with background photos. But the one in the middle is not showing on mobile. I tried and checked everything, can you take a look?

    Thank you in advance, kind regards Stephanie

    Hi,
    Also the other five images are all 80px in height, only the first green image is smaller, please add a new image that is the same height as the others, even if you add transparent space to the top and bottom, if you want it centered, or just to the bottom it you want it top aligned.

    Best regards,
    Mike

    Hi,
    When I check your elements on desktop and mobile, they look correct:
    Screen Shot 2024 11 30 at 8.11.25 AM
    because the lines of text is the same
    only between 768px-1240px does the screen size change the number of lines in the text:
    Screen Shot 2024 11 30 at 8.16.47 AM
    Try adding a custom class to each of the headings, like “heading” and another custom class to each content under it, like “content”
    Then I believe that we can help with some javascript to help for these screen sizes.

    Best regards,
    Mike

    #1472620

    Hi,
    Thanks for the login, I tested in Chrome, Firefox, and Brave, as playertest13 on desktop & mobile, and in all cases the date picker showed in the middle of the screen and did not scroll under the header as in your first screenshot, it is centered like your second screenshot:
    Screen Shot 2024 11 30 at 7.50.25 AM
    Screen Shot 2024 11 30 at 7.51.40 AM
    perhaps you have already solved this.

    Best regards,
    Mike

    #1472612

    Hi Rikard, thank you for your replie!

    This is a screenshot:

    Screenshot

    Please check these pages on mobile:

    The titles are too wide for the screens and the text is very narrow. Is there a solution that can fix this for all these pages?

    Kind regards,

    Stephanie

    atx_m
    Participant

    Hello,
    I have two rows on my homepage, each with 3 layout elements 1/3 next to each other. In each of these layout elements I have the following in this order: Image, text, text, button. In each row, the respective elements should start at the same height. I have tried using whitespace, but this produces different results depending on the browser, screen, etc. Is there a better solution for this?

    Thanks!

    #1472566
    95mc
    Participant

    Hi,

    We are creating a portfolio.
    I would like that the slider responsive works in vertical to see always the image complete.
    Here I have send you the an example.
    Captura-de-pantalla-2024-11-29-a-las-9-18-32
    Captura-de-pantalla-2024-11-29-a-las-9-19-26

    Thanks advance,

    BR,
    Antonio.

    #1472563

    Hi,

    Thank you for the inquiry.

    As mentioned by @Guenni007 above, the preview image should be clickable by default. Could you provide a link to the page with the post slider element?

    Best regards,
    Ismael

    #1472560

    Hi,

    Thank you for the inquiry.

    We added this css code to reduce the default padding of the main container and the color section below the image.

    #top #main .avia-section .template-page {
        padding-top: 0;
    }
    
    .template-page.content.av-content-full.alpha.units.av-enable-shadow {
        padding-top: 0;
    }

    Please note that this modification will be applied globally and will impact all color sections.

    Best regards,
    Ismael

    #1472549
    mediaapps
    Participant

    I have a banner image at the top of each page. The height of the image varies.
    What is the best way to always have the same space on the top and bottom of the banners?

    Banner Image Example

    #1472530
    tixxpff
    Participant

    Hi there,
    is there a way to make the preview images in a post slider clickable and have them link to the blog post? Just like the “read more” link below the title and the excerpt. I really need this feature on a website I’m working on.

    Thank you!

    MdF
    Participant

    Good Day Kriesi,

    I previously used to develop basic websites in html format using MS FrontPage. Yes, you heard that correctly, MS FrontPage ?!?!?! But it gave me excellent service for 20 years.

    For the past few years, I have been converting most of these sites to WordPress, and have found that Enfold is an excellent environment in which to work.

    However, there is one instance of moving from html to WordPress that I am struggling with.

    I need to display a linked image in PWA format that fits to the full HEIGHT of the screen on a mobile device. Please see Link 1 below of how the current html code does this. The user then simply swipes left to see the whole image.

    https://mobi.henleyair.tv/html/iPhone-13-PRO-01.png

    The code that I am using is the following:

    <html>
    <head>
    <title></title>
    </head>
    <body topmargin=”0″ leftmargin=”0″ rightmargin=”0″ bottommargin=”0″>
    <div align=”left”>
    cam_west
    <script language=”Javascript” type=”text/javascript”>
    <!–
    var t = 60
    image1 = “https://henleyair.tv/cam/cam_west.jpg&#8221;
    function Start1() {
    tmp = new Date();
    tmp = “?”+tmp.getTime()
    document.images[“refresh1”].src = image1+tmp
    setTimeout(“Start1()”, t*1000)
    }
    Start1();
    // –>
    </script>
    </div>
    </body>
    </html>

    How this code works is that it refreshes the image automatically every 60 seconds without the whole page refreshing. This works exceptionally well in a webcam environment.

    However, I have tried many times to use this code in Enfold by using the Code Block option and simply pasting the html code into that block.

    The first prize is that the code works from a refreshing point of view and the image is refreshed every 60 seconds.

    However, where it does not work, is that the image is shown fitting full WIDTH across the mobile screen. It needs to show at full HEIGHT on a mobile device. Please see Link 2 below for an example of this:

    https://mobi.henleyair.tv/html/iPhone-13-PRO-02.png

    I did contact you a few years ago about this issue, but the coding never really got fully resolved as you suggested adding CSS code to Enfold > General Styling > Quick CSS.

    The support I am looking for is rather to have the html code added into the individual Code Blocks I will be using for each specific webcam image. I believe that if would be better suited there instead of CSS code being applied universally to the whole site under the Enfold options.

    So, in summary, I am using a mixture of WordPress and html pages in the current setup. This is not ideal as I would like to operate this type of coding in only WordPress.

    The site to reference is https://mobi.henleyair.tv and can be viewed in simulated mobile devive mode using F12 in Chrome.

    Looking forward to your assistance in this regard.

    MdF

    #1472450

    Hi Ismael

    I want to create 5 headings with the pages underneath. The 5 headings must run as columns next to each other horizontally with the pages running vertically down under each heading. Hope that makes sense.

    This is how far I am. There are still a number 3 more product headings with between 2 and 4 pages under each heading.
    https://img.savvyify.com/image/Mega-menu-Screenshot-2024-11-28.9Grja

    #1472428

    Hey Antonio,

    Thank you for the inquiry.

    We updated the script and the style modifications a bit so that they only apply on desktop view:

    Script:

    function next_slide_on_image_click() { 
    ?>
    <script type="text/javascript">
    window.addEventListener("DOMContentLoaded", function () { 
        if (window.matchMedia("(min-width: 1024px)").matches) { // Apply only for screens wider than 1024px
            (function($){
                $('.avia-slide-wrap img').click(function() {
                    $(this).closest('.avia-slideshow').find('.avia-slideshow-arrows a.next-slide').trigger('click');
                });
            })(jQuery);
        }
    });
    </script>
    <?php 
    }
    add_action('wp_footer', 'next_slide_on_image_click');
    

    CSS:

    @media only screen and (min-width: 1024px) {
      .avia-slideshow-arrows.avia-slideshow-controls {
        height: 100% !important;
        width: 100% !important;
        display: block;
        position: absolute;
        top: 0;
        left: 0;
      }
    
      #top .avia-slideshow-arrows a {
        width: 50% !important;
        height: 100%;
        top: 0;
        margin: 0 !important;
        padding: 0 !important;
        opacity: 0 !important;
      }
    
      #top .avia-slideshow-arrows a.prev-slide {
        left: 0;
      }
    
      #top .avia-slideshow-arrows a.next-slide {
        right: 0;
      }
    }
    

    Best regards,
    Ismael

    #1472424

    Hi,

    You don’t need to edit the functions.php file because the Custom CSS Class name field is already available in every element. However, if you need to enable the Appearance > Theme File Editor, make sure that the DISALLOW_FILE_EDIT directive in the wp-config.php file is set to true or is not present at all.

    I do not understand why the images are scaled even though the screen resolution for both is 1080×2408 pixels.

    Please note that the value (max-height: 800px) depends on the browser viewport size, not the screen resolution, which includes calculation for the device pixel ratio (DPR) or pixel density. For example, a phone with a screen resolution of 1024×2048px and a DPR of 3 will have a viewport size of approximately 360×802px.

    We recommend leaving the setup as it is since it would require a significant amount of modifications to account for all possible screen sizes. Making sure that the image is fully visible in the viewport might be unnecessary because users can still scroll to view the entire content.

    Best regards,
    Ismael

    #1472421

    Hey Enfoldfanatic,

    Thank you for the inquiry.

    This is still not possible with the color section element, so you will need to apply a fallback image. If playing background videos on mobile devices is necessary, consider using the Layer Slider element.

    Best regards,
    Ismael

    #1472405

    While waiting for a reply for the Editor and the automatic assignment to images instead of manual, I did a series of tests and the code that best solves my problem is the following, because the biggest problem is on vertical dimension:
    @media only screen and (max-height: 800px) {
    /* Add your Mobile Styles here */
    .av-limit-image-height img.avia_image {
    width: 80%;
    margin: 0 auto;
    }
    }
    On PC everything seems to work correctly, but on two Android smartphones that I tried with Samsung Internet and Chrome I do not understand why the images are scaled even though the screen resolution for both is 1080×2408 pixels.

    #1472400
    This reply has been marked as private.
    #1472397
    95mc
    Participant

    Hi Mike,

    Sorry, in computer looks perfect but I have seen the web in mobile and when you click in the image.
    You can see like a transition in the middle of the image you have clicked.

    Could you help to remove this transition?

    Thanks advance,

    BR,

    Antonio

    • This topic was modified 1 year, 5 months ago by 95mc.
    #1472393

    In reply to: Vimeo Video Headers

    Hey Aron,
    The circle loading is from Vimeo site waiting for the video to load, there is not a way to stop this.
    You could try adding a fallback image to the color section to show before the video loads, such as the first frame of the video.

    Best regards,
    Mike

    #1472349

    Hi Ismael.
    Thanks for your input. When there are hundreds of photos to manage, manually setting each individual image is a long task and can also lead to oversights and errors. I thought it was possible to control them all with a few lines of code rather than manually.
    The information to be inserted in the Style.css file is growing rapidly. Referring to your page https://kriesi.at/documentation/enfold/add-custom-css/#enable-custom-css-class-name-support , could you tell me how can I activate the Editor in Appearance? In my installation it is not visible

    https://img.savvyify.com/image/Immagine-2024-11-27-105508.9GnBf

    • This reply was modified 1 year, 5 months ago by icarogioiosi.
    • This reply was modified 1 year, 5 months ago by icarogioiosi.
Viewing 30 results - 2,641 through 2,670 (of 106,495 total)