Forum Replies Created

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • Thank you, I’ve already solved it. I simply needed to update come templates regarding the e-mails in my child theme.

    in reply to: Add custom image size to Avia Layout Builder #669305

    I did! Sorry not to having pointed out that explicitly. Thanks to Guenni007 and to everyone.

    in reply to: Change font attribute #667713

    I managed to do it. Thank you very much!

    in reply to: Change font attribute #667704

    Really appreciate your help!

    The font is now selectable in the enfold options page, but I’m still unable to set the font weight to 300.
    400 is “normal” but 300 is “light” and “light” is what I need.

    I’d like to have the “light” font weight as default for every text element. Could you suggest how to do this?

    in reply to: Add custom image size to Avia Layout Builder #667675

    Thanks again Guenni007, I finally had some luck. Found this code, it works:

    if ( function_exists( ‘add_image_size’ ) ) {
    add_image_size( ‘new-size’, 350, 250, true ); //(cropped)
    }
    add_filter(‘image_size_names_choose’, ‘my_image_sizes’);
    function my_image_sizes($sizes) {
    $addsizes = array(
    “new-size” => __( “New Size”)
    );
    $newsizes = array_merge($sizes, $addsizes);
    return $newsizes;
    }

    in reply to: Add custom image size to Avia Layout Builder #667667

    Thanks again, but unfortunately it does’t work.

    in reply to: Add custom image size to Avia Layout Builder #667654

    Thanks a lot for the quick reply. The fact that the modification affected only newly uploaded images wasn’t 100% clear to me, but I had tried uploading a new image, just as a test, and it didn’t work.

    I’ve tried the plugin you suggested. It lets you force to regenerate the whole media library or a single picture. I tried with a single picture and now I see the new size in the pulgin’s report. This is what the plugin report says after forcing regeneration on a single image:

    “Regenerate: 1030×1030, 120×120, 1210×423, 1500×1500, 1500×430, 1500×630, 180×180, 250×250, 260×185, 300×300, 36×36, 450×450, 495×400, 705×705, 710×375, 768×768, 80×80, 845×321, 845×684
    Successfully regenerated in 25,126 seconds”

    250×250 is the new size I added in functions.php, I see it in the report but I don’t see it in the drop-down menu inside the Avia Builder. In fact the report lists 19 sizes, while I only see 11 choices in the drop-down menu. I know that sizes which are bigger than the actual size of the image are not listed, but that’s not the case ’cause the image I’ve uploaded is 2980x2980px, so every possible size should be listed.

    I’m still missing something. Any thoughts?

Viewing 7 posts - 1 through 7 (of 7 total)