Removing portfolio headers

  • Posted in : Read WP
  • bluewhisky23
    Participant

    Hi,

    I was wondering if it is possible to remove the header from a portfolio page.

    Cheers

    ahmetsali
    Keymaster

    Hi, try this custom css code;

    .single-portfolio .site-header {
        display: none;
    }
    
    bluewhisky23
    Participant

    Does that work for a single portfolio page, or even when I am using departments?
    Cheers

    ahmetsali
    Keymaster

    this just works for portfolio single pages.

    bluewhisky23
    Participant

    Is there a way for multiple portfolio pages as well?

    ahmetsali
    Keymaster

    sure, update the code as;

    .single-portfolio .site-header, .page-template-page-portfolio-php .site-header {
        display: none;
    }
    
Viewing 6 posts - 1 through 6 (of 6 total)

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

License required for the following item
Login and Registration Log in · Register