Support » Theme: Decree » Free theme section chagne

  • Hello,
    Is it possible to change the order of the homepage section on the FREE version of the Decree Theme? I would like the “promotion-headline-section” to be below the “testimonial-section”. Is this possible?

    I’ve been trying to change the code on the Child theme, but can’t seem to get it correct.

    Any help would be greatly appreciated.

Viewing 1 replies (of 1 total)
  • skandha


    @klmd: Hello there,
    Go to => Child Theme Folder => functions.php and add the following Code.

    function override_parent() {
    	remove_action( 'decree_before_content', 'decree_promo_head_display', 60 );
    	add_action( 'decree_before_content', 'decree_promo_head_display', 80 );
    add_action( 'template_redirect', 'override_parent' );

    Let me know if this works out!
    Kind Regards,

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.