Reply To: missing divs in 5.0.0 header

Home Forums WordPress Themes – Premium Circumference missing divs in 5.0.0 header Reply To: missing divs in 5.0.0 header

#36386
Binaya D
Participant

Hi Ellen,

We are really sorry but we didn’t find such a issue in our theme file, so could you please check once and we have mention code below from our theme, so please check once.

<?php $pagewidth = get_theme_mod( 'page_width', 'default' );
	 switch ($pagewidth) {
		case "default" : 
			echo '<div id="cir-wrapper" style="border-color:';
			echo get_theme_mod( 'topborder', '#000000' ) . ';"';
      if ( has_nav_menu( 'secondary' ) ) echo 'class="cr-secondary-menu" '. '>';

		 break;
		case "boxedmedium" : 
			echo '<div id="cir-wrapper-boxed-medium" style="border-color:';
			echo get_theme_mod( 'topborder', '#000000' ) . ';">';
      if ( has_nav_menu( 'secondary' ) ) echo 'class="cr-secondary-menu" '. '>';

		break;	
		case "boxedsmall" : 
			echo '<div id="cir-wrapper-boxed-small" style="border-color:';
			echo get_theme_mod( 'topborder', '#000000' ) . ';">'; 
      if ( has_nav_menu( 'secondary' ) ) echo 'class="cr-secondary-menu" '. '>';
		break;			
		} 
	?>

Thanks