Community Forums › Forums › Archived Forums › Design Tips and Tricks › Remove Title / Subscribe Area
- This topic has 19 replies, 8 voices, and was last updated 11 years, 4 months ago by jackirenee.
-
AuthorPosts
-
January 4, 2013 at 8:45 am #9475Manic Dreams NetworkMember
First time posting on the new forums...
I am using Minimum 2.0; I want to remove the header / title area, and I also want to remove the subscribe area.
What in my functions.php file do I need to insert?
January 4, 2013 at 9:19 am #9484buddy_boy8403ParticipantYou can do this with CSS by modifying the #page-title element on line 479 of your child theme's style.css file:
Change from this:
#page-title {
background-color: #F5F5F5;
border-bottom: 1px solid #E4E4E4;
border-top: 1px solid #E4E4E4;
clear: both;
margin: 0 auto;
overflow: hidden;
padding: 30px 0;
}To this
#page-title {
visibility: hidden;
}January 4, 2013 at 11:16 am #9511Manic Dreams NetworkMemberThanks buddy_boy.
How do I remove the subscribe function?
January 6, 2013 at 8:55 pm #10021Manic Dreams NetworkMemberbump
January 6, 2013 at 9:05 pm #10025SusanModeratorTo get rid of the subscribe button, remove this from the page-title.php:
<a class="page-title-button" href="#">' . __( 'Subscribe Now', 'minimum' ) . '</a>;
January 13, 2013 at 1:46 pm #11623RitaMemberSorry, I posted this onto an incorrect thread in the general discussion area. So, I'm pasting it here now.
Removing the above isn't really working for me. I opened the Page-title.php file and the code you indicated to remove is on every line. I removed each of them and the site loaded an error and won’t display.
January 13, 2013 at 2:16 pm #11628SusanModeratorThere was a syntax error in the code I posted in this thread (I had a ' at the beginning and end of the code above - I've removed it to correct the error). Did you copy the code from this thread or the other one?
Remove this wherever you don't want it
<a class="page-title-button" href="#">' . __( 'Subscribe Now', 'minimum' ) . '</a>
January 13, 2013 at 2:32 pm #11631RitaMemberI'm good. I found a third thread that stated the syntax error. I'm all set. Thanks Susan.
January 13, 2013 at 2:42 pm #11635SusanModeratorGreat!
January 13, 2013 at 6:53 pm #11706jjhamMemberBuddy Boy put offered this to hide the page title. It works, but it also leave a huge white gap I can't seem to close with css. Any ideas? Thanks.
#page-title {
visibility: hidden;
}January 14, 2013 at 9:46 pm #11995buddy_boy8403Participantjjham - what is your sites URL?
January 14, 2013 at 9:52 pm #11997jjhamMemberThis reply has been marked as private.January 14, 2013 at 10:07 pm #11998buddy_boy8403ParticipantOn line 675 of your child theme's style.css file, try changing it to this:
.full-width-content #content {
margin-top: -110px;
width: 100%;January 14, 2013 at 10:09 pm #11999buddy_boy8403ParticipantYou will probably also need to make the change in bold below on 515:
#inner {
clear: both;
margin: 0 auto;
overflow: visible;
padding: 10px 0;
}January 14, 2013 at 10:14 pm #12000buddy_boy8403ParticipantAnd once you make those changes, for the home page, try changing line 657 to:
#content-sidebar-wrap {
float: left;
margin-top: -110px;
width: 100%;
}Let me know when those 3 changes are made. Test the site over to make sure everything looks right on your pages/posts and report back.
January 25, 2013 at 2:00 pm #14719genevishgraphicsMemberHad the same issue - worked for me only I changed the neg margin to just 80. Problem is I have the gray area just on my home page covering up the header/logo. I have not made any other changes to the code other than this CSS - I did a compare of the functions file and the home.php files using TKDiff and there were no discrepancies - I disabled plugins too and no change. Thoughts? Suggestions greatly appreciated!
WebsiteJanuary 28, 2013 at 8:50 am #15553genevishgraphicsMemberIsnt it easier just to remove
/** Add the page title section */
add_action( 'genesis_after_header', 'minimum_page_title' );
function minimum_page_title() {
require_once( get_stylesheet_directory() . '/page-title.php' );
}From the functions.php file? I tired doing it via css as suggested and ended up with a giant mess. This worked a lot easier~
February 18, 2013 at 10:58 am #21023jgiMemberI'm not exactly sure why StudioPress or whoever is in charge of Minimum would ruin a good thing. After about 30 minutes trying to remove the default header image and Subscribe text, I decided to return to a previous version of Minimum. To add this new "feature" but not give us an easy toggle on/off, well, it's actually a bit rude. What if someone was happily using Minimum on a production site, decided to update, and were then greeted with this garish addition? I would expect it from open-source free themes, but not such a great product as StudioPress.
Beyond this issue, I still remain a very happy StudioPress developer.
June 6, 2013 at 12:48 pm #44391jackireneeMemberI've removed the code from the page-title.php but still have a big blue bar across the top of the page. How do I get rid of that?
http://www.beautyinstrengthfitness.com
Sorry wrong thread
June 6, 2013 at 12:50 pm #44393jackireneeMemberI've removed the code from the page-title.php but still have a big blue bar across the top of the page. How do I get rid of that?
-
AuthorPosts
- The forum ‘Design Tips and Tricks’ is closed to new topics and replies.