Duplicated heading on archive pages

This topic contains 9 replies, has 3 voices, and was last updated by  Sophie Easton 1 week, 4 days ago.

  • Author
    Posts
  • #516279

    Sophie Easton
    Buyer
    Post count: 5

    Hello

    I’m having a problem with my archive page templates, as the heading for each one is appearing twice when I view the page (website is not yet published but I attach a screenshot of the ‘Venues’ archive page).

    I would like to remove the first smaller heading, but can’t seem to find a way of doing this.

    I’m using a Genesis theme (Market), so not sure if there is some sort of conflict there?

    Many thanks

    #516289

    Kor
    Moderator
    Post count: 14551

    Hi Sophie Easton,

    Thanks for your post. We can use custom CSS to remove it. Could you share the URL of the page here in question so that we could take a look at it?

    Thanks!

    #516290

    Alex Rollin
    Moderator
    Post count: 22516

    You should probably hide it with CSS until you can let us look at the settings. When the site is online, comment out the CSS and let us take a look at it to see if we can find a better way.

    When the site is online please share WP Admin credentials in a private reply so we can take a look.

    Thanks

    https://wpgeodirectory.com/docs/customizing-your-style/

    #516292

    Sophie Easton
    Buyer
    Post count: 5
    This reply has been marked as private.
    #516302

    Kor
    Moderator
    Post count: 14551

    Hi Sophie,

    Thanks for your reply. You can choose either one of the custom CSS code below to hide the titles. Paste it into WP > Appearance > Customize > Additional CSS

    /* Top title */
    .post-type-archive h1.archive-title {
        display:none;
    }
    
    /* Second title */
    .post-type-archive .entry-title, .page-title {
        display:none;
    }
    #516304

    Sophie Easton
    Buyer
    Post count: 5

    Thanks very much. That did work, although still leaves a big gap at the top of the page where the first heading used to be. Interestingly I have just added a second category (with the CPT plugin) and the heading in that one is fine.

    #516305

    Kor
    Moderator
    Post count: 14551

    Hi Sophie Easton,

    Thanks for your reply. Share a URL of the page that is created using the CPT plugin and I’ll compare the results or probably provide some more custom CSS code to fix it.

    #516307

    Sophie Easton
    Buyer
    Post count: 5
    This reply has been marked as private.
    #516443

    Kor
    Moderator
    Post count: 14551

    Hi Sophie,

    Thanks for your reply. Here you go.

    .archive-description.taxonomy-archive-description.taxonomy-description {
        display: none;
    }
    #516583

    Sophie Easton
    Buyer
    Post count: 5

    Thank you very much, that has worked a treat! Much appreciated.

Viewing 10 posts - 1 through 10 (of 10 total)

You must be logged in to reply to this topic.