BuddyBoss Home – Web Support Forums Themes BuddyBoss theme How to remove Homepage title

Viewing 14 posts - 1 through 14 (of 14 total)
  • Question

    #45836

    Hi,

    This was discussed in 2012 but the solution there isn’t valid anymore, see https://www.buddyboss.com/support-forums/topic/how-to-remove-homepage-title/

    Any help for me?

    Best Regards,
    Thorsten

    Answers

    #45963

    Anonymous
    @

    Hi @thorsten,
    you will need to edit your content.php file and remove the h1 tag at line 43-45
    Copy content.php to child theme before edit, to preserve your edits.
    Regards
    Varun Dubey

    #45971

    Hi @vapvarun,

    thank you but doesn’t work. Copied to the child theme, edit the code (see attached screenshot) and transferred via ftp to my site.

    Any ideas?

    Regards,
    Thorsten

    #46343

    Hi @vapvarum,

    unfortunately didn’t get a useful response up to now. Found one more issue. The slider overlaps the menu, see screenshot attached. How to resolve this issue?

    Best Regards,
    Thorsten

    #46652

    Anonymous
    @

    Hi @thorsten
    please modify
    content-page.php
    with following code

    
    <?php
    /**
     * The template used for displaying page content in page.php
     *
     * @package WordPress
     * @subpackage BuddyBoss
     * @since BuddyBoss 3.0
     */
    ?>
    
    	<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
    		
    		<?php if(! is_front_page()):?>
      <header class="entry-header">
       <h1 class="entry-title"><?php the_title(); ?></h1>
      </header>
      <?php endif;?>
    
    		<div class="entry-content">
    			<?php the_content(); ?>
    			<?php wp_link_pages( array( 'before' => '<div class="page-links">' . __( 'Pages:', 'buddyboss' ), 'after' => '</div>' ) ); ?>
    		</div><!-- .entry-content -->
    
    		<footer class="entry-meta">
    			<?php edit_post_link( __( 'Edit', 'buddyboss' ), '<span class="edit-link">', '</span>' ); ?>
    		</footer><!-- .entry-meta -->
    
    	</article><!-- #post -->
    
    

    and please send your site url to check slider menu overlap issue, might be due to z-index
    need to inspect it before providing any codes
    Regards
    Varun Dubey

    #46674

    @vapvarun

    Hi,
    your code worked, thank you. Here is my url http://www.riocarioca.org.br/

    I use the premium plugin LayerSlider WP and changed the z-index from 10000 to -10000 and tried different values of 1, 10, 100, 1000 but the slider overlaps the menu.

    Best Regards,
    Thorsten

    #46967

    Anonymous
    @

    Hi @thorsten
    I have passed this issue to developers, please wait a little
    Thanks for your patience.
    Regards

    #47121
    @iambrett

    another way, and easier, is to use customizer -> custom css -> and enter

    .page-title, {
    display: none;
    }

    this removes all page titles, including home.

    #47134

    Anonymous
    @
    #47142

    @lambrett @vapvarun

    Thanks, but I just wanted to remove the title on the homepage because of the slider I use. All other titles are useful for me. But I will keep an eye on it.

    Thank you!

    #47259

    @vapvarun

    Found a solution for the slider overlaps the menu. Responsible for this is the wordpress.css file in folder buddyboss | css.

    Approximately on line 2052 section “11.2.4 – Header” the part:


    .site-header {
    background-color: #fff;
    padding: 0;
    position: relative;
    z-index: 2;

    I changed the z-index to 992 instead of 2. I copied the whole parte of section 11.2.4 to my custom.css of my child theme.

    Question: Is it necessary to copy the whole part or just the part I mentioned above?

    Best Regards,
    Thorsten

    #47293

    Anonymous
    @

    Hi @thorsten

    You will just need to add following inside the custom css of the child theme

    
    .site-header {
    z-index: 999 !important;
    }
    

    Regards
    Varun Dubey

    #47333

    @vapvarum

    Thank you! Works great!

    Best Regards,
    Thorsten

    #47343

    Anonymous
    @

    🙂 I will close the topic, please create new for any further queries.
    Regards
    Varun Dubey

Viewing 14 posts - 1 through 14 (of 14 total)
  • The question ‘How to remove Homepage title’ is closed to new replies.