- This topic has 13 replies, 2 voices, and was last updated 6 years, 5 months ago by Leo.
-
AuthorPosts
-
October 2, 2017 at 3:15 pm #396181Dustin
Hi, my header is gone on the home page which is what I want. Each page other than that has the header. How do I remove the header on the other pages?
October 2, 2017 at 3:15 pm #396182Dustinmembers.masterpassiveincome.com
October 2, 2017 at 5:05 pm #396207LeoStaffCustomer SupportHi there,
Not sure what you mean?
You have this CSS added:
.inside-header.grid-container.grid-parent { padding-top: 20px; padding-bottom: 20px; background-color: #efefef; }
October 2, 2017 at 5:24 pm #396208DustinThis and every other page has the gray bar header: http://members.masterpassiveincome.com/available-courses/
The home page does not.
How do I get rid of the header on ALL other pages.
October 2, 2017 at 5:24 pm #396209DustinI didn’t add the code myself. Should I find it and delete it?
October 2, 2017 at 7:18 pm #396239LeoStaffCustomer SupportLooks like it’s in the Additional CSS field: https://docs.generatepress.com/article/adding-css/#additional-css
October 2, 2017 at 7:39 pm #396243DustinHow do I remove that?
I even disabled all plug-ins to see if anything else was causing it. Still see the header.Please explain how to remove it. Not point me to what an Additional CSS field is. That is of no help to me.
October 2, 2017 at 8:14 pm #396261LeoStaffCustomer SupportIt looks like it’s added in the Additional CSS field which is why I pointed you there.
Did you check?
October 2, 2017 at 8:20 pm #396262DustinYes it was there. I deleted it and the header is still there. What next?
Here is the code:
/* You can add your own CSS here. Click the help icon above to learn more. */ /* Hide header on Home page */ .home .inside-header.grid-container.grid-parent { display: none; } /* line-up arrows in course nav widget */ .learndash_navigation_lesson_topics_list .list_arrow.collapse { background-position: 50%; } /* Add spacing below the Take this course button */ h4#learndash_course_content_title { margin-top: 20px; } /* Change color of Mark Complete button */ input#learndash_mark_complete_button { background-color: #00a2e8; }
October 2, 2017 at 8:21 pm #396264DustinThis is the original CSS
/* You can add your own CSS here. Click the help icon above to learn more. */ /* Hide header on Home page */ .home .inside-header.grid-container.grid-parent { display: none; } /* remove top and bottom padding from header and change background color*/ .inside-header.grid-container.grid-parent { padding-top: 20px; padding-bottom: 20px; background-color: #efefef; } /* line-up arrows in course nav widget */ .learndash_navigation_lesson_topics_list .list_arrow.collapse { background-position: 50%; } /* Add spacing below the Take this course button */ h4#learndash_course_content_title { margin-top: 20px; } /* Change color of Mark Complete button */ input#learndash_mark_complete_button { background-color: #00a2e8; }
October 2, 2017 at 8:24 pm #396266DustinI think I got it.
Found the hide home page header code.
Added “page” as another place to hide the header./* You can add your own CSS here. Click the help icon above to learn more. */ /* Hide header on Home page */ .home .inside-header.grid-container.grid-parent { display: none; } /* Hide header on Home page */ .page .inside-header.grid-container.grid-parent { display: none; } /* line-up arrows in course nav widget */ .learndash_navigation_lesson_topics_list .list_arrow.collapse { background-position: 50%; } /* Add spacing below the Take this course button */ h4#learndash_course_content_title { margin-top: 20px; } /* Change color of Mark Complete button */ input#learndash_mark_complete_button { background-color: #00a2e8; }
October 2, 2017 at 8:24 pm #396267LeoStaffCustomer SupportMake sure the values are all 0 here: https://docs.generatepress.com/article/header-padding/
October 4, 2017 at 6:48 pm #397636DustinPerfect. Thanks Leo!
October 5, 2017 at 2:05 pm #398134LeoStaffCustomer SupportNo problem!
-
AuthorPosts
- You must be logged in to reply to this topic.