Viewing 30 results - 871 through 900 (of 106,442 total)
  • Author
    Search Results
  • #1488620

    In reply to: lightbox issues

    This reply has been marked as private.
    #1488605

    try with your current solution:

    #fullscreen-overlay {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: #000;
      background-image: url('https://houseoffreedom.de/2025/wp-content/uploads/2025/08/QueensGym-Logo-2.svg');
      background-repeat: no-repeat;
      background-size: contain;
      z-index: 9999;
      opacity: 1;
      transition: opacity 1s ease-in-out,visibility 0s linear 1s;
      background-position: center center;
    }
    #1488601

    Hi Guenni,
    thanks for your help, awesome!
    I tried your code and itv looks like this: https://houseoffreedom.de/2025/
    Would it be possible to center the image, independent from screen size ?

    #1488600

    f.e. – on my test page i do only have set it for front-page and impressum:

    add_action('ava_after_body_opening_tag', function() {
        if (is_page(array(330,1128))){ 
            echo '<div id="fullscreen-overlay"></div>';
        }
    });
    
    function timed_overlay_fullscreen_image(){
    if (is_page(array(330,1128))){ 
    ?>
    <script>
      document.addEventListener('DOMContentLoaded', function() {
        setTimeout(function() {
            var overlay = document.getElementById('fullscreen-overlay');
            if (overlay) {
                overlay.classList.add('hidden');
            }
        }, 5000); // 5000 milliseconds = 5 seconds
      });
    </script>
    <?php
    }
    }
    add_action('wp_footer', 'timed_overlay_fullscreen_image');

    btw: if you like you can have page-title or different text included to that hook
    replace f.e. to :
    echo '<div id="fullscreen-overlay"><h1>'.get_the_title().'</h1></div>';

    see example page from above with get_the_title (and only 3 seconds)

    #fullscreen-overlay {
        position: fixed;
        display: flex;
        justify-content: center; 
        align-items: center; 
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: #000; /* Example: black background */
        background-image: url(/wp-content/uploads/2016/07/corporate-buildings-m.jpg);
        background-repeat: no-repeat;
        background-size: cover;
        z-index: 9999;
        opacity: 1;
       transition: opacity 1s ease-in-out, visibility 0s linear 1s;
    }
    
    #fullscreen-overlay.hidden {
        opacity: 0;
        visibility: hidden;
        pointer-events: none; 
    }
    
    #fullscreen-overlay h1 {
      font-size: 4em;
      color: #FFF;
      margin: 0;
      padding: 20px;
      text-shadow: 2px 3px 5px #000;
    }
    #1488599

    try inside your child-theme functions.php:

    // Inject the HTML overlay into the body
    add_action('ava_after_body_opening_tag', function() {
        echo '<div id="fullscreen-overlay"></div>';
    });
    
    function timed_overlay_fullscreen_image(){
    ?>
    <script>
      document.addEventListener('DOMContentLoaded', function() {
        setTimeout(function() {
            var overlay = document.getElementById('fullscreen-overlay');
            if (overlay) {
                overlay.classList.add('hidden');
            }
        }, 5000); // 5000 milliseconds = 5 seconds
      });
    </script>
    <?php
    }
    add_action('wp_footer', 'timed_overlay_fullscreen_image');

    and in quick css:

    #fullscreen-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: #000; 
        background-image: url(/wp-content/uploads/2016/07/corporate-buildings-m.jpg);
        background-repeat: no-repeat;
        background-size: cover;
        z-index: 9999;
        opacity: 1;
       transition: opacity 1s ease-in-out, visibility 0s linear 1s;
    }
    
    #fullscreen-overlay.hidden {
        opacity: 0;
        visibility: hidden;
        pointer-events: none; /* Disable interaction when hidden */
    }

    see: https://basis.webers-testseite.de/

    if you just want to have that on your front page – than we had to adjust those snippets.

    #1488598

    what kind of image is it – like in your example – or could it be set to cover (but then it is maybe cropped) or should it be set to background-size : contain – with background-color around ?

    Admittedly, this is a very specific replacement for the usual \e869 icon. But that is probably what is meant by a CSS (not CMS) solution. For a simpler replacement, \e80e does not look quite as complicated.

    https://webers-testseite.de/popup-gallery/

    but i think now these icons are svg ones – so the simple method to replace the font-icon by just doing:

    #top .image-overlay .image-overlay-inside::before {
      content: "\E80E" !important;
      font-family: entypo-fontello;
      font-size: 42px;
      font-weight: 400;
    }

    Hi

    Test page in private.

    On the images under ‘Just some of our transformations…’
    these have gallery (set as big image reveals lightbox on click)
    I want to make it more clear from a user perspective that they click on the image to view more.
    The current icon shows arrows which is not clear. Can it change to a camera icon, or can we add text over the image for ‘View Gallery’

    Thanks

    Hi,

    Thank you for the update.

    1.) The selector would be “#top .avia-image-container.customclass .avia-image-container-inner img” since the custom class is applied to the parent container.

    2.) Set the margin to “0 auto” to align the image to the center.

    #top .avia-image-container.customclass .avia-image-container-inner img { 
        margin: 0 auto; 
    }
    

    View post on imgur.com

    Best regards,
    Ismael

    Hi Mike,

    thank you.

    1. #av-layout-grid-1 .avia-image-container .avia-image-container-inner img .customclass?
    2. How can I prevent the graphic from slipping out of center?

    greetinx, solf

    #1488568

    In reply to: fontawesome

    Hey Christian,
    Where are you trying to upload fontawesome?
    Typically you do not upload fontawesome, it is not compatible with the theme font manager and will not show in the ALB icons.
    So you need to sign up here to get your “Kit”
    Then you will get a code like this to put in your header: <script src="https://kit.fontawesome.com/244e4f20aaa.js" crossorigin="anonymous"></script>
    add it to the end of your child theme functions.php file in Appearance ▸ Editor in this function:

    function Font_Awesome_7(){
    ?>
    <script src="https://kit.fontawesome.com/244e4f20aaa.js" crossorigin="anonymous"></script>
    <?php
    }
    add_action('wp_head', 'Font_Awesome_7');

    be sure to change the link to yours.
    Then choose your icon and make sure that you add a size to the icon code, for example <i class="fas fa-mug-hot fa-10x"></i>
    and add it to your page.
    Screen Shot 2025 08 26 at 4.24.34 PM
    See this documentation:
    https://docs.fontawesome.com/

    Note they also have a plugin, I have not tried it, see: https://docs.fontawesome.com/web/use-with/wordpress

    Best regards,
    Mike

    woogie07
    Participant

    Hi,

    Gallery image large with lightbox – change icon to camera or gallery icon

    Is there any CMS to change, so it is clearer that its a gallery with more images?

    Thanks

    #1488534
    dondela
    Participant

    Dear support,

    i want to show an fullscreen image for about 5 seconds and then go on with the main page. Like in this example: https://ibra-boxing.de
    Is this possible with enfold?

    #1488522

    In reply to: Text Overlay Size

    Hey jnightingale,

    Thank you for the inquiry.

    You can adjust the caption font size in the Styling > Image Caption panel. Please check the screenshot below:

    sc

    Let us know if you need more info.

    Best regards,
    Ismael

    #1488521

    Hi,

    Thank you for the update.

    Regarding the logo, you can use the avf_logo filter to display a different logo image on specific pages

    function av_change_logo($logo) {
        if (is_page(9)) {
            $logo = 'http://kriesi.at/wp-content/themes/kriesi/images/logo.png';
        }
        return $logo;
    }
    
    add_filter('avf_logo', 'av_change_logo');
    

    https://developer.wordpress.org/reference/functions/is_page/

    If you have more questions, please feel free to open another thread: https://kriesi.at/support/forum/enfold/#new-post

    Best regards,
    Ismael

    #1488516

    Hey lauragale2020,

    Thank you for the inquiry.

    Since the sizes of the images and the button element are the same, and only the content or the Special Heading element varies in height, try applying a Custom CSS Class to the Special Heading elements, then set a minimum height using custom css.

    Example without a custom css class:

    #top .av-special-heading {
        min-height: 95px;
    }
    

    sc

    Let us know if you need more info.

    Best regards,
    Ismael

    #1488515

    Hey amollde,

    Thank you for the inquiry.

    Have you tried uploading the pub name or text as an image? You can create an image file using any image editor, such as Photoshop. Add the pub name as text, save the file as a PNG with a transparent or white background, then upload it as a logo in Enfold > Theme Options. Let us know the result.

    Best regards,
    Ismael

    #1488508

    Topic: Text Overlay Size

    in forum Enfold
    jnightingale
    Participant

    Hi,
    Is there a way to change the size (make it bigger) on the text overlay on an image?
    Thanks!
    Justine

    Hi,
    Try adding a custom class to the image element in the advanced tab > developer settings > custom class
    Screen Shot 2025 08 25 at 5.01.12 PM
    then adjust the css to suit, you can add a custom class to each image and add new css for each one.

    Best regards,
    Mike

    #1488466

    Hi,
    I checked both pages in Firefox and the portfolio images show for me.
    I don’t know why you are not seeing them, perhaps it is a cache issue.

    Best regards,
    Mike

    Hey sky19er,
    The Contact Form element doesn’t support MailChimp, you can use the MailChimp Signup element, or the Enfold MailChimp Newsletter widget.
    Screen Shot 2025 08 24 at 5.54.51 AM

    Best regards,
    Mike

    Hey solf,
    Try this CSS in your Enfold Theme Options ▸ General Styling ▸ Quick CSS field:

    #av-layout-grid-1 .avia-image-container .avia-image-container-inner img {
    	height: 100%;
    	width: 100% !important;
    }

    After applying the css, please clear your browser cache and check.

    Best regards,
    Mike

    #1488456

    Hey Taha,
    Thanks for your patience, add this code to the end of your child theme functions.php file in Appearance ▸ Editor:

    add_filter('avf_modify_thumb_size', 'custom_modified_thumb_sizes', 10, 1);
    function custom_modified_thumb_sizes(array $sizes) {
        $sizes['tab_thumb'] = array('width' => 260, 'height' => 80, 'crop' => true);
        return $sizes;
    }

    then upload a new image, then add your image to the image element:
    Screen Shot 2025 08 23 at 3.46.38 PM
    then go to the style tab and select the new size:
    Screen Shot 2025 08 23 at 3.49.34 PM
    the backend may show the full uncropped image, but the frontend will show the new image size.
    After testing, if you want all of your images to have this new size, install the Regenerate Thumbnails plugin and run it.
    Since your new size won’t work will for most images changing 'crop' => true); in the code to 'crop' => false); won’t help, unless you are uploading a image that is already 260×80, or a multiple of that aspect ratio without cropping.
    For example, this image was a very large image, and after Regenerate Thumbnails it shows the in the new size:
    Screen Shot 2025 08 23 at 4.05.24 PM

    Best regards,
    Mike

    #1488455

    In reply to: blog post image hover

    Hey Munford,
    Try this CSS in your Enfold Theme Options ▸ General Styling ▸ Quick CSS field:

    .slide-entry a.slide-image img {
    filter: grayscale(100%);
    -webkit-filter: grayscale(100%);
    filter: grayscale(100%);
    }
    
    .slide-entry a.slide-image:hover img {
    filter: grayscale(0%);
    -webkit-filter: grayscale(0%);
    filter: grayscale(0%);
    }
    
    #top .slide-entry .slide-content h3 a {
    	color: #000;
    }
    #top .slide-entry .slide-content h3:hover a {
    	color: #fff !important;
    }

    After applying the css, please clear your browser cache and check.

    Best regards,
    Mike

    #1488447

    Topic: blog post image hover

    in forum Enfold
    Munford
    Participant

    HI
    I am using this code to make my images go from grayscale to color on hover.

    /*image hover grayscale to color*/
    div.avia-image-container div a img {
    filter: grayscale(100%);
    -webkit-filter: grayscale(100%);
    filter: grayscale(100%);
    }
    
    div.avia-image-container:hover div a img {
    filter: grayscale(0%);
    -webkit-filter: grayscale(0%);
    filter: grayscale(0%);
    }

    I am also using a blog post element and I’d like those images to also be in grayscale and turn to color on hover on the image link.
    Can you help me with that?

    I’d also like the title text on those posts to be black and the hover to be white.

    Thanks
    Nancy

    • This topic was modified 7 months, 2 weeks ago by Munford.
    #1488446
    JoStudioDeRijp
    Participant

    Hello support!

    I updated this website to 7.1.2 and now the portfolio on different pages doesn’t show the images anymore…:

    Do you know what happened? I hope you can help me :)

    Kind regards, Jolanda

    solf
    Participant

    Hey,
    An SVG image is embedded in a grid cell. The display is relatively small, even though there is plenty of space around the cell.
    How can I control the size of the image?

    thanks

    ===================
    Größe des Bildelements in einer Rasterzeile

    In einer Rasterzelle ist ein SVG-Bild eingebunden. Die Darstellung ist relativ klein, obwohl rundum noch viel Platz ist der Zelle ist.
    Wie kann ich die Grösse des Bildes beeinflussen?

    danke

    Hey psyvaleriepiloti,

    Thanks for the login details. We activated debug mode under Enfold->Layout Builder->Show advanced options and copied the content shortcodes in for you. Please note that the demo settings and images are not included. Please review your site.

    Best regards,
    Rikard

    #1488420

    Hi Ismael.
    Thanks for your time.

    “To increase the size of the thumbnail, please add this filter in the functions.php file…” Unfortunately, I don’t see any differences from before, even by clearing the device cache.

    “Then, include this CSS code inside the CSS media query to remove the dotted line…” The dotted line does indeed disappear, but unfortunately, the images are no longer visible either.

    Regards.

    #1488416

    Hi everyone.
    Thanks @guenni007. The contribution you made for the svg icons seems to be the right one.
    I need to do some experimenting with the values ​​myself to adapt the icons to the background when they’re highlighted.
    10 guenni007
    Could you please also give me a suggestion for

    And how can I also include them in pages?
    The Social Buttons tool in the Advanced Layout Editor seems to only work for articles.

    Regards.

Viewing 30 results - 871 through 900 (of 106,442 total)