diff --git a/functions.php b/functions.php index a295661..decda32 100644 --- a/functions.php +++ b/functions.php @@ -72,16 +72,17 @@ function ofisuport_setup() { ); // Set up the WordPress core custom background feature. - add_theme_support( - 'custom-background', - apply_filters( - 'ofisuport_custom_background_args', - array( - 'default-color' => 'ffffff', - 'default-image' => '', - ) - ) - ); + // + //add_theme_support( + // 'custom-background', + // apply_filters( + // 'ofisuport_custom_background_args', + // array( + // 'default-color' => 'ffffff', + // 'default-image' => '', + // ) + // ) + //); // Add theme support for selective refresh for widgets. add_theme_support( 'customize-selective-refresh-widgets' ); @@ -94,8 +95,11 @@ function ofisuport_setup() { add_theme_support( 'custom-logo', array( - 'height' => 250, - 'width' => 250, + //'height' => 250, + //'width' => 250, + // not square but rectangle as XarxaProd proportions + 'height' => 252, + 'width' => 125, 'flex-width' => true, 'flex-height' => true, ) @@ -120,20 +124,23 @@ add_action( 'after_setup_theme', 'ofisuport_content_width', 0 ); * * @link https://developer.wordpress.org/themes/functionality/sidebars/#registering-a-sidebar */ -function ofisuport_widgets_init() { - register_sidebar( - array( - 'name' => esc_html__( 'Sidebar', 'ofisuport' ), - 'id' => 'sidebar-1', - 'description' => esc_html__( 'Add widgets here.', 'ofisuport' ), - 'before_widget' => '
', - 'before_title' => '