• SP4C3M0NK3Y

    (@spac3monk3y)


    For my homepage I got an image but got layers on top of it so text can be read.

    Now on the search results page I see the general background image but as it’s without a layer no matter which font color I choose they are all unreadable.

    So I would rather have a white background for that page or a semi transparent layer.

    I checked the template but all I see is hooks so got no idea on how to change that template.

    <?php
    /**
     * Search Template
     *
     * @package Page Builder Framework
     */
     
    // exit if accessed directly
    if ( ! defined( 'ABSPATH' ) ) exit;
    
    $grid_gap = get_theme_mod( 'sidebar_gap', 'medium' );
    
    get_header(); ?>
    
    		<div id="content">
    
    			<?php do_action( 'wpbf_content_open' ); ?>
    
    			<div id="inner-content" class="wpbf-container wpbf-container-center wpbf-padding-medium">
    
    				<?php do_action( 'wpbf_inner_content_open' ); ?>
    
    				<div class="wpbf-grid wpbf-main-grid wpbf-grid-<?php echo esc_attr( $grid_gap ); ?>">
    
    					<?php do_action( 'wpbf_sidebar_left' ); ?>
    
    					<main id="main" class="wpbf-main wpbf-medium-2-3<?php echo wpbf_archive_class(); ?>">
    
    						<?php if( have_posts() ) : ?>
    
    						<h1 class="page-title">
    							<?php
    							printf( // WPCS: XSS ok.
    								/* translators: 1: Search query name */
    								__( 'Search Results for: %s', 'page-builder-framework' ),
    								'<span>' . get_search_query() . '</span>'
    							);
    							?>
    						</h1>
    
    						<?php while ( have_posts() ) : the_post(); ?>
    
    						<?php get_template_part( 'inc/template-parts/article' ); ?>
    
    						<?php endwhile; else : ?>
    
    						<?php get_template_part( 'inc/template-parts/article-none' ); ?>
    
    						<?php endif; ?>
    
    						<?php the_posts_pagination( array(
    							'mid_size'  => 2,
    							'prev_text' => __( '&larr; Previous', 'page-builder-framework' ),
    							'next_text' => __( 'Next &rarr;', 'page-builder-framework' ),
    						) ); ?>
    
    					</main>
    
    					<?php do_action( 'wpbf_sidebar_right' ); ?>
    
    				</div>
    
    				<?php do_action( 'wpbf_inner_content_close' ); ?>
    
    			</div>
    
    			<?php do_action( 'wpbf_content_close' ); ?>
    
    		</div>
    
    <?php get_footer(); ?>
    
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘How can I change the background of just the search results page?’ is closed to new replies.