• Resolved Rena

    (@peacearena)


    If using a static front page, it seems like the blog post page should have the shorter custom header and not the large slider. I know how to remove display of the slider with custom CSS, but then there’s no header at all. Is there another solution?

    Thanks, really beautiful theme.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Which theme please?

    Theme Author Level9themes

    (@level9themes)

    The short header is specially designed for singular pages. You can use is_home() conditional tag to check if the current page being displayed is the posts index page, then remove the action that hooks the slider to mk_page_wrapper_before() and hook your custom header. Alternatively, you can achieve what you want in your child theme like this.

    function childtheme_override_mk_slider_template(){
    
     if(is_home()):
    
     // paste your custom header content here
    
         else:
    
       // paste the content of 'mk_ slider_ template' function here 
    
     endif:
     }
    Theme Author Level9themes

    (@level9themes)

    Best regards

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘With Static Front Page, Blog Posts issue’ is closed to new replies.