Viewing 30 results - 5,851 through 5,880 (of 10,101 total)
  • Author
    Search Results
  • #546295

    Thank you Elliot!
    May be a dumb question, but how do I ‘load a thumbnail’ in the Masonry settings? Do you mean that I have to upload a smaller size image in media and thereafter load it into Masonry?
    Thank you very much in advance.
    Kind regards,
    Ronald

    Hey!

    Hmm, I did some testing on my XAMPP setup and I could only get it to work with this for some reason.

    if(!function_exists('avia_post_nav'))
    {
    	function avia_post_nav($same_category = false, $taxonomy = 'category')
    	{
    		global $wp_version;
    	        $settings = array();
    	        $settings['same_category'] = $same_category;
    	        $settings['excluded_terms'] = '';
    			$settings['wpversion'] = $wp_version;
            
    		//dont display if a fullscreen slider is available since they overlap 
    		if((class_exists('avia_sc_layerslider') && !empty(avia_sc_layerslider::$slide_count)) || 
    			class_exists('avia_sc_slider_full') && !empty(avia_sc_slider_full::$slide_count) ) $settings['is_fullwidth'] = true;
    
    		$settings['type'] = get_post_type();
    		$settings['taxonomy'] = ($settings['type'] == 'portfolio') ? 'portfolio_entries' : $taxonomy;
    
    		if(!is_singular() || is_post_type_hierarchical($settings['type'])) $settings['is_hierarchical'] = true;
    		if($settings['type'] === 'topic' || $settings['type'] === 'reply') $settings['is_bbpress'] = true;
    
    	        $settings = apply_filters('avia_post_nav_settings', $settings);
    	        if(!empty($settings['is_bbpress']) || !empty($settings['is_hierarchical']) || !empty($settings['is_fullwidth'])) return;
    	
    	        if(version_compare($settings['wpversion'], '3.8', '>=' ))
    	        {
    	            $entries['prev'] = get_previous_post(true, $settings['excluded_terms'], 'product_cat');
    	            $entries['next'] = get_next_post(true, $settings['excluded_terms'], 'product_cat');
    	        }
    	        else
    	        {
    	            $entries['prev'] = get_previous_post($settings['same_category']);
    	            $entries['next'] = get_next_post($settings['same_category']);
    	        }
    	        
    		$entries = apply_filters('avia_post_nav_entries', $entries, $settings);
            $output = "";
    
    		foreach ($entries as $key => $entry)
    		{
                if(empty($entry)) continue;
    			$the_title 	= isset($entry->av_custom_title) ? $entry->av_custom_title : avia_backend_truncate(get_the_title($entry->ID),75," ");
    			$link 		= isset($entry->av_custom_link)  ? $entry->av_custom_link  : get_permalink($entry->ID);
    			$image 		= isset($entry->av_custom_image) ? $entry->av_custom_image : get_the_post_thumbnail($entry->ID, 'thumbnail');
    			
                $tc1   = $tc2 = "";
                $class = $image ? "with-image" : "without-image";
    
                $output .= "<a class='avia-post-nav avia-post-{$key} {$class}' href='{$link}' >";
    		    $output .= "    <span class='label iconfont' ".av_icon_string($key)."></span>";
    		    $output .= "    <span class='entry-info-wrap'>";
    		    $output .= "        <span class='entry-info'>";
    		    $tc1     = "            <span class='entry-title'>{$the_title}</span>";
    if($image)  $tc2     = "            <span class='entry-image'>{$image}</span>";
                $output .= $key == 'prev' ?  $tc1.$tc2 : $tc2.$tc1;
                $output .= "        </span>";
                $output .= "    </span>";
    		    $output .= "</a>";
    		}
    		return $output;
    	}
    }

    You can paste that into the child theme functions.php file.

    Cheers!
    Elliott

    #546019

    Hi Ronaldgoudriaan!

    Your image sizes are way too big. It would be best to load a thumbnail instead of the full sizes. You can select a thumbnail to use in the Masonry settings.

    Best regards,
    Elliott

    #545981
    JoeLovell
    Participant

    I’m preparing a photography portfolio site for a client using Enfold. I have set up each image as a portfolio item with just a Title and Featured Image and categorised items using a series of categories. This works great as far as filtering images and presenting thumbnails goes, and the native lightbox looks great. However, once the portfolio is filtered, the lightbox continues to navigate through the images without regard to the filtering applied to the page. For example, it still navigates through images that have not been isolated by the filter.

    How can I resolve this so that the lightbox only navigates through the portfolio items that have been set by the filter? Is this possible using the native lightbox? If not, can you recommend another solution, perhaps using another plugin?

    Many thanks. The theme is otherwise fantastic.

    Hi Yigit!

    I put it in a smaller column, this worked for the big picture.
    the code did unfortunately nothing. the thumbnails are still not scaled right. at hover on the thumbnails, the pics are shown scaled wrong in the place of the big picture. since i also want to get rid of the border and have a margin between big pic and thumbs i tried this:
    `#top div .avia-gallery .avia-gallery-big .avia_start_animation{
    height: auto!important;
    margin-bottom: 20px !important;
    border-style: none!important;
    }

    #top div .avia-gallery .avia-gallery-thumb{
    height: auto!important;
    border-style: none!important;
    }`
    but this also does nothing…
    i hope i wrote it understandable in a way… :)

    regards
    Lucie

    • This reply was modified 10 years, 4 months ago by aB-Agenta.
    #545866
    quebag
    Participant

    Hi,

    we display entries from categories with masonry gallery.
    it displays thumbnail and title from a entry.

    we dont want to link to the main entry.
    the elements in the gallery should link
    to a pdf-file, which link is provided by a custom-field in each entry

    #545460

    First solution: Putting this one in the child theme of your Function

    function avia_post_nav($same_category = false, $taxonomy = 'category')
    	{
    		global $wp_version;
    	        $settings = array();
    	        $settings['same_category'] = $same_category;
    	        $settings['excluded_terms'] = '';
    			$settings['wpversion'] = $wp_version;
            
    		//dont display if a fullscreen slider is available since they overlap 
    		if((class_exists('avia_sc_layerslider') && !empty(avia_sc_layerslider::$slide_count)) || 
    			class_exists('avia_sc_slider_full') && !empty(avia_sc_slider_full::$slide_count) ) $settings['is_fullwidth'] = true;
    
    		$settings['type'] = get_post_type();
    		$settings['taxonomy'] = ($settings['type'] == 'portfolio') ? 'portfolio_entries' : $taxonomy;
    
    		if(!is_singular() || is_post_type_hierarchical($settings['type'])) $settings['is_hierarchical'] = true;
    		if($settings['type'] === 'topic' || $settings['type'] === 'reply') $settings['is_bbpress'] = true;
    
    	        $settings = apply_filters('avia_post_nav_settings', $settings);
    	        if(!empty($settings['is_bbpress']) || !empty($settings['is_hierarchical']) || !empty($settings['is_fullwidth'])) return;
    	
    	        if(version_compare($settings['wpversion'], '3.8', '>=' ))
    	        {
    	            $entries['prev'] = get_previous_post($settings['same_category'], $settings['excluded_terms'], $settings['taxonomy']);
    	            $entries['next'] = get_next_post($settings['same_category'], $settings['excluded_terms'], $settings['taxonomy']);
    	        }
    	        else
    	        {
    	            $entries['prev'] = get_previous_post($settings['same_category']);
    	            $entries['next'] = get_next_post($settings['same_category']);
    	        }
    	        
    		$entries = apply_filters('avia_post_nav_entries', $entries, $settings);
            $output = "";
    
    		foreach ($entries as $key => $entry)
    		{
                if(empty($entry)) continue;
    			$the_title 	= isset($entry->av_custom_title) ? $entry->av_custom_title : avia_backend_truncate(get_the_title($entry->ID),75," ");
    			$link 		= isset($entry->av_custom_link)  ? $entry->av_custom_link  : get_permalink($entry->ID);
    			$image 		= isset($entry->av_custom_image) ? $entry->av_custom_image : get_the_post_thumbnail($entry->ID, 'thumbnail');
    			
                $tc1   = $tc2 = "";
                $class = $image ? "with-image" : "without-image";
    
                $output .= "<a class='avia-post-nav avia-post-{$key} {$class}' href='{$link}' >";
    		    $output .= "    <span class='label iconfont' ".av_icon_string($key)."></span>";
    		    $output .= "    <span class='entry-info-wrap'>";
    		    $output .= "        <span class='entry-info'>";
    		    $tc1     = "            <span class='entry-title'>{$the_title}</span>";
    if($image)  $tc2     = "             ";
                $output .= $key == 'prev' ?  $tc1.$tc2 : $tc2.$tc1;
                $output .= "        </span>";
                $output .= "    </span>";
    		    $output .= "</a>";
    		}
    		return $output;
    	}
    #545458

    Hey!


    @hunter74
    I have already replied you here – https://kriesi.at/support/topic/remove-thumbnail-in-avia-post-nav/#post-545450 and mentioned that it is not possible as there is no hook for it. Let us stick to your topic.

    Cheers!
    Yigit

    #545368
    Raphael
    Participant

    Hi I want to remove the thumbnails out of the postnav. avia post nav
    – Left and richt buttons for posts and portfolios

    Is there a function possible? Please no CSS solution I know CSS – for SEO issues I want to completeley remove it!

    #544626

    Hey mgansevoort!

    You can find the images around line 100 in the /enfold/functions.php file. For the blog entries your probably wanting line 127 – 128.

    You can use this plugin, http://wordpress.org/extend/plugins/regenerate-thumbnails/, to regenerate the thumbnails after you change the size.

    Cheers!
    Elliott

    #544322

    login data attached.

    Pls take a look also at https://www.dev.sensity.pl/o-sensity/aktualnosci/, where thumbnails are on the left are displayed in the wrong way.

    #544274

    Hi Rikard

    Ok, here are some screnshorts in a dropbox folder, as you can see, no matter what setting I choose for single blogpost, when you click on a post it never shows the full picture when the post is posted trough a user profile from my plugin UsersUltra on my website.

    It doesn’t matter if I choose thumbnail or big it still cuts the picture, just either cuts it in a bigger version, or in smaller version, but never shows the entire picture when you click on the post. All I want is for it to keep showing the entire picture, all the time, I never want a cut version.

    This is a problem that’s only just come up after I changed to Enfold, so I’m thinking it must be possible to fix it, maybe some costume css code somewhere or?

    You also have my login credential in this tread.

    thank you:)

    Kind Regards

    Olga

    #544220

    Hey!

    Try adding this at the very end of your theme / child theme functions.php file:

    function modify_featured_image_size($avia_config) {
          $avia_config['imgSize']['featured'] = array('width'=>1500, 'height'=>1000, 'crop' => true );
          return $avia_config;
    }
    add_filter('avf_modify_thumb_size', 'modify_featured_image_size', 10, 1);

    Remember to regenerate the thumbnails afterwards.

    Cheers!
    Josue

    #544206
    rschoon
    Participant

    Hello,

    At the portfolio page you show off the projects you done. Once you click a project, it opens the project page more into detail. There it shows off the image thumbnail, but only half of it and I cannot make it appear correctly and bigger.

    How do I remove the thumbnail on top? When I select inspect element, i get to see the following code.

    img.attachment-entry_with_sidebar.wp-post-image {
    }

    So I add:

    Display: none;

    But it doesn’t work, I tried to add various versions of the page thumb displaying… but on the live coding of the css… it just doesn’t go away.

    Is there a way to remove this?

    With kind regards,

    Rowan

    #544170

    Thank you for your response. Yes, I resolved the issue with the columns + images. However, I have another problem I am trying to sort out. For a slide show of still images on a different page, I am working with the easy slider feature and I want each image to be the same height when they are displayed in the slider. I resized all of the images in photoshop so that each image has the height of 1000px. I selected ‘No Scaling’ in the drop down menu, yet the images continue to display in different height sizes. I also regenerated my thumbnails, cleared my browser’s (Safari) cache, and did a few hard refreshes, but unfortunately, no success. So then I went into the menu settings of the Easy Slider and changed the image size setting from ‘No Scaling’ to ‘Featured.’ Using the Simple Image Size plug-in, I changed the height setting for ‘Featured’ images to 1000px for all the pictures in the slide show. but still, no success! The height of the images in the slide show varies for each image. I have since removed all the images from the slide show except for two. It can be viewed here: http://josephbrunette.com/blog/ What am I doing wrong? Any other ideas? Thank you so much!

    Joe

    #544131
    yasha
    Participant

    Hi,
    Please see http://www.nightlightfest.org/wp/?page_id=168
    You will see thumbnails for the portfolio grid gallery.
    Clicking on one of the thumbnails an image will open basically stretching upward and downward equally.
    The top of the image gets a little cut off by the logo/header area. Can you tell me which CSS value do i change to make the whole portfolio grid section (when an image is open) go down a few pixels or position it below the header so one can see all of it?

    thx!

    #543979

    Hi!

    Try adding this to your custom CSS.

    .thumbnail_container:hover > img:nth-child(2) {
        opacity: 0 !important;
    }

    Cheers!
    Elliott

    #543924

    After some attemps, I’ve replaced all your previous code just with;

    .home .avia-content-slider .slide-image {
    float: left;
    margin-top: 0;
    margin-right: 1.4em;
    }

    and seems to work fine on every device.

    Regards,
    Valentina

    #543785

    Hey!

    Try changing line 126 in the functions.php file.

    $avia_config['imgSize']['masonry'] 		 		= array('width'=>705, 'height'=>705 , 'crop' => false);		// images for fullscreen masonry
    

    And then regenerate the thumbnails with this plugin, http://wordpress.org/extend/plugins/regenerate-thumbnails/.

    Regards,
    Elliott

    #543733

    Hi!

    1&3&4- Please add following code to Quick CSS in Enfold theme options under General Styling tab

    .av-magazine-time {
        display: none;
    }
    .page-id-3042 #av-magazine-1 {
        padding: 10px;
    }
    .av-magazine-thumbnail {
        border: none;
    }

    2- Please refer to Ismael’s post here – https://kriesi.at/support/topic/magazin-element-visible-extract/#post-523479

    Cheers!
    Yigit

    #543698

    Hey!

    Sorry for the late reply!

    They are currently set to 120x120px. However, you can go to WooCommece > Settings > Products > Display and change them under “Product Thumbnails” then regenerate thumbnails using this plugin – https://wordpress.org/plugins/regenerate-thumbnails/

    Regards,
    Yigit

    #543549

    Hi,

    Open /enfold/config-templatebuilder/avia-shortcodes/postslider.php and look for line:

    $thumbnail  = get_the_post_thumbnail( $the_id, $image_size );
    

    Replace it by this:

    $thumbnail  = get_the_post_thumbnail( $the_id, 'full');
    

    Regards,
    Josue

    #543265
    ouranos3
    Participant

    Hello everybody,

    It seems i’ve got a problem with a gallery on Safari. Everybody kind enough to check this url with MacOs + Safari ? :
    http://alleeduweb.net/maison-galluis/

    Two friends told me the Avia gallery Element didn’t load all thumbnails in the grid. No problem on windows + chrome/firefox/IE

    Thanks for your help.

    #543142

    I did some changes in the functions.php file, but the problem occurred before changes.
    Anyway they’re not changes related to layout: I’ve added a shortcode, changed the size of featured pictures and changed the overlay icon for suggested posts thumbnails.
    I did some changes in the CSS, using WordPress Jetpack but again, they are not related with the layout.
    I’ve tried by deactivating the plugins, but it didn’t work. You can have a try if you want and deactivate plugins if needed. I’m giving you a temporary admin profile.

    Thank you

    #542992

    In reply to: Close image div

    Hey!

    Can you please try adding following code to Functions.php file in Appearance > Editor

    function avia_content_after_wcthumb() {
        echo '<div class="your-custom-content">here it goes</div>';
    }
    add_action( 'woocommerce_product_thumbnails' , 'avia_content_after_wcthumb', 20 );

    If that does not work, why do not you add your custom content to top of your sidebar?
    To be honest, i am still not sure the exact changes you would like to make. You can post the codes you would like to use here using http://pastebin.com/.

    Regards,
    Yigit

    #542840

    In reply to: Close image div

    I think I’ve opened a can of worms… …

    1. With any contents added below the product thumbnail, it is wrapped within the image class div.

    2. Any a href tag auto generates rel=product_images[grouped].

    3. By manually adding a </div> (to close the image class) before the custom content, the content on the right and sidebar (if any) will be pushed below the product thumbnail. If the sidebar has removed, it will produce an empty space above the product title. The empty space is due to the hidden sidebar..

    4. The HTML output the sidebar despite being removed. http://i.imgur.com/x4ubf8t.png

    #542794

    In reply to: Close image div

    Hi Yigit,

    Thanks for the help.
    No. It doesn’t work either with commenting out
    echo "</div>"
    I reckon the product thumbnail is wrapped with sidebar? I’m curious why is it done in this way?

    #542771
    randomzeus
    Participant

    Hey guys,

    I have decided to finally set up a child theme so I can update Enfold. However, I have a few questions beforehand:

    1. Must I enqueue stylesheets in the functions.php file of the child theme in order for this to work?
    2. Can I export the theme settings from the main theme and import them into the child theme?
    3. How can I change the thumbnail image size of the widgets from the child theme since its functions.php is loaded before the parent theme?
    4. If I want to override a file in the includes directory, do I have to create an includes directory in the child theme and in it, create the file I want to override with?

    Let me know.

    Regards!

    #542554

    Hey Charlotte!

    Change line 117 in the /enfold/functions.php file from this.

    $avia_config['imgSize']['widget'] 			 	= array('width'=>36,  'height'=>36);						// small preview pics eg sidebar news
    

    To this.

    $avia_config['imgSize']['widget'] 			 	= array('width'=>140,  'height'=>140);						// small preview pics eg sidebar news
    

    And then regenerate your thumbnails, http://wordpress.org/extend/plugins/regenerate-thumbnails/.

    Regards,
    Elliott

    #542495
    cielofan
    Participant

    Hi!

    Referring to my old post (https://kriesi.at/support/topic/thumbnails-next-to-post/), i’ve seen that in the mobile version there is a problem, the text of the post is under the following item.

    Thank you,

    Valentina

Viewing 30 results - 5,851 through 5,880 (of 10,101 total)