• Hey Guys,

    I’m currently editing my sidebar widget for my Responsive-child theme.

    Is there a way to move the widget title outside of the widget wrapper.

    I tried moving these code around
    <div class="widget-title"><h3><?php _e( 'In Archive', 'responsive' ); ?></h3></div>
    from these codes:

    <?php responsive_widgets_before(); // above widgets container hook ?>
    	<div id="widgets" class="grid col-300 fit">
    		<?php responsive_widgets(); // above widgets hook ?>
    
    		<?php if ( !dynamic_sidebar( 'right-sidebar' ) ) : ?>
    			<div class="widget-wrapper">
    
    				<div class="widget-title"><h3><?php _e( 'In Archive', 'responsive' ); ?></h3></div>
    
    <ul>
    					<?php wp_get_archives( array( 'type' => 'monthly' ) ); ?>
    				</ul>
    			</div><!-- end of .widget-wrapper -->
    		<?php endif; //end of right-sidebar ?>
    
    		<?php responsive_widgets_end(); // after widgets hook ?>
    	</div><!-- end of #widgets -->
    <?php responsive_widgets_after(); // after widgets container hook ?>

    but it didn’t work.

    Here’s a link to my website https://spirulinanutritionhub.com/blog/

    Thanks so much…

  • The topic ‘Move Widget Title Outside Widget Wrapper’ is closed to new replies.