About Sridhar Katakam
I am an independent WordPress web consultant with 10 years of experience in WordPress theme installation, customization, administration, maintenance, support, documentation, troubleshooting and PSD/design to WP.
Genesis and WordPress Tutorials
Session expired
Please log in again. The login page will open in a new tab. After logging in you can close it and return to this page.
Hi Sridhar,
Thanks for posting this. What about also removing the tagline from posts too?
Thanks
Just change the conditional
if ( !is_page() )
to
if ( !is_singular() )
And the CSS:
.single .site-inner,
.page .site-inner {
margin-top: 60px;
margin-top: 6rem;
padding: 40px 0;
padding: 4rem 0;
}
This didn’t work for me and crashed my site. I noticed you included ! in front of the page.
Also, do these snippets replace what Srid did, or do you add another line of code in the function and stylesheet?
Great snippet, Sridhar!
However, if you remove the site tagline, the margins on small screens are removed to. Where should we add the left and right margins again?
Correct me if I’m wrong, but I think the most correct approach is:
.page .site-inner {
margin-right: 20px;
margin-left: 20px;
}
I added a small block of additional CSS in my blog post to take care of this.
Great! Thanks Sridhar!
I obviously did something wrong. Added the code for functions.php and got a fatal error.
Fatal error: Cannot redeclare minimum_site_tagline() (previously declared in /home1/ etc
Was there another step I should have taken? Deleted something first?
Paste the code present in the child theme’s functions.php at http://www.pastebin.com and give us a link.
I had deleted that file, Sridhar. Next time I will remember to save it!
Hi Sridhar. Thanks so much for all of your posts. They’re really helping me out with customizing my site. Question: I’ve removed the tagline section from posts and pages. But how do I remove it from the homepage (without removing the background header image)? Thanks!
Do you want to remove the tagline from only homepage, Posts and Pages or site-wide?
Hi Sridhar,
Thanks for the code, works great. The only problem I am running into is the home page. If my site is set in reading for blog posts, the homepage doesn’t show the primary sidebar (separate issue I think) and if I set another page as “home” with a blog template and use a static frontpage in the reading settings, the padding in the CSS after removing the site tagline has the content area up under the header. I’ve adjusted the padding for pages and posts via your CSS, but the homepage seems to be funky. Do I need to change the home.php to home-old.php to eliminate this, or is there more code that could get this straightened out?
I really appreciate your tutorials and sharing these wisdoms, helps a ton!
Cheers,
Mark
I get an immediate WSOD (white screen of death) as soon as I refresh the screen after installing this code. Its a new installation and have tested by deactivated all plugins but still no luck.
Any ideas what might be causing it?
Support Type: Bug Report
PHP Version: 5.3.27
WordPress Version: 3.7.1
If you would like me to take a look inside and attempt to fix, send me your WP login and FTP access info privately via the contact form, http://www.sridharkatakam.com/contact/
I’ve just noticed there’s an error in your CSS. As written it also affects the padding in content pages so that, for example, on the landing page, the content has no margins at all and is pushed to the top and the edge of the page.
I’ve updated the style.css changes in my post to take care of this. Can you give that a try?
Hi! I added this to my site and it works great, the only problem is that it also removes the site tagline on my homepage.. which I have used a page for and just set that to be the homepage. Is there another way to make the front page?
Updated the code in my post above to take care of this.
i must have done something wrong. i made all the changes above and im still seeing the huge where the widget is at http://www.guz843.com
This article is about removing the tagline from static Pages like http://guz843.com/full-width/ where it seems to be working (i.e., I don’t see it) and not on the homepage.
Anyway, add this at the end of your style.css: http://pastebin.com/raw.php?i=qSVtCTNi
Thanks, this works fine!
What is the best code for removing the Minimum Pro tagline section site-wide?
Bump – same question. I’m trying to remove the tagline site wide. I just want the top level header.
Tomas and Kevin: http://www.sridharkatakam.com/remove-site-tagline-section-minimum-pro/
[…] a previous article Removing site tagline section from Pages in Minimum Pro, a few readers asked how the tagline can be removed throughout the […]
This works well for me, but I still see the site tagline on the portfolio page itself. How can we remove that?
I have followed these instructions exactly (twice now) and am not seeing the gray tagline area disappear. Thoughts?
Can you please provide the php code to remove the tagline from the home page only? Thank you
Follow https://sridharkatakam.com/how-to-remove-site-tagline-section-from-front-page-in-minimum-pro/.
[…] the comments section of Removing site tagline section from Pages in Minimum Pro tutorial, a user […]