Questions about the category page

Hello,
The category page, where you see all the posts, has a title, but i want to lower the title as on the other pages en posts.
So how can i add more space between the category title and the navigation?

When showing the posts, i don’t see a title of the individual post. Is there a way to show the title of the post under the featured picture?

thanks for yr help!

Hi @marcdb,

Thank you for writing in, please provide us the direct link to the category page so we can take a closer look.

Cheers!

Sure

www.dermulshowrooms.be

login

See “realisierungen-cat”, we want it to look like “realiserungen”.

thanks for watching!

Hi There @marcdb

For the category title spacing, could you please try adding the following CSS rule into your X -> Theme Options -> CSS area.

.category .x-header-landmark {
    margin-top: 25px;
}

With regard to the second question, your featured image is already showing on top of your post titles of individual posts. However, you have the following custom CSS rule which hides your featured images.

.single-post .entry-featured {
    display: none;
}

You just need to remove that CSS rule and it should function again properly.

Thanks!

Hello,

Ok for the margin, is there a way to narrow the page a bit so ik looks like Prasentationsmobel?

Deleting the css .single post does not work
I don’t see the title showing up
What can i do further?

Hi @marcdb,

Did you edit the template of posts?

The post title locates under this file: _content-post-header.php

Please compare and correct it:

<?php

// =============================================================================
// VIEWS/RENEW/_CONTENT-POST-HEADER.PHP
// -----------------------------------------------------------------------------
// Standard <header> output for various posts.
// =============================================================================

?>

<header class="entry-header">
  <?php if ( is_single() ) : ?>
  <h1 class="entry-title"><?php the_title(); ?></h1>
  <?php else : ?>
  <h2 class="entry-title">
    <a href="<?php the_permalink(); ?>" title="<?php echo esc_attr( sprintf( __( 'Permalink to: "%s"', '__x__' ), the_title_attribute( 'echo=0' ) ) ); ?>"><?php the_title(); ?></a>
  </h2>
  <?php endif; ?>
  <?php x_renew_entry_meta(); ?>
</header>

If you can’t do that, please change the support account to administrator so we can take a closer look.

Hope it helps :slight_smile:

Thanks,

Now I see the title in realisierungen-cat, but i want it under the picture, in orange, without the icon before it
can you do that ?

There is also a new problem : on the post page https://dermulshowrooms.be/toptegel-zonnebeke/
I don’t want to see the title - how can i fix that?

You’re admin now :wink:

Solved the second problem
only the first one, moving the title

Hello @marcdb,

To move your category title, please make use of this code:

.archive .x-header-landmark .x-container.max.width,
.archive .x-container.max.width.offset {
    max-width: 1056px;
    margin-left: auto;
    margin-right: auto;
}


Please note that custom coding is outside the scope of our support. Issues that might arise from the use of custom code and further enhancements should be directed to a third party developer.

We would love to know if this has worked for you. Thank you.

No, that doesn’t do it.
Any other suggestions?

Where can i find the php code, can i move it there?

Hello @marcdb,

The given CSS code will only align the category title to the post items below. You may not be able to move the category titles like what you have in “Realisierungen” page. Please understand that “Realisierungen” is a page. The page title was created inside the Cornerstone content. In category pages, the category titles were part of the landmark header which is located in another container way above the main content element. And because of that, moving the category titles might not be a good idea. Please also take into account that the category page is using the same template which is the index.php file.

Anyways, if you want to find the landmark header file, you can find it in wp-content/themes/x/framework/legacy/cranium/headers/views/{your-stack}/_landmark-header.php file.

Hope this helps.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.