New Landing How can we help? Cardinal Override h4 titles in sidebar widgets

Viewing 2 posts - 1 through 2 (of 2 total)
  • Posted in: Cardinal
  • #96229
    lilialaminae
    Member
    Post count: 36

    Hi there,

    after hours of searching your documentation, the php files, the internet in general and of course this forum, I still haven’t figured out where I can change the h4 titles of my widgets in the sidebar into h3.

    Please help me.

    Thanks!

    #96310
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Hi

    There is quite a few instances you need to change, see below:

    cardinal/swift-framework/core/sf-functions.php:
    
      160  				'before_widget' => '<section id="%1$s" class="widget %2$s clearfix">',
      161  				'after_widget' => '</section>',
      162: 				'before_title' => '<div class="widget-heading clearfix"><h4 class="spb-heading"><span>',
      163  				'after_title' => '</span></h4></div>',
      164  			);
    
    cardinal/swift-framework/core/sf-sidebars.php:
    
       28  			        'before_widget' => '<section id="%1$s" class="widget %2$s clearfix">',
       29  			        'after_widget' => '</section>',
       30: 			        'before_title' => '<div class="widget-heading clearfix"><h4 class="spb-heading"><span>',
       31  			        'after_title' => '</span></h4></div>',
       32  			    ));
       ..
       36  			        'before_widget' => '<section id="%1$s" class="widget %2$s clearfix">',
       37  			        'after_widget' => '</section>',
       38: 			        'before_title' => '<div class="widget-heading clearfix"><h4 class="spb-heading"><span>',
       39  			        'after_title' => '</span></h4></div>',
       40  			    ));
       ..
       44  					'before_widget' => '<section id="%1$s" class="widget %2$s clearfix">',
       45  					'after_widget' => '</section>',
       46: 					'before_title' => '<div class="widget-heading clearfix"><h4 class="spb-heading"><span>',
       47  					'after_title' => '</span></h4></div>',
       48  				));
       ..
       52  					'before_widget' => '<section id="%1$s" class="widget %2$s clearfix">',
       53  					'after_widget' => '</section>',
       54: 					'before_title' => '<div class="widget-heading clearfix"><h4 class="spb-heading"><span>',
       55  					'after_title' => '</span></h4></div>',
       56  				));
       ..
       60  				    'before_widget' => '<section id="%1$s" class="widget %2$s clearfix">',
       61  				    'after_widget' => '</section>',
       62: 				    'before_title' => '<div class="widget-heading clearfix"><h4 class="spb-heading"><span>',
       63  				    'after_title' => '</span></h4></div>',
       64  				));
       ..
       68  				    'before_widget' => '<section id="%1$s" class="widget %2$s clearfix">',
       69  				    'after_widget' => '</section>',
       70: 				    'before_title' => '<div class="widget-heading clearfix"><h4 class="spb-heading"><span>',
       71  				    'after_title' => '</span></h4></div>',
       72  				));
       ..
       76  					'before_widget' => '<section id="%1$s" class="widget %2$s clearfix">',
       77  					'after_widget' => '</section>',
       78: 					'before_title' => '<div class="widget-heading clearfix"><h4 class="spb-heading"><span>',
       79  					'after_title' => '</span></h4></div>',
       80  				));
       ..
       84  					'before_widget' => '<section id="%1$s" class="widget %2$s clearfix">',
       85  					'after_widget' => '</section>',
       86: 					'before_title' => '<div class="widget-heading clearfix"><h4 class="spb-heading"><span>',
       87  					'after_title' => '</span></h4></div>',
       88  				));

    See the line numbers on the left

    – Kyle

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register