'1' digit appearing under sidebar of wordpress website
According to https://codex.wordpress.org/Function_Reference/dynamic_sidebar it should be
dynamic_sidebar( 'category_fashion' );
instead of echo dynamic_sidebar( 'category_fashion' );
The function probably returns true; echo takes a string; true->string=1, therefore the additional 1
.
Superfluous echo
, caused by confusion, caused by silly Wordpress functions that print things rather than returning them.
In your case, the following is at fault:
<?php echo dynamic_sidebar( 'category_fashion' ); ?>
Contrast with your earlier and correct usage:
<?php dynamic_sidebar( 'main_sidebar' ); ?>