Edit header size and image size in search results page

How do I edit the design and header size in the search results page
Header size is way too big and outside the containers.

https://www.physica.com.au/?s=knee

Any help is appreciated?

Hi @physicaspinal ,

Thanks for writing to us.

I checked your site and I found that you are using an older version 2.5.5 of Pro. Kindly update the Pro to the latest version 3.2.3. Here is our documentation for update theme.

I would suggest you take the full backup of your site before updating the theme. I would also suggest you check our Version Compatibility page for the supported versions of WordPress, theme, and plugins.

Thanks

thanks I will do this- will this solve the design output on the results page or do I still then need to make CSS edits?

I have done the update but the search function seems to not be working now- https://www.physica.com.au/?s=knee

any advice welcome

Hey @physicaspinal,

Sorry for the confusion here. The theme version should never change the look of your website. It’s still best that you are updated though.

There is no option to change text sizes for the search results page only. The Heading size in our theme is fixed and global.

That said, you’d need to write your own CSS. Regretfully, that’s part of theme customization and we do not provide that as part of theme support. I’ll provide a sample code but if you need code fixes and enhancements after this, you’d need to consult with a developer. Or, you can watch out for the coming Layout Builder feature if it will allow users to create a custom search page.

Below is the code to change the heading sizes in the search results page. It should be added in Theme Options > CSS.

.search h1 {
    font-size: 150;
}
.search h2 {
    font-size: 140;
}
.search h3 {
    font-size: 130;
}
.search h4 {
    font-size: 120;
}
.search h5 {
    font-size: 110;
}
.search h6 {
    font-size: 100;
}

Hope that helps and thank you for understanding.

Thank you very much- I appreciate the help. I understand regarding custom code.
I will try the custom heading suggestions- thank you.

Sorry what I did not explain in my last post was that the search results dissapeared after doing the update- any suggestions on what i may have done wrong?

could it be something in my _index .PHP

Blockquote

<?php

// =============================================================================
// VIEWS/GLOBAL/_INDEX.PHP
// -----------------------------------------------------------------------------
// Includes the index output.
// =============================================================================

$stack = x_get_stack();

if ( is_home() ) :
  $style     = x_get_option( 'x_blog_style' );
  $cols      = x_get_option( 'x_blog_masonry_columns' );
  $condition = is_home() && $style == 'masonry';
elseif ( is_archive() ) :
  $style     = x_get_option( 'x_archive_style' );
  $cols      = x_get_option( 'x_archive_masonry_columns' );
  $condition = is_archive() && $style == 'masonry';
elseif ( is_search() ) :
  $condition = false;
endif;

?>

<?php if ( $condition ) : ?>

  <?php x_get_view( 'global', '_script', 'isotope-index' ); ?>

  <div id="x-iso-container" class="x-iso-container x-iso-container-posts cols-<?php echo $cols; ?>">

    <?php if ( have_posts() ) : ?>
      <?php while ( have_posts() ) : the_post(); ?>
        <?php if ( $stack != 'ethos' ) : ?>
          <?php x_get_view( $stack, 'content', get_post_format() ); ?>
        <?php else : ?>
          <?php x_ethos_entry_cover( 'main-content' ); ?>
        <?php endif; ?>
      <?php endwhile; ?>
    <?php else : ?>
      <?php x_get_view( 'global', '_content-none' ); ?>
    <?php endif; ?>

  </div>

<?php else : ?>

  <?php if ( have_posts() ) : ?>
    <?php while ( have_posts() ) : the_post(); ?>
      <?php x_get_view( $stack, 'content', get_post_format() ); ?>
    <?php endwhile; ?>
  <?php else : ?>
    <?php x_get_view( 'global', '_content-none' ); ?>
  <?php endif; ?>

<?php endif; ?>

<?php pagenavi(); ?>

indent preformatted text by 4 spaces

Hello @physicaspinal,

The original contents of the _index.php is this:

<?php

// =============================================================================
// VIEWS/GLOBAL/_INDEX.PHP
// -----------------------------------------------------------------------------
// Includes the index output.
// =============================================================================

$stack = x_get_stack();

if ( is_home() ) :
  $style     = x_get_option( 'x_blog_style' );
  $cols      = x_get_option( 'x_blog_masonry_columns' );
  $condition = is_home() && $style == 'masonry';
elseif ( is_archive() ) :
  $style     = x_get_option( 'x_archive_style' );
  $cols      = x_get_option( 'x_archive_masonry_columns' );
  $condition = is_archive() && $style == 'masonry';
elseif ( is_search() ) :
  $condition = false;
endif;

?>

<?php if ( $condition ) : ?>

  <?php x_get_view( 'global', '_script', 'isotope-index' ); ?>

  <div id="x-iso-container" class="x-iso-container x-iso-container-posts cols-<?php echo $cols; ?>">

    <?php if ( have_posts() ) : ?>
      <?php while ( have_posts() ) : the_post(); ?>
        <?php if ( $stack != 'ethos' ) : ?>
          <?php x_get_view( $stack, 'content', get_post_format() ); ?>
        <?php else : ?>
          <?php x_ethos_entry_cover( 'main-content' ); ?>
        <?php endif; ?>
      <?php endwhile; ?>
    <?php else : ?>
      <?php x_get_view( 'global', '_content-none' ); ?>
    <?php endif; ?>

  </div>

<?php else : ?>

  <?php if ( have_posts() ) : ?>
    <?php while ( have_posts() ) : the_post(); ?>
      <?php x_get_view( $stack, 'content', get_post_format() ); ?>
    <?php endwhile; ?>
  <?php else : ?>
    <?php x_get_view( 'global', '_content-none' ); ?>
  <?php endif; ?>

<?php endif; ?>

<?php pagenavi(); ?>

To better assist you with your issue, kindly provide us access to your site so that we can check your settings. Please create a secure note with the following info:
– Link to your site
– WP login URL
– WP username
– WP password
– WP Administrator Role

To know how to create a secure note, please check this out: How The Forum Works

Best Regards.

1 Like

thank you - i have put the ftp up in message above. any help is welcome

Hi @@physicaspinal,

It seems the issue may be due to the improper migration of the data and updated theme files. I would like to request you to delete and reinstall the updated version of the Pro and let us know if that works.
I would also request you to check the posts, pages and other data is correctly available at your site.

If that does not works, please copy your site to the staging server so we could troubleshoot freely without breaking your live site.
And give us access in the secure note including:

– WordPress Site URL & Admin URL
– WordPress Admin username / password

To create a secure note, click the key icon underneath any of your posts.

Thanks

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