• 1) i see “customize-layout.php” in theme folder, and also in “inc” folder. what is differenc and which one is used?? currently, inc/ one is used, which obviously missing some fields from the nother custmize-layout (where is ‘width_site’ settings, which is not in inc one)

    2) in sg-window/inc/customize.php, there is

    
    ....
    		.sidebar-before-footer,
    		.header-wrap {
    			max-width: <?php echo esc_attr(sgwindow_get_theme_mod('width_image')); ?>px;
    		}
    		
    		.sidebar-before-footer,
    		.header-wrap,
    		.site {		
    			max-width: <?php echo esc_attr(get_theme_mod('width_site', $defaults['width_site'])); ?>px;
    		}	
    ....
    

    i think that second one is doubled code, also, some mistake, because on second block there is used get_theme_mod instead of sgwindow_get_theme_mod

    • This topic was modified 7 years, 4 months ago by tazotodua.
    • This topic was modified 7 years, 4 months ago by tazotodua.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘files not correct’ is closed to new replies.