• Resolved datviking

    (@datviking)


    Hi,

    Can you tell me how can i change the default image size for a bigger one in the Services Type A? These images are too small for our site.

    Thank you very much!

Viewing 1 replies (of 1 total)
  • Thread Starter datviking

    (@datviking)

    nvm, i solved it.

    Created a new “widgets” under the child theme’s directory, and copied the services type a file to there and after that modified the file.

    And i need to put some code to the functions.php too:

    add_image_size('my_services_thumb', 500, 0, false);
    
    //Services widget
    require get_stylesheet_directory() . "/widgets/fp-services-type-a.php";
    
    function sydney_child_remove_services_widget() {
    	unregister_widget('Sydney_Services_Type_A');
    }
    add_action( 'widgets_init', 'sydney_child_remove_services_widget', 999 );
    
    function sydney_child_register_new_widget_services(){
      register_widget( 'Sydney_Child_Services_Type_A' );
    }
    add_action( 'widgets_init', 'sydney_child_register_new_widget_services' );
    //Services widget END
Viewing 1 replies (of 1 total)
  • The topic ‘Sydney Toolbox change Services default image size’ is closed to new replies.