Viewing 30 results - 7,921 through 7,950 (of 10,095 total)
  • Author
    Search Results
  • #297401
    This reply has been marked as private.
    techmyocn
    Participant

    Hi, I would like to change the height of the code below using my child’s theme functions.php.

    This is line 101 in the parent functions.php
    $avia_config['imgSize']['entry_with_sidebar'] = array('width'=>710, 'height'=>270); // big images for blog and page entries

    I tried the below but that did not work.

    if ( function_exists( 'add_theme_support' ) ) {
        add_theme_support( 'entry_with_sidebar'' );
        set_post_thumbnail_size( 710, 470 ); // New big images for blog and page
    }

    Thanks for your help.
    Victor

    • This topic was modified 11 years, 8 months ago by techmyocn.
    #297331

    Hi alwo!

    Yes you can use a filter to change the thumbnail size – insert this code into the child theme functions.php (or enfold/functions.php) file:

    
    add_filter('avf_magazine_settings', 'avia_magazine_thumbnail', 10, 2);
    function avia_magazine_thumbnail($atts, $magazine){
    $atts['image_size']['small'] = 'square';
    return $atts;
    }
    

    You can replace “square” with another thumbnail size like: ‘masonry’, featured’, ‘featured_large’, ‘portfolio’, ‘gallery’, ‘entry_with_sidebar’,’entry_without_sidebar’,extra_large’ or “magazine”

    Best regards,
    Peter

    #297291

    In reply to: Masonry blog layout

    Oh, and btw: I would really like to decide how many thumbnails are displayed horizontally. Right now I can only choose how many to be shown on one page…
    Thanks

    #297244

    Hi again

    So I think I may of just resolved the issues..
    I changed the “Media Settings” – Thumbnail size option from 80 x 80 to my desired size 142 x 231
    I then regenerated the thumbnails using the plugin.
    And added this to the quick.css
    .avia-testimonial-image, .avia-testimonial-image img { width: 142px; height: 231px; }

    I hope this option is OK, what do you reckon?

    Better then the $1200USD i was just quoted from India, to fix this and a couple other issues

    yee haa

    #297229
    metafora29
    Participant

    Hi,
    Thanks for a great theme! I am using it on 3 websites and finding it extremely useful!
    Question: I would like to be able to control the size of the thumbnail images in my masonry blog layout, as well as the gap size between them. Is there any short-code for this?
    Here is my blog as it looks now:http://www.escuelaveranoarteterapia.org/blog/
    Thanks,
    Jette

    #297142

    Hey!

    Thank you for the update.

    Regarding the phone number, please add this on Quick CSS or custom.css:

    .phone-info.with_nav {
    margin-left: -20px;
    }

    For the post thumbnail, use this one:

    .single-post .single-small.with-slider .small-preview {
    width: 150px;
    height: 150px;
    }

    Cheers!
    Ismael

    ecoresearch
    Participant

    I have tried the following to hide a post slider on smartphones; unfortunately, this Quick CSS entry also hides the thumbnail previews of blog categories in the grid layout. Is there a way to hide the post slider element, but leave the grid? Thank you! :)

    @media only screen and (max-width: 767px) {
    .avia-content-slider { display: none;}
    }

    #296872

    Hey!

    Yes, open up wp-content/themes/enfold/config-woocommerce/config.php and replace:

    
    return sprintf( '<a href="%s" itemprop="image" class="woocommerce-main-image zoom" title="%s"  rel="prettyPhoto' . $gallery . '">%s</a>', $image_link, $image_title, $image);
    
    

    with

    
    return sprintf( '<a href="%s" itemprop="image" class="woocommerce-main-image zoom noLightbox" title="%s">%s</a>', $image_link, $image_title, $image);
    
    

    and:

    
    $img = sprintf( '<a href="%s" class="%s" title="%s"  rel="prettyPhoto[product-gallery]">%s</a>', $image_link, $image_class, $image_title, $image );
    

    with

    
    $img = sprintf( '<a href="%s" class="%s noLightbox" title="%s"  rel="prettyPhoto[product-gallery]">%s</a>', $image_link, $image_class, $image_title, $image );
    

    If you want to overwrite the default code with a child theme add the avia_woocommerce_gallery_thumbnail_description() and avia_woocommerce_post_thumbnail_description() function to the child theme functions.php file and modify the code there.

    Regards,
    Peter

    #296511
    This reply has been marked as private.
    #296498
    Monsoon
    Participant

    There are some posts titles where I have had to add a little bit of html like a img src for a quick small icon…its great and simple as it adds a little flag for the origin of a post right in front of the title.The problem is that any mouseover the thumbnail in the masonry or on the latest post or on the story itself shows a title mouseover with the html (obviously)

    I need to remove all these titles on mouseover from showing at all anywhere on the site.
    Recommendations?
    Thanks in advance

    #296422

    Topic: Gallery issues

    in forum Enfold
    Tonhimer
    Participant

    I have inserted a simple gallery, however I cannot get the thumbnail images to downsize to 80X80 they stop somewhere around 20% of their original size. Then as you hover over different images the gallery itself jumps up the page by 10 or so pixels and continues to do this until there is no large preview image.

    Any thoughts?

    #296395

    Hey!

    If you can choose a predefined size from function.php this would be the easiest way.

    You just have to take the name like portfolio_small.

    If this is not an option add the following in function.php after entry_without_sidebar and adjust the values.

    
    $avia_config['imgSize']['your_selected_size'] 	= array('width'=>710, 'height'=>270);
    

    You have to regenerate the thmbnails with a plugin like https://wordpress.org/plugins/regenerate-thumbnails/

    Cheers!
    Günter

    #296360

    Hey!

    It should be getting cropped based on the functions within the theme for creating thumbnails. You can change them with this plugin and also do the image regeneration that is required from the plugin as well: http://wordpress.org/extend/plugins/simple-image-sizes/

    It should be 710×575 by default which comes from this line:

    
    $avia_config['imgSize']['gallery'] 		 		= array('width'=>710, 'height'=>575 );
    

    Cheers!
    Devin

    #296025

    Okay that worked great. However is there a way that people can click the small thumbnails in the gallery and it shows the preview on the main window in the product page? So when they click whatever box instead of it poping up in a lightbox it would just show that image in the main box?

    #295962

    Hi!

    Please add following code to Quick CSS in Enfold theme options under General Styling tab

    .single-product-main-image {
    pointer-events: none;
    }

    that would make thumbnails not clickable. We would recommend using watermark on your images :)

    Best regards,
    Yigit

    #295896

    Here is a link to a screenshot
    http://tinypic.com/r/11cazpz/8

    As you can see, the top and bottom of the AJAX image are cut off when compared to the small thumbnail below.

    Thanks for the help

    #295840

    Hi!

    Da haben sich unsere Antworten überschnitten.

    Wenn Sie gar keine Kommentare benötigen, dann folgenden Code in functions.php (z.B. am Ende) einfügen:

    
    add_filter('comments_open','__return_false', 10, 2);
    

    Falls Sie die Bilder über Medien in WP neu hochladen, werden sie von WP automatisch auf jene Formate angepasst, die in functions.php ab Zeile 90 definiert sind. Sollten Sie da andere Formate benötigen, kann man diese auch später jederzeit definieren.

    Um bereits früher in WP hochgeladene Bilder an die Formate unseres Themes anzupassen, kann man z.B. folgendes plugin verwenden:
    https://wordpress.org/plugins/regenerate-thumbnails/

    Cheers!
    Günter

    • This reply was modified 11 years, 8 months ago by Günter.
    #295801

    Hey barnestechprod!

    Thank you for visiting the support forum.

    I’m sorry but your website is not loading properly. The css modification above will only affect the ajax preview image not the portfolio thumbnails. Do you mind providing a screenshot? I’ll ask the rest of the support team to check.

    Best regards,
    Ismael

    #295782

    Also I meant to say I added the css mentioned in another post and it only disabled lightbox on the main image on the product page but when you click on thumbnail below on the gallery those open up to a large lightbox which I want to disable.

    #295766
    barnestechprod
    Participant

    My uploaded images for my portfolio are 1000px x 1000 px.
    I have used the following custom CSS to change the small thumbnails (they were previously cropped vertically)

    .portfolio-preview-image {
    width: 500px;
    }

    This fixed the small thumbnail icons, but when I click on one and the AJAX portfolio opens, the image is cropped. How do I fix this?
    Thanks!

    #295741

    Hi!

    Go to Settings > Media and adjust the Thumbnail size to something of your preference (default is square 80×80. Once you done that run this plugin to regenerate the thumbnails.

    Regards,
    Josue

    #295733

    Hi!

    Try adding this too:

    .av-magazine-thumbnail img { width: 100%; }
    

    Best regards,
    Josue

    #295731
    alvinhy
    Participant

    Hello,

    I used this CSS code to change the size of the magazine thumbnail:

    .av-magazine-thumbnail { width: 150px; }

    But somehow the image does not stretch and is still a small square.
    Is there a fix for this?

    #295682
    ThomasWalkerDesign
    Participant

    Hey there,

    I need to use the size 600×338 for the thumbnails in my portfolio as that keeps the ratio correct for 16:9 videos. I tried to add a video_thumbnail, but then realized that wouldn’t work. Where in the functions.php do I make this edit so the thumbnails in the grid layout will be this correct size?

    HERE IS THE CODE I AM WORKING WITH:

    ##################################################################
    # AVIA FRAMEWORK by Kriesi

    # this include calls a file that automatically includes all
    # the files within the folder framework and therefore makes
    # all functions and classes available for later use

    require_once( ‘framework/avia_framework.php’ );

    ##################################################################

    /*
    * Register additional image thumbnail sizes
    * Those thumbnails are generated on image upload!
    *
    * If the size of an array was changed after an image was uploaded you either need to re-upload the image
    * or use the thumbnail regeneration plugin: http://wordpress.org/extend/plugins/regenerate-thumbnails/
    */

    $avia_config[‘imgSize’][‘widget’] = array(‘width’=>36, ‘height’=>36); // small preview pics eg sidebar news
    $avia_config[‘imgSize’][‘square’] = array(‘width’=>180, ‘height’=>180); // small image for blogs
    $avia_config[‘imgSize’][‘featured’] = array(‘width’=>1500, ‘height’=>430 ); // images for fullsize pages and fullsize slider
    $avia_config[‘imgSize’][‘featured_large’] = array(‘width’=>1500, ‘height’=>630 ); // images for fullsize pages and fullsize slider
    $avia_config[‘imgSize’][‘extra_large’] = array(‘width’=>1500, ‘height’=>1500 , ‘crop’ => false); // images for fullscrren slider
    $avia_config[‘imgSize’][‘portfolio’] = array(‘width’=>495, ‘height’=>400 ); // images for portfolio entries (2,3 column)
    $avia_config[‘imgSize’][‘portfolio_small’] = array(‘width’=>260, ‘height’=>185 ); // images for portfolio 4 columns
    $avia_config[‘imgSize’][‘video_thumbnail’] = array(‘width’=>600, ‘height’=>338 ); // images for video on demand thumbnails
    $avia_config[‘imgSize’][‘gallery’] = array(‘width’=>710, ‘height’=>575 ); // images for portfolio entries (2,3 column)
    $avia_config[‘imgSize’][‘magazine’] = array(‘width’=>710, ‘height’=>375 ); // images for magazines
    $avia_config[‘imgSize’][‘masonry’] = array(‘width’=>705, ‘height’=>705 , ‘crop’ => false); // images for fullscreen masonry
    $avia_config[‘imgSize’][‘entry_with_sidebar’] = array(‘width’=>710, ‘height’=>270); // big images for blog and page entries
    $avia_config[‘imgSize’][‘entry_without_sidebar’]= array(‘width’=>1030, ‘height’=>360 ); // images for fullsize pages and fullsize slider

    //overwrite blog and fullwidth image on extra large layouts
    if(avia_get_option(‘responsive_layout’) == “responsive responsive_large”)
    {
    $avia_config[‘imgSize’][‘gallery’] = array(‘width’=>845, ‘height’=>684 ); // images for portfolio entries (2,3 column)
    $avia_config[‘imgSize’][‘entry_with_sidebar’] = array(‘width’=>845, ‘height’=>321); // big images for blog and page entries
    $avia_config[‘imgSize’][‘entry_without_sidebar’]= array(‘width’=>1210, ‘height’=>423 ); // images for fullsize pages and fullsize slider
    }

    $avia_config[‘selectableImgSize’] = array(
    ‘square’ => __(‘Square’,’avia_framework’),
    ‘featured’ => __(‘Featured Thin’,’avia_framework’),
    ‘featured_large’ => __(‘Featured Large’,’avia_framework’),
    ‘portfolio’ => __(‘Portfolio’,’avia_framework’),
    ‘gallery’ => __(‘Gallery’,’avia_framework’),
    ‘video_thumbnail’ => __(‘Video on Demand’,’avia_framework’),
    ‘entry_with_sidebar’ => __(‘Entry with Sidebar’,’avia_framework’),
    ‘entry_without_sidebar’ => __(‘Entry without Sidebar’,’avia_framework’),
    ‘extra_large’ => __(‘Fullscreen Sections/Sliders’,’avia_framework’),

    );

    avia_backend_add_thumbnail_size($avia_config);

    if ( ! isset( $content_width ) ) $content_width = $avia_config[‘imgSize’][‘featured’][‘width’];

    HERE IS THE PAGE ON MY SITE:

    http://dev.questcommunity.com/watch/

    Thanks,
    Nate

    #295525

    Hey profumopuntoit!

    Please go to Appearance > Editor and open Functions.php file and find

    $avia_config['imgSize']['widget'] 			 	= array('width'=>36,  'height'=>36);	

    and change the values then regenerate thumbnails using this plugin – https://wordpress.org/plugins/regenerate-thumbnails/
    then add following code to Quick CSS in Enfold theme options under General Styling tab and adjust as needed

    .news-thumb img, .news-thumb img { width: 28px; height: 28px; }
    .news-thumb { height: 36px; width: 36px; }

    These are default values. You should change them according to sizes you set in functions.php file

    Regards,
    Yigit

    #295451
    profumopuntoit
    Participant

    We have put two widget in the footer. One with blog posts and one with the product in offer. We would like to display a bit bigger images

    I see for the product in offer

    img width=”120″ height=”120″
    attachment-shop_thumbnail wp-post-image

    and for the blog posts

    img width=”36″ height=”36″
    attachment-widget wp-post-image

    Almoust all our products have variations and the two full prices and the two discounted prices wrap to a new line. It would be better to have full prices in one line and discounted prices on another. Is it possible?

    Thank you Mauro

    #295230

    In reply to: Lightbox Image Size

    Hi Ed!

    Check it now:
    http://www.swarez.co.uk/modern-art-paintings-for-sale/paper-plane/

    Added this to child functions.php:

    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);
    

    Cheers!
    Josue

    #295177

    In reply to: Lightbox Image Size

    Hi Ed,

    Did you regenerate the thumbnails after adding that?

    Regards,
    Josue

    #295143

    In reply to: Lightbox Image Size

    Hi Ed!

    Have you tried regenerating the thumbnails?
    http://wordpress.org/plugins/regenerate-thumbnails/

    Regards,
    Josue

Viewing 30 results - 7,921 through 7,950 (of 10,095 total)