BuddyBoss Home – Web › Support Forums › Themes › BuddyBoss theme › How to remove Homepage title
- This topic has 13 replies, 3 contibutors, and was last updated 9 years, 1 months ago by Anonymous.
Question
September 6, 2015 at 1:13 pm #45836@thorstenHi,
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,
ThorstenAnswers
September 8, 2015 at 1:07 pm #45963@
AnonymousHi @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 DubeySeptember 8, 2015 at 1:27 pm #45971@thorstenHi @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,
ThorstenSeptember 15, 2015 at 1:44 pm #46343@thorstenHi @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,
ThorstenSeptember 19, 2015 at 2:44 am #46652@
AnonymousHi @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 DubeySeptember 19, 2015 at 4:48 pm #46674@thorsten@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,
ThorstenSeptember 23, 2015 at 1:08 pm #46967@
AnonymousHi @thorsten
I have passed this issue to developers, please wait a little
Thanks for your patience.
RegardsSeptember 26, 2015 at 2:46 am #47121@iambrettanother way, and easier, is to use customizer -> custom css -> and enter
.page-title, {
display: none;
}this removes all page titles, including home.
September 26, 2015 at 5:18 am #47134@
Anonymousthanks @iambrett
September 26, 2015 at 6:28 am #47142@thorsten@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!
September 27, 2015 at 9:19 am #47259@thorsten@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,
ThorstenSeptember 27, 2015 at 11:33 pm #47293@
AnonymousHi @thorsten
You will just need to add following inside the custom css of the child theme
.site-header { z-index: 999 !important; }
Regards
Varun DubeySeptember 28, 2015 at 7:44 am #47333@thorsten@vapvarum
Thank you! Works great!
Best Regards,
ThorstenSeptember 28, 2015 at 10:19 am #47343@
Anonymous🙂 I will close the topic, please create new for any further queries.
Regards
Varun Dubey
- The question ‘How to remove Homepage title’ is closed to new replies.