Okay
  Public Ticket #1362478
Sticky Portfolio Header
Closed

Comments

  •  3
    tonypantello started the conversation

    I currently have the header non-sticky throughout my site via this css:

    header.main-header {
    position: absolute !important;
    padding-top: 30px !important;
    }

    However, I'm trying just to target my single portfolio pages and make them sticky by default. The below is not working but I'm thinking it should. Anything wrong with this?

    .single-portfolio-holder header.main-header {
    position: fixed !important;
    }

    Thanks.

  • [deleted] replied

    Hi Tony,

    This is a customization question and support doesn't offer customization services as we wrote on our support homepage. I will try to help you this time though

    Can you please add the code below to your Custom CSS area:

    body.single-portfolio .main-header.sticky-fixed {
        position: fixed !important;
        top: auto !important;
    }

    If you're looking for professional help in this matter, there's always someone available for such tasks on the WP Kraken or Envato Studio. Pricing and timeline are always straightforward there and that's the main reason for recommending those services.

    Thanks for your understanding. 

  •  3
    tonypantello replied

    Thank you I appreciate the help and will use the customization partner next time I need something custom.

  • [deleted] replied

    Hi Tony,

    Don't worry you are welcome for any simple customization that doesn't take us much time

    P.S: If you like our theme, it would help us a lot if you could give us a five-star rating on Themeforest from your Downloads tab.

    A huge thank you from Laborator in advance and have a great weekend!