Support » Theme: Unit » Remove Archive Category Header

  • Resolved marcellsa

    (@marcellsa)


    Hi

    I have searched for an answer to this however I can’t find a solution.

    I am trying to remove the header and folder icon for a category page. Not just the word “category” but the entire thing. The box and the spacing.

    I have tried editing the functions.php and broken my blog twice.

    Custom CSS Doesn’t work.

    I know I need to edit the functions file but I don’t know the code.

    Please see the link below as to what I am trying to achieve.

    https://postimg.org/image/4g9b57nzb/

    • This topic was modified 2 years, 8 months ago by marcellsa.
Viewing 8 replies - 1 through 8 (of 8 total)
  • Theme Author Ben Sibley

    (@bensibley)

    Thanks for choosing Unit!

    This CSS should hide that whole box on the category pages:

    .archive-header {
      display: none;
    }

    You can copy and paste it into the Additional CSS section found in the Customizer (Appearance > Customize).

    Hi Ben

    Thank you for replying so quickly!

    This worked like an absolute charm!

    Would it be possible to display the Category Description only?

    Thank you so much for your help! Absolute Life Saver!

    All the best

    Theme Author Ben Sibley

    (@bensibley)

    You’re welcome 🙂

    This CSS should do the trick:

    .archive-header {
      background: none;
      border: none;
      padding: 1px 0 0;
      margin: 0;
    }
    .archive-header i,
    .archive-header h1 {
      display: none;
    }

    That hides the other elements and removes the background and border so only the description remains.

    wonderful Ben!

    I can’t thank you enough

    A truly elegant theme and wonderful support

    All the bese

    Theme Author Ben Sibley

    (@bensibley)

    Happy to help! Thanks for the kind words.

    I used under Appearance >> Customize >>/. Addtional CSS; than added this code:

    .category .page-header { display: none; }

    Problem resolved

    • This reply was modified 2 years, 4 months ago by only1synergy.
    wol

    (@amlanjyoti)

    Sir but this doesn’t apply to all themes right?
    https://postimg.org/image/jrfa893dh/

    I am using genesis magazine pro theme and this it’s not working. any solution?

    Theme Author Ben Sibley

    (@bensibley)

    Yes, this solution is only for the Unit theme.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Remove Archive Category Header’ is closed to new replies.