Forum Replies Created
-
AuthorPosts
-
FocuxTheme Support
KeymasterFirst of all, make sure you update the theme to the latest version.
Change add_image_size( ‘main page grid size’, 264, 176 ); to add_image_size( ‘main_page_grid_size’, 264, 176 );
Then, use main_page_grid_size in the following function
if( function_exists( 'dgwork_thumbnail_size' ) ) { function dgwork_thumbnail_size(){ if( dgwork_device( 'phone' ) ){ return 'main_page_grid_size'; // for phone }elseif( dgwork_device( 'tablets' ) ){ return 'main_page_grid_size'; // for tablets }else{ return 'main_page_grid_size'; // for desktop } } }
Of course, you can set a different size for each device.
The last step, regenerate the thumbnail.
Thanks
FocuxTheme Support
KeymasterSo if you deactivate the cache plugin, the page is displayed as normal? What cache plugin do you use?
FocuxTheme Support
KeymasterHi
Please go to Products > Settings > General Tab, check “Login Redirect Page” option, have you set a page for this option?
If this setting is correct but still redirect to the blank page, please edit wp-config.php file (in the root folder of your site), change define(‘WP_DEBUG’, false) to true, then refresh the blank page, check if there’s any error information.
Thanks
FocuxTheme Support
KeymasterSince I know you use [downloads] shortcode for displaying the grid, I have reproduced this issue on my test site.
Please update the theme to v1.8.2 after 1 hour, I will fix it soon.FocuxTheme Support
KeymasterYou said “the bottom of my site changed!”, is it possible to post a screenshot?
FocuxTheme Support
KeymasterHi
Please update the theme to v1.8.2 after 1 hour, I will add a new feature that set the thumbnail size for the different device.
Now the feature image size on the desktop version is ‘medium’, and on the mobile phone is ‘thumbnail’. They are WordPress built-in size. If you want to custom the size, you can copy the following function to the functions.php of your child theme
if( function_exists( 'dgwork_thumbnail_size' ) ) { function dgwork_thumbnail_size(){ if( dgwork_device( 'phone' ) ){ return 'thumbnail'; // for phone 150 x 150 }elseif( dgwork_device( 'tablets' ) ){ return 'medium'; // for tablets 300 x 300 }else{ return 'medium'; // for desktop 300 x 300 } } }
for example, if you want to change the size to 200 x 150, just write as
return array(200, 150);
And you may have to regenerate all thumbnails by with https://wordpress.org/plugins/regenerate-thumbnails/
FocuxTheme Support
KeymasterI noticed you use [downloads], so don’t change the template above, I will fix this issue in V1.8.2, please update after 1 hour.
If you have customized the grid, please edit dgwork/edd_templates/shortcode-download.php template.
You must have valid license to access this content.September 11, 2019 at 7:00 pm in reply to: Add book intro in different language in homepage (coverbook) #25430You must have valid license to access this content.FocuxTheme Support
KeymasterHi
Copy wp-content/plugins/themevan-toolkit/templates/wpbakery/custom_vc_edd_product_grid.php to theme-folder/themevan-toolkit/templates/wpbakery/ (You can create themevan-toolkit/templates/wpbakery/ folder manually)
Thanks
-
AuthorPosts