Viewing 30 results - 811 through 840 (of 10,094 total)
  • Author
    Search Results
  • #1355544

    Thanks Ismael.

    Your solution is close to what I already had (and mentioned in my first post). I modified it slightly so it’s:

    bottom: 230px;

    (instead of 50px per your suggestion)

    and I added:

    @media only screen and (max-width: 767px) {
    #top .av-masonry-outerimage-container .av-masonry-image-container {
        height: 50%;

    This means both the thumbnail and title are exactly how I want them in terms of thumbnail image size and title is much closer to thumbnail, when viewing in mobile..

    However, now the gap between elements is even bigger than before. Please see attached screenshot so you can see what I mean.

    This is the problem I’ve had from the start – I was able to modify image height and move title so it’s directly under it’s thumbnail, and have different view settings for mobile vs desktop.

    However, I can’t solve the problem where there’s such a big gap between each element, when viewing on mobile.

    This is what I need help with.

    BTW, when I say “each element”, I mean: thumbnail + it’s title = 1 element.

    The page currently has 11 elements (ie articles).

    Hope that makes sense, and hopefully you can help with this issue.

    Thanks!

    #1355437

    The setting at 70% “solves” the problem on desktop, but not on responsive (mobile view) – that’s what I’m trying to explain in my post above.

    There is a big gap between thumbnail and title, when viewing on mobile.

    I figured I could create a “mobile only” setting in CSS with “@media only screen and (max-width: 767px)” and set the height to 34%, as the thumbnail looks better (fits mobile screen better), however that still doesn’t fix the problem that there’s a gap between the thumbnail and title, so that’s what I need help with.

    As I explained, I tried adding -250px margin-top to the title text, which kinda fixes the gap…however the other thumbnail/title elements don’t shift up with it – they stay fixed, so then the gaps are simply between each thumbnail/title.

    I’m guessing I’m just missing something really obvious, so any help would be greatly appreciated!

    #1355313

    In reply to: Enfold Showcase

    Another launch a few weeks ago for Cherish Keepsakes
    CherishKeepsakes Memorial Jewellery Maker Derbyshire UK

    Cherish Keepsakes make sentimental jewellery that can include DNA items like loved ones ashes, breast milk, hair, wedding flowers and pet fur. The memorial items are cast in UV stable resin in a range of colours and designs.

    The owner created the logo in Canva so we converted it from an SVG into an EPS and AI file for more portable use.
    The font from the logo was also recovered, purchased and used as a custom font on the website.

    Built on an optimised version of Enfold with WooCommerce. The site uses Paypal to take payments. We included Trust Index Review Aggregation servie to display reviews from their other selling platforms on the site and Smash Balloons Instagram Plugin as a live gallery of work.

    The site includes modifications to WooCommerce:
    -Add widget to main menu area so search bar is available on desktops
    -Add a widget to the top of the product page so search can be added to mobile pages
    -Modified search so it only searches products and includes SKUs
    -Changed the breakpoint so the sidebar disappears on tablets
    -Seperate the categories from the main shop loop for better navigation

    Pagespeed and Web Vitals
    The home page under testing scores up to 99/100 in Google Web Vitals mobile device testing and 100/100 on desktops.
    This is the fastest WooCommerce website we have launched and this is largely down to the way the images are displayed (no slider).

    The Think Jarvis optimised web framework includes some extra optimisation:
    – VPS hosting with maximum resource allocation from IONOS
    – Unique modifications to .htaccess and functions.php
    – Caching plugin
    – Additional image thumbnail generation
    – WebP image generation and compression
    – Login screen moved and password protected to prevent brute force attacks
    – Jetpack Brute Force Protection
    – Advanced contact form spam protection without using Google Recaptcha

    Website design by Think Jarvis Swadlincote

    • This reply was modified 3 years, 9 months ago by thinkjarvis.
    #1355261
    adapt
    Participant

    This is a followup to this prior thread:

    https://kriesi.at/support/topic/masonry-perfect-grid-setting-images-are-zoomed/

    The solution worked, however one thing I didn’t realize is that it added a big gap between the thumbnail and the title when viewing in responsive/mobile screen as well. This gap wasn’t so evident on desktop.

    I realize I can change the suggested CSS to only apply to desktop view, using “@media only screen and (max-width: 767px)” modifier, and setting responsive/mobile to display the image at 100% height.

    However, after I tested it, the image looks much better at an even smaller height percentage (for example 34%) when viewing in responsive/mobile screen resolution.

    Unfortunately this makes the gap even larger between the thumbnail and the title.

    I tried adding a “margin-top” to the title text (and adding a -250px value), which does work to move it to be below the thumbnail, but then there’s a major gap between each thumbnail/title grouping, so it also looks strange.

    So, my question is – is there a way to make sure the title/description displays directly below the thumbnail, no matter what % the height of the thumbnail is set to, and that each subsequent thumbnail & title appear below each other, without major gaps?

    Or at least, is there additional code I can add to the CSS to fix the appearance?

    Any help would be greatly appreciated!

    #1355258
    CaptOM89
    Participant

    Hi,
    I have an intro page for a blog made with the “Magazine” content element of the Avia Layout Builder. This creates a “Latest in the News” sidebar entry on each blog page, with small thumbnails of each blog entry arrayed vertically. I’ve noticed that when I have a caption on a featured image of a blog page, a fragment of that caption appears under the thumbnail of that featured image in this side bar. This looks messy.

    Is there any way to prevent this caption fragment appearing on the magazine sidebar? Screenshot link below.

    https://www.screencast.com/t/r8vqnpcKcS

    #1355204

    This is the old story – often discussed here on board. On uploading images to the media library – the images are uncompressed ( jpgs do have that indeed – a compression ratio ) and then the new file-sizes generated by Enfold are calculated on that uncompressed source. Because Enfold code does not compress these generated files – the file-size is for the bigger images (1500px x 630px etc. ) often higher than the uploaded optimized jpgs.

    Now what can we do against this. – We can change that behavior on Enfold by a child-theme functions.php snippet:

    add_filter("avf_jpeg_quality", "avf_set_quality_mod", 9999, 1);
    add_filter("avf_wp_editor_set_quality", "avf_set_quality_mod", 9999, 1);
    function avf_set_quality_mod($quality) { $quality = 55; return $quality;}

    Unfortunately, this snippet does not affect existing images in the media library. Here you would have to recalculate the thumbnails all over again. There are some plug-ins for this. I use the one provided by shortpixel. : Link

    svgs – and i guess pngs will be skipped.

    After recalculation you can remove the plugin. The snippet above will then compress each uploaded new image.

    PS: Sorry – i did not follow Yigits link – so it only differs in the amount of compression. That is up to you what you need. If you are a photographer with f.e. fine color – gradients ( like skin tones ) or sharp contrasts you had to choose a less compression level.

    see here an older post of mine with the plugin illustration: https://kriesi.at/support/topic/media-upload-and-enfolds-thumbnail-sizes/#post-1271808
    in addition it gives you a code to hamper generating of all enfold image_sizes. But read comments on the code to understand that it is not advisable to suppress all image_sizes.

    #1355078

    Hi Mike

    It exactly is the problem that the lightbox has an empty title field. Even though I add text in the image title field in the media library, that text won’t be displayed as a caption in the lightbox.

    Just to be clear how the image with hotspots media element opens image-links in the lightbox. Within the settings of a specific hotspot I set under “Anvanced” the hotspot link to manually, add the link of the image that has to be opened in the lightbox and set the link to be opened in the same window (see screenshot in private content).

    On the frontend the link of hotspot number 7 looks for example like this:
    <a href="https://www.mydomain.com/wp-content/uploads/2021/10/seminarraum.jpg" class="av-image-hotspot_inner lightbox-added">7</a>
    If the link is an image, Enfold adds automatically the class lightbox-added by default.
    If the link is a webpage…
    <a href="https:// www.mydomain.com " class="av-image-hotspot_inner">7</a>
    …then there is no class lightbox-added.
    So, the class lightbox-added triggers the lightbox.

    The whole concept of the image with hotspots media element is different to the masonry gallery media element where you have thumbnail images with the title attribute – taken from the media library – that is obviously sent to the lightbox. The image with hotspots media element only shows hotspots made with CSS that have no title attribute of the image they are linking to. That’s why no title can be sent to the lightbox.

    At least this is my interpretation of what’s going on and it seems to be complicated.

    Is there still a way to have captions if I link from a hotspot to an image that opens in the lightbox?

    Kind regards
    Ueli

    #1354569
    THP Studio
    Participant

    Hey Gunter,

    Recently we’ve encountered an issue with responsive images in the lightbox.

    We can’t work out the cause, and have asked one of the hosts (we have sites on different hosts with the same issue) and they say it must be an issue with the responsive images setting in the theme. Turning off the Responsive Images setting fixes the issue, but then we lose retina/responsive images entirely.

    If you look at the links below, you will see that images aren’t loading up properly. They should be pulling in image up to 1000px, but they are instead pulling in a cropped thumbnail size (flick through the gallery to see) of 200px or less.

    We have this issue on 2 sites now, and are unable to work out the cause or the solution.

    Really hoping you can help.

    Thanks a lot

    Tim.

    • This topic was modified 3 years, 9 months ago by THP Studio.
    #1354099

    Hi,

    This is possible but it will require modifications that are beyond the scope of support. You will have to directly modify or override the plugins/woocommerce/templates/content-product-cat.php file in order to display the actual products of a parent category instead of the subcategory thumbnails.

    This documentation might help.

    // https://woocommerce.com/document/template-structure/

    Thank you for your patience.

    Best regards,
    Ismael

    #1353375

    Hi,
    Thank you for your patience and for the link to your site, I found that the reason this was happening is because the script that opens the hidden gallery targets the thumbnail class first_thumb but this class is added to the first thumbnail in each row and by default 5 columns are used for each row, so since you have 15 images in the gallery several will have this class and the default action of JQuery is to land on the last one.
    One way to correct this is to change the number of columns used for the thumbnails, but the largest option is 12 so this doesn’t help you.
    The other option is to change your script to target the :first thumbnail with the class first_thumb which is what I did for you, your script is now like this:

    function text_link_to_gallery_lightbox() {
    ?>
    <script type="text/javascript">
    (function($) {
        $(document).on('click', '.text_to_lightbox a', function(event) { 
            event.preventDefault(); 
            var linkTarget = $(this).attr('href');
            $(linkTarget).find("a.first_thumb:first").click(); 
        });
    })(jQuery);
    </script>
    <?php
    }
    add_action('wp_footer', 'text_link_to_gallery_lightbox');

    Now the lightbox does starts with the first image of the gallery order.

    Best regards,
    Mike

    #1353292

    In reply to: Image oddities

    Thanks Mike, I don’t mind the linked image overlay but, I do find it strange that my Enfold theme options > Advanced Styling doesn’t look like your image. Mine does not have the Linked Image Overlay. Strange….

    The code for removing titles on mouse-over worked. Thank you!

    The four links at the bottom of page two don’t change color with mouse-over. I feel like I have that set to turn blue but, something is a miss. lol

    Also still need help with the three images on page two. The desktop looks great but, the mobile version has micro thumbnails. lol
    Would be great if we could get that to look like the desktop, please.

    Thank you!
    Jason

    #1353252

    In reply to: Image oddities

    Making great progress!! Thank you for the grid element suggestion. That is working out well.

    Just a couple more things to dial in, please.

    In the desktop version, is it possible to have the titles NOT show up when hovering over an image?

    Can I reduce the gap top & bottom on the row of three images?
    (second page, portfolio item – Digital tech in Phoenix Arizona for professional still photography)

    Lastly, the images on the mobile landing page are vertical and I think that looks awesome!
    But when you click the bird to the next page… The row of three images look like micro thumbnails. LOL!!!
    Can we get that page to look like desktop page?

    Home/landing page is portfolio item: Phoenix digital tech
    The second page with three images is portfolio item: Digital tech in Phoenix Arizona for professional still photography

    Thanks again!

    #1353164

    In reply to: Randomize Testimonials

    Hey Scout-Bri,
    Thanks for the link to the old thread, the testimonials script is now in it’s own file at:
    \wp-content\themes\enfold\config-templatebuilder\avia-shortcodes\testimonials\testimonials.js
    try saving your current file to your desktop for fallback and create a new file with this code:

    (function($)
    {
    	"use strict";
    
    	// -------------------------------------------------------------------------------------------
    	// testimonial shortcode javascript
    	// -------------------------------------------------------------------------------------------
    	$.fn.shuffle = function() {
    
    		var allElems = this.get(),
    			getRandom = function(max) {
    				return Math.floor(Math.random() * max);
    			},
    			shuffled = $.map(allElems, function(){
    				var random = getRandom(allElems.length),
    					randEl = $(allElems[random]).clone(true)[0];
    				allElems.splice(random, 1);
    				return randEl;
    		   });
    	
    		this.each(function(i){
    			$(this).replaceWith($(shuffled[i]));
    		});
    	
    		return $(shuffled);
    	
    	};
    
    	$.fn.avia_sc_testimonial = function(options)
    	{
    		return this.each(function()
    		{
    			var container = $(this),
    				elements = container.find('.avia-testimonial');
    				$('.avia-testimonial').shuffle();
    
    
    			//trigger displaying of thumbnails
    			container.on('avia_start_animation', function()
    			{
    				elements.each( function(i)
    				{
    					var element = $(this);
    					setTimeout( function(){ element.addClass('avia_start_animation'); }, (i * 150) );
    				});
    			});
    		});
    	};
    
    }(jQuery));

    Then clear your browser cache and any cache plugin, and check.
    Note that clearing javascript cache may require a few tries.

    Best regards,
    Mike

    an update on this issue: it seems we have fixed it just by using the “Regenerate Thumbnails” tool on Woocommerce. Even the new product thumbnail images added to the site now seem to be created correctly. Maybe there was a process stuck and by using that tool it just unstuck. We’ll let you know if there will be new issues on this matter, but for now we hope our example could help someone else with the same issue

    #1352681

    Hi Nikko

    Thanks for the response. That does fix the issue with the images, so thank you for that.

    The only problem is that it meant it created a fairly large gap between the thumbnail and the title, so I modified your suggested 54% to 70% instead, and that seems to have helped.

    It means the images are “mostly” recognizable (they are still a little “zoomed in”), and the gap between the thumbnail and title isn’t so big that it’s noticeable, so that’s the best compromise for now.

    Thanks once again :)

    #1352598
    adapt
    Participant

    Hi guys

    I’ve setup a masonry on a page, and set to pull from a specific blog post category. I’ve set it to “Perfect Grid” setting, as I want it to display in clean, orderly rows where each entry is the same size (including title & description).

    I’ve got it nearly exactly how I want it, however I noticed the post thumbnails are “zoomed” – ie it’s not displaying the full image. This results in some unusual images – you can’t really tell what the subject matter is etc.

    I don’t know why this would happen, as I made sure the “Featured Image” for each post in that category was the exact same size.

    Is it because I haven’t gotten the correct dimensions for my images? Please advise best dimensions, and I can create the images to suit.

    Thanks!

    #1352380
    adapt
    Participant

    Hi guys

    I’m working on modifying a site, and added in a masonry element to a page. It will feature recent posts from a specific category.

    It’s looking fairly nice after a few tweaks, however none of the posts are clickable. Not the thumbnail, not the title, not the description.

    I also note the mouseover effects don’t seem to work – the effect seems to happen on all the posts at the same time, and isn’t triggered when I move my mouse over each element – it just stays that way.

    I just updated Enfold to ver. 4.9.2.3 but that didn’t seem to make a difference.

    (As a side note, I also note that after I updated, it messed up the full screen slider on the homepage – but I can’t figure out how/what changed)

    Any help would be greatly appreciated!

    here are the details on the thumbnails, one of the broken sizes (450×450) seems to be created by Woocommerce:

    #1352238

    Hey Caleb,

    Thank you for the inquiry.

    The maximum size of the featured image used in the single event pages is set to 1360x321px by default, but we can adjust it by using this filter in the functions.php file.

    // adjust the size of the single events featured image
    add_filter('post_thumbnail_size', 'avf_single_event_post_thumbnail_size');
    function avf_single_event_post_thumbnail_size($size)
    {
        if ( is_singular('tribe_events') ) {
            $size = 'full'; // Change to your desired image size.
        }
    
        return $size;
    }
    

    This should display the original version of the featured image.

    Best regards,
    Ismael

    Hi,

    but in the “perfect masonry” even with thumbnails “no scaling“ the images are cropped if they differ in ratio.

    Best regards,
    Vera

    #1352140

    Hi BrendaSarg,

    I have checked the link and I don’t see any duplicate on the link you gave.
    Also for fixing the issue before this is what I posted I have removed the one thumbnail that is duplicate in the gallery that was the only thing I did.

    Best regards,
    Nikko

    #1352132
    christianinternetd
    Participant

    Hi, I am using the Events Calendar plugin with Enfold. I created an event and added a featured image to this event. However, the image being used on the Single Events template is too small and is cropping my image. Here is the event I am working with: https://www.zionrockbaptist.org/event/pastor-emeritus-james-c-edwards-appreciation/. I think Enfold is using the thumbnail or a smaller version of the featured image because the image is being cropped.

    Here is a screenshot of the issue: https://share.getcloudapp.com/ApuXK9AA

    I would like the image to be taller like the original file. Or just adjust the template to use the full-size image. I couldn’t find any CSS to fix this so I was hoping you could help me out a bit.

    Is there a way to get the Single Events template to show the full size featured image? I appreciate any help you can offer. Thank you!

    Also for information: if we manually create and upload those image thumbnails via FTP and overwrite the broken ones (with filesize 0), then they are shown correctly in homepage / shop

    Responsive Images disabled, we tried to upload the image for a product but it still does not create the different sizes thumbnails (for example the 450×450 one) so in the “shop” page and homepage the image is not shown (but they works in the actual product page).

    Thanks for your reply Rikard! I have tried to de-activate the file compression ((file CSS + Japascript?) but the issue is still present: when I upload a new product image in the site, it does now show in some parts of the site because some thumbnail sizes are not created, Anything else I could try?

    #1351873

    Looked deeper:

    This is what i added:

    This is what i get and this is definitely not what it supposed to be
    One image added, got 4 different in my HTML that bloats my pageload

    <a href="http://127.0.0.1/wp-content/uploads/testimage-97-1.jpg" data-rel='gallery-1' data-prev-img='http://127.0.0.1/wp-content/uploads/testimage-97-1.jpg' class='lightbox ' data-onclick='4' title='' itemprop="thumbnailUrl" ><img loading="lazy" class="wp-testimage-27902 avia-img-lazy-loading-27902" data-avia-tooltip='' src="https://127.0.0.1/wp-content/uploads/testimage-97-1-260x185.jpg" width="260" height="185" title='' alt='' /><div class='big-prev-fake'><img loading="lazy" class="wp-testimage-27902 avia-img-lazy-loading-27902" width="1583" height="800" src="https://127.0.0.1/wp-content/uploads/testimage-97-1.jpg" title='' alt='' srcset="http://127.0.0.1/wp-content/uploads/testimage-97-1.jpg 1583w, http://127.0.0.1/wp-content/uploads/testimage-97-1-1030x521.jpg 1030w, http://127.0.0.1/wp-content/uploads/testimage-97-1-80x40.jpg 80w, http://127.0.0.1/wp-content/uploads/testimage-97-1-768x388.jpg 768w, http://127.0.0.1/wp-content/uploads/testimage-97-1-1536x776.jpg 1536w, http://127.0.0.1/wp-content/uploads/testimage-97-1-1500x758.jpg 1500w, http://127.0.0.1/wp-content/uploads/testimage-97-1-705x356.jpg 705w" sizes="(max-width: 1583px) 100vw, 1583px" /></div></a>

    1: When i add a masonry gallery with “portfolio smalll 260 x 185” i see a gallery with thumbnails.
    Every thumb should be 260 x 185. Right?

    2: When the thumbnail is linked via lightbox with the big image, the image should be loaded when a user clicks on it (because this is what a link does)
    Not before, Right?

    Weird:
    – About 50% of all images do not show the original image like i defined in my functions.php
    They are like image-1500×710.jpg” or 1500×550″ or “1500×786″ or 1500×758”

    This is absolutely not understandable

    This is the code i found in some other thread where the user wanted to see the images in the lightbox in original size and so i want too:

    // Bilder in Galerie in Lightbox in Originalgröße anzeigen
    function avia_change_gallery_thumbnail_link($link, $attachment, $atts, $meta){
        $link = wp_get_attachment_image_src($attachment->ID, "full");
        return $link;
    }
    add_filter('avf_avia_builder_gallery_image_link', 'avia_change_gallery_thumbnail_link', 10, 4);
    
    function avia_change_masonry_thumbnail_link($size) {
      return "full";
    }
    add_filter('avf_avia_builder_masonry_lightbox_img_size', 'avia_change_masonry_thumbnail_link', 10, 1);
    #1351842

    Hi,
    You can add these:

    
    remove_image_size('shop_thumbnail');
    remove_image_size('shop_catalog');
    remove_image_size('shop_single');

    but remove_image_size(‘shop_gallery_thumbnail’); is not correct, try:

    remove_image_size('woocommerce_gallery_thumbnail');
    remove_image_size('woocommerce_single');
    remove_image_size('woocommerce_thumbnail');

    Best regards,
    Mike

    #1351839

    Thank you Mike,

    Can I also add these lines to the code above:

    remove_image_size(‘shop_thumbnail’);
    remove_image_size(‘shop_catalog’);
    remove_image_size(‘shop_single’);
    remove_image_size(‘shop_gallery_thumbnail’);

    Thanks,
    Alwin

    #1351815

    Hi,
    Thank you for your question, your code looks correct and the Regenerate Thumbnails is still recommended, many basic plugins only need to be updated when the WordPress core changes for the specific function, which typically is seldom for this function.
    The last number is the priority that it has.

    Best regards,
    Mike

    #1351709
    babyboymik
    Participant

    Hello,

    I am using the ‘Blog Posts’ element. The left and right of each thumbnail have a grey box around each post and I want to get rid of it. I have tried various sizes for thumbnails to see if it’s the size of each thumbnail but it’s not. Even if I add a thumbnail 300×300, it shows those borders on each thumbnail. I have set it to the orginal size in the ‘edit section’ and also tried automatic size and still get it. How do I remove those borders? With those borders, the page looks too ‘crowded’ with the template I am using. I have posted the link to the page in private as well as a screenshot.

    Thank you once again,

    BR,
    Mike

Viewing 30 results - 811 through 840 (of 10,094 total)