Viewing 30 results - 5,941 through 5,970 (of 142,889 total)
  • Author
    Search Results
  • #1435430
    octopussolutions
    Participant

    I’m using the WP Job Openings plugin for job listings. I’m facing some challenges when it comes to customizing the job details page.

    Unfortunately, there are no advanced Enfold options available on the page settings itself for the job details page. I’ve searched through the Enfold documentation and the WP Job Openings plugin documentation, but I haven’t been able to find a clear solution.

    I would like to have full width and the top menu as I have on others, but unfortunately I can not find how to make edit on this post type.

    Thanks

    #1435428

    Mike, that was ideal, thank you! I confess that I’m not a CSS pro. It’s amazing what can be done with it if you know your way around ;)

    CSS fixes might also be sought for the red boxes (a grid row) which follow the slider. Again, on a desktop device they’re fine. But on a mobile the boxes are way too large, partly (I think?) because the icon pushes all the text into a tall column, and generally for mobole there’s too much padding of the boxes.

    I’m sure some CSS could fix it, and you’re welcome to advise me! But I also thought of another method which might work..? This would be to duplicate the grid row but rebuild the content in the cells – e.g. use simple text boxes rather than icon text boxes, and reduce the padding allround. The standard gridrow would be set to NOT SHOW on mobile devices (less than 480px); the duplicate re-built grid row would be set to NOT SHOW on larger screens (over 480px).

    Do you think that method would work?

    regards
    Hugh

    #1435425

    The videos on this page load through black again. You suggested this
    #top .av-video-slide .avia-slide-wrap, #top .av-video-slide iframe {
    background: #fff;
    }
    which worked fine.

    The css is still in the stylesheet. It has also lost the link to the justify.text css. How could this happen? I have not touched the site for 2 weeks. Before all was fine. The styles are in the css and the markup is in the html. What could be the problem?

    amministrazione187
    Participant

    Hi there. I’ve problems with videos in background on layerslider that won’t open/autoplay on safari ios. They play fine on other devices/browsers but on safari ios. What could it be?
    Thanks.

    HI there,
    after the tables initially performed well on Mobile and desktopview, they have now reverted back to the standard layout in desktop view. How could this happen? I have not touched the code for 2 weeks and have not looked at the page. Today suddenly the css for the Table view on desktop doesn’t take hold anymore. Is the handler not called this anymore? #top.page-id-472 .av-hriqo-df64f73a2229a5a484cc56fae9caca2e .avia-data-table

    It needs it be like this:
    1. no borders
    2. no grey background
    3. font sizes bigger, both 16px
    4. font in first column is blue
    5. all fonts in cells align left

    I suspect that the handler name somehow changed itself? can you please check? I would not like to go through adjusting the css again from scratch since it was so much hassle to get it right…

    Bets, Peter

    • This reply was modified 2 years, 1 month ago by ausgesonnen.
    #1435416
    limedrop
    Participant

    Hello, can you please help me correct this unevenness in the secondary menu in the top right corner – is only uneven on desktop (not mobile)

    #1435403

    Hi,

    You can add this css code to adjust the top padding of the main container based on the header layout.

    @media only screen and (max-width: 767px) {
    
      /* Add your Mobile Styles here */
    
      .responsive #top #main {
        padding-top: 88px !important;
      }
    
      .response.html_header_transparency #main {
        padding-top: 0 !important;
      }
    }

    This should apply an 88px top padding on pages with header transparency disabled.

    Best regards,
    Ismael

    #1435402

    In reply to: Content Slider Arrows

    Hi,

    The arrows seem to be displaying as they should. How would you like the arrows to appear on mobile view?
    Please note that the css code above should remove the border both on desktop and mobile view. If you want to apply it on desktop view only, please use this css code.

    @media only screen and (min-width: 768px) {
    
      /* Add your Desktop Styles here */
      #top .av-control-minimal-dark .avia-slideshow-arrows a:before {
        border-color: transparent;
      }
    }
    

    Best regards,
    Ismael

    #1435379

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

    #top #wrap_all .av-burger-overlay .av-burger-overlay-scroll #av-burger-menu-ul > .av-active-burger-items > a {
        font-weight: 900;
        color: red !important;
    }

    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.
    Please see the screenshot in the Private Content area of the expected results.

    Best regards,
    Mike

    #1435375

    In reply to: Blog Layout

    Hi,
    Thanks for the screenshot I believe that you want to embed one page into another and have the links open in the same embed section.
    Such as embed the blog in one side of a grid row and then open the clicked posts in the same section, this is quite tricky but I believe that I have achieved it on this test page.
    Enfold_Support_4831.jpeg
    in the backend I have a grid row element and one side has a background image and the other side has a code block element:
    Enfold_Support_4833.jpeg
    the code block element has this code:

    <div id="embedded-section"></div>
    
    <script>
    window.addEventListener('DOMContentLoaded', function() {
        (function($) {
            var initialContent = null; // Variable to store the initial content
    
            // Function to load content via AJAX
            function loadContent(url, initialLoad = false) {
                $.ajax({
                    url: url,
                    type: 'GET',
                    dataType: 'html', // Explicitly expect HTML
                    success: function(data) {
                        var content;
                        // Determine the selector based on whether it's the initial load
                        if (initialLoad) {
                            content = $(data).find('#av_section_1').html();
                        } else {
                            // Try the first selector
                            content = $(data).find('.av-main-single').html();
                            // If not found, try the second selector
                            if (!content) {
                                content = $(data).find('.post-entry').html();
                            }
                        }
    
                        // Check if content was found
                        if (content) {
                            if (!initialLoad) {
                                content = '<a href="#" class="back-link">Back</a>' + content; // Prepend back link to content
                            } else {
                                initialContent = content; // Save initial content if it's the initial load
                            }
                            $('#embedded-section').html(content);
                            bindLinkClicks(); // Re-bind click events to new links within the content
                        } else {
                            console.error('Requested content not found using the provided selectors.');
                            $('#embedded-section').html('Requested content not found.');
                        }
                    },
                    error: function(xhr, status, error) {
                        console.error('Error loading content:', error);
                        $('#embedded-section').html('Error loading content.');
                    }
                });
            }
    
            // Bind click events to links within the embedded section
            function bindLinkClicks() {
                $('#embedded-section a').off('click').on('click', function(event) {
                    event.preventDefault(); // Prevent default link behavior
                    var linkUrl = $(this).attr('href'); // Get the URL of the clicked link
                    
                    if ($(this).hasClass('back-link')) {
                        // If the back link is clicked, load the initial content
                        $('#embedded-section').html(initialContent);
                        bindLinkClicks(); // Re-bind click events
                    } else {
                        console.log('Attempting to load:', linkUrl);
                        loadContent(linkUrl); // Load content via AJAX, not initial load
                    }
                });
            }
    
            // Initial loading of content with specific section
            loadContent('https://enfold.savvyify.com/embed-2', true);
    
            // Initial binding of click events on page load
            bindLinkClicks();
        })(jQuery);
    });
    
    </script>

    Please ensure to copy the code from the forum and not an email notification so the symbols are not converted.
    Please change the url in the code to your page with the blog element, look for this part of the code:

    // Initial loading of content with specific section
            loadContent('https://enfold.savvyify.com/embed-2', true);

    Now the page that is embeded is a ALB page with a color section set to 100% height and a blog element inside:
    Enfold_Support_4835.jpeg
    by default the first color section of a ALB page has the ID av_section_1, this is important because it is what the script calls and will only show this section, not the header, footer, or sidebar, but set this page to no sidebar as the content width is affected.
    Now to show the posts with no header, footer or sidebar we will use the class av-main-single for Classic Editor pages and if that is not found because it is a ALB post we will try post-entry, so when a post link is clicked the post will load in the same section:
    Enfold_Support_4837.jpeg
    Now since the back button on the browser won’t work we added a small “back” link at the top of the embed section:
    Enfold_Support_4839.jpeg
    Please give this a try.
    Please note that this will only work for pages and links on your site.
    Please note Page Preloading will interfere, so please disable.

    Best regards,
    Mike

    #1435374

    Thanks! That was a painless fix!

    With the buttons gone I still can’t get the positioning of the ‘caption’ quite where I’d like it. Although the selected caption position is ‘bottom without frame’, the caption sits too high up in the image window in the mobile view (the desktop view is fine).

    Should I be using a more full-featured slider to get finer control of positioning?

    cheers
    Hugh

    #1435364

    Hey dowlassmoss,
    Thank you for the link to your site, try this CSS in your Enfold Theme Options ▸ General Styling ▸ Quick CSS field:

    @media only screen and (max-width: 480px) { 
    	#top.home .avia-slideshow-button {
    		display: none;
    	}
    }

    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.
    this will hide the buttons below 480px and then the caption will show.

    Best regards,
    Mike

    Hi,
    It doesn’t look like that for me on Android or in the inspector on desktop, the page css uses the same font, so I’m not sure why you are seeing this. Please see the screenshot in the Private Content area.

    Best regards,
    Mike

    #1435330

    I have this same issue with another website that is similar to this one. All the “regular pages”, “blog” and “products” that don’t have “transparent header”, get cut off at the top ON Mobile view. The home page looks great, but I need all the other pages to not have the top get cut off. Any CSS for this?

    see screenshot

    #1435329

    Hey Diana,
    I’m not sure why it looks centered on the desktop, the css is text-align: left, nonetheless this will center for mobile and tablet:

    #main .av-fixed-rotator-width .av-rotator-text {
    	text-align: center;
    }

    for mobile you will want to make the font smaller because the left padding will push the text off the screen on the right.

    Best regards,
    Mike

    #1435327

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

    #top #wrap_all #header .av-burger-overlay .av-burger-overlay-scroll #av-burger-menu-ul li a {
        color: #000;
        font-size: 16px;
    }

    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

    #1435320

    Hey Steve,
    Try adding this code to the end of your child theme functions.php file in Appearance ▸ Editor:

    add_filter('avia_layout_filter', 'avia_change_post_layout', 10, 2);
    function avia_change_post_layout($layout, $post_id) {
    	if( is_shop() || is_product_tag() || is_product_category() || is_cart() || is_checkout()) {
            $layout['current'] = $layout['fullsize'];
            $layout['current']['main'] = 'fullsize';
        }
    	if( is_product() ) {
    	$layout['current'] = $layout['fullsize'];
            $layout['current']['main'] = 'fullsize';
        }
        return $layout;
    }

    Please ensure to copy the code from the forum and not an email notification so the symbols are not converted.
    If you are not using a child theme you could use the WP Code plugin then add a new snippet, in the top right corner use the PHP snippet as the code type:
    Enfold_Support_2680.jpeg
    then add the above code and save.

    Best regards,
    Mike

    #1435316

    Hi,

    The section below the slider is set to a to have a large negative top margin and is therefore covering the slider, you could try to add the image in a 1/3 element instead.

    Best regards,
    Rikard

    Hi,
    Please give this a try, add this code to the end of your child theme functions.php file in Appearance ▸ Editor:

    function group_lightbox_images(){
    ?>
    <script>
    (function($){
        $(window).on('load', function() {
            $('.lightbox-added').each(function() {
                var parentClass = $(this).closest('[class*="group-"]').attr('class');
                if (parentClass) {
                    var match = parentClass.match(/group-(\d+)/);
                    if (match && match[1]) {
                        $(this).attr('data-group', match[1]);
                    }
                }
            });
    
            var groups = {};
            $('.lightbox-added').each(function() {
                var id = parseInt($(this).attr('data-group'), 10);
                if (!groups[id]) {
                    groups[id] = [];
                }
                groups[id].push(this);
            });
    
            $.each(groups, function() {
                $(this).magnificPopup({
                    type: 'image',
                    mainClass: 'avia-popup mfp-zoom-in mfp-image-loaded',
                    closeOnContentClick: false,
                    closeBtnInside: false,
                    gallery: { enabled: true }
                });
            });
        });
    })(jQuery);
    </script>
    <?php
    }
    add_action('wp_footer', 'group_lightbox_images');

    If you are not using a child theme you could use the WP Code plugin then add a new snippet, in the top right corner use the PHP snippet as the code type:
    Enfold_Support_2680.jpeg
    then add the above code and save.
    Then add the custom class group-1 to each accordion slider, changing the number for each one, ie: group-2, group-3, etc.
    Enfold_Support_4803.jpeg
    Then when the image in any group is opened only the other images in the same group will show.

    Best regards,
    Mike

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

    .avia_desktop #top .av-masonry-entry:hover .av-masonry-image-container {
        transform: scale(1, 1);
    }

    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

    Hey Eleina,
    I didn’t find a way to do this so I created a shortcode to create a button that will play a audio file and show a progress bar for the audio track while it is playing
    Enfold_Support_4795.jpeg
    The shortcode to use on your page:
    [audio_player src="URL_TO_YOUR_AUDIO_FILE.mp3" text="Custom Button Text"]
    Then add this code to the end of your child theme functions.php file in Appearance ▸ Editor:

    // use this shortcode: [audio_player src="URL_TO_YOUR_AUDIO_FILE.mp3" text="Custom Button Text"]
    function custom_audio_player_shortcode($atts) {
        $atts = shortcode_atts(
            array(
                'src' => '',
                'text' => 'Play Audio',
            ),
            $atts,
            'audio_player'
        );
    
        // Generate a unique ID for this instance
        $uid = uniqid('audio_player_');
    
        ob_start();
        ?>
        <style>
            .custom-audio-player {
                position: relative;
                max-width:200px;
                margin-bottom:10px;
            }
    
            .audio-control {
                position: relative;
                overflow: hidden;
                padding: 10px;
                border: none;
                background-color: #007bff;
                color: #ffffff;
                cursor: pointer;
                width:200px;
                transition: background-color 0.3s ease;
            }
    
            .audio-progress {
                position: absolute;
                bottom: 0;
                left: 0;
                height: 5px;
                background-color: #ff0000;
                width: 0;
                max-width: 100%;
                transition: width 0.1s linear;
            }
        </style>
        <div class="custom-audio-player" id="<?php echo $uid; ?>">
            <button class="audio-control"><?php echo esc_html($atts['text']); ?></button>
            <div class="audio-progress"></div>
        </div>
        <audio class="custom-audio" src="<?php echo esc_url($atts['src']); ?>"></audio>
        <script>
            document.addEventListener('DOMContentLoaded', function() {
                var player = document.getElementById('<?php echo $uid; ?>');
                var audio = player.nextElementSibling;
                var button = player.querySelector('.audio-control');
                var progress = player.querySelector('.audio-progress');
                var originalButtonText = "<?php echo esc_js($atts['text']); ?>";
    
                button.addEventListener('click', function() {
                    if (audio.paused) {
                        audio.play();
                        button.textContent = 'Pause Audio';
                    } else {
                        audio.pause();
                        button.textContent = originalButtonText; // Use originalButtonText instead of hardcoding
                    }
                });
    
                audio.addEventListener('timeupdate', function() {
                    var duration = audio.duration;
                    var currentTime = audio.currentTime;
                    var progressWidth = (currentTime / duration) * 100 + '%';
                    progress.style.width = progressWidth;
                });
    
                audio.addEventListener('ended', function() {
                    button.textContent = originalButtonText;
                });
            });
        </script>
        <?php
        return ob_get_clean();
    }
    add_shortcode('audio_player', 'custom_audio_player_shortcode');
    

    Please ensure to copy the code from the forum and not an email notification so the symbols are not converted.
    If you are not using a child theme you could use the WP Code plugin then add a new snippet, in the top right corner use the PHP snippet as the code type:
    Enfold_Support_2680.jpeg
    then add the above code and save.
    You can adjust the css in the code above to suit your site.

    Best regards,
    Mike

    #1435296

    In reply to: Content Slider Arrows

    Hi,

    Please try this CSS as well:

    #top .av-control-minimal-dark .avia-slideshow-arrows a::before {
      border-color: transparent;
    }

    Best regards,
    Rikard

    #1435290

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

    #top .av-caption-style-overlay .av-masonry-item-with-image .av-inner-masonry-content * {
    	color: red;
    }

    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

    #1435275

    Hi,

    Great, I’m glad that you got it working. Please let us know if you should need any further help on the topic, or if we can close it.

    Thanks @guenni007 for helping out :-)

    Best regards,
    Rikard

    Hi,

    Great, I’m glad that you got it working. Please let us know if you should need any further help on the topic, or if we can close it.

    Best regards,
    Rikard

    #1435270
    DianaLoola73
    Participant

    Dear Support Team,

    On the website https://gerlindemichel.osmosis.de/ the burger menu is active for the tablet and the mobile version: but when you open the burger menu on the mobile devices, the navigation is not visible. This is probably due to the fact that the header for this page is transparent for the desktop version and the navigation color is displayed in white.
    What can I do to ensure that the navigation in the burger flyout menu is displayed in black on mobile devices?
    See screenshots:
    Tablet: https://osmosis.de/support/gm/home/nav-mobile.jpeg
    Cell phone: https://osmosis.de/support/gm/home/nav-tablet.jpeg

    Best regards, Diana

    #1435260

    Hello, first of all thank you for your patience and cooperation

    if I enable the accessible mode at the top right in the widget area I see what is shown in the attached screen1
    screen1
    If I click on “edit” in the blog sidebar enfold mailchimp newsletter subscription, I see what is shown in the screen2 attachment
    screen2
    With debugging enabled by clicking on edit I see what is shown in the screen3 attachment
    screen3
    Yes, I’m using a page for the footer because I can’t edit the footer and therefore use the widgets and footer sockets. I should make this change on the customize menu, but it looks like in the attached screen4
    screen4
    I have enabled debugging as required

    #1435254

    I tried disabling all the plugins before posting the topic. That did not resolve it. I do not have a caching plugin and I am not using the caching settings built into the theme. So I don’t think that is the issue. Just in case I tried it in an incognito tab and cleared caches. It still did not work.

    #1435247
    Nihru
    Participant

    Dear team,

    we still have the problem that on smaller screens (-> 15” laptop) the menu buttons overlap the logo.
    The screens that have this problem are a bit bigger than the installed tabled size.
    Could you please give me a css code that says, on screens which are bigger than the tabled size it should move to the mobile / tablet burger menu?
    Unfortunately I can’t tell you the exact dimensions for the screens but maybe you can find it out?

    Thanks for your help!

    #1435237

    if i test my page on : https://securityheaders.com/?q=https%3A%2F%2Fwebers-webdesign.de&followRedirects=on

    you can read the description of:

    x-content-type-options: X-Content-Type-Options stops a browser from trying to MIME-sniff the content type and forces it to stick with the declared content-type. The only valid value for this header is “X-Content-Type-Options: nosniff”.

    So your advice is to change the mime types for those generated post css to : text/css

    but as far i can see on : class-post-css-management.php – line 919:
    return '<style type="text/css">' . $this->new_ln . $rules . '</style>' . $this->new_ln;

    isn’t this responsible for those css settings?

    __________

    i set the filter ( avf_post_css_create_file ) now on one of my testinstallations to true ( only then files are generated inside dynamic-avia folder) – and switched of merging.
    On dev tools i checked if i find some text/html in DOM – but nothing to find.

Viewing 30 results - 5,941 through 5,970 (of 142,889 total)