- This topic has 15 replies, 3 voices, and was last updated 6 years, 3 months ago by
Tom.
-
AuthorPosts
-
September 4, 2017 at 5:22 pm #379174
Chad Biggs
I am using page header for my category pages and everything works good, but when I activate the same page header on my home page, my primary and secondary menus disappear. I am using sections on the home page (not sure if that makes a difference). I am going for the same layout on the home page as the category pages (specialty, water filtration, water softeners). The page header is currently off and the slider is in a section. Any suggestions?
-Chad
September 4, 2017 at 7:58 pm #379207Leo
StaffCustomer SupportHi there,
Can you link us to the page? Thanks!
September 6, 2017 at 3:21 am #380201Chad Biggs
September 6, 2017 at 9:16 am #380441Tom
Lead DeveloperLead DeveloperI’m seeing this CSS added to your child theme:
header#masthead.site-header { display: none; }
That will stop the header from appearing.
September 7, 2017 at 4:38 am #380898Chad Biggs
That rule affects all pages including the category pages and the page header still works on the category pages. So why not the home page?
September 7, 2017 at 8:46 am #381052Tom
Lead DeveloperLead DeveloperGood question, but the CSS itself should always remove the header. Perhaps there’s something overwriting it on other pages?
September 7, 2017 at 12:10 pm #381227Chad Biggs
I added this and it started working … <embarrassed>Sorry</embarrassed>
Thank you for your help.
-Chad
September 7, 2017 at 12:42 pm #381265Tom
Lead DeveloperLead DeveloperNo problem 🙂
September 7, 2017 at 4:37 pm #381366Chad Biggs
Really, I have no idea what the problem is. I decided to dissect the page, so I created a new home page and then created new sections one by one, all exactly the same. By the time the new page was built, the new page did not have the problem with the header or menus as the old page. The weird thing is, it’s doing the same thing on the wamp site as on the live site. I got it working, but I sure wish I knew what the problem was with the first home page.
-Chad
September 8, 2017 at 12:08 am #381476Tom
Lead DeveloperLead DeveloperDid you remove that CSS I pointed out?
September 8, 2017 at 3:52 am #381576Chad Biggs
No, I was using that rule to push the main menu up on the secondary menu. I didn’t change anything other than the page that everything was on and it started working like all the other pages. Here is the page that is messed up and here is the page that I rebuilt with all the same markup and settings.
I started another thread here, where I am having issues with the feature images and the page header on all of my post. Here
September 8, 2017 at 10:03 am #381824Tom
Lead DeveloperLead DeveloperAh, it’s not displaying because you have Featured Images/Page Headers disabled in the Disable Elements add-on. If you uncheck that option, it will show up.
September 8, 2017 at 1:39 pm #381946Chad Biggs
It is not ticked and the page header image is being displayed.
September 8, 2017 at 3:28 pm #381988Tom
Lead DeveloperLead DeveloperOn this page: http://kinetico.testbringer.com/home3/
The image you see is the first section, and the Page Header/Featured Image option is checked in the Disable Elements add-on (I can see the code being added in the source).
September 8, 2017 at 6:38 pm #382066Chad Biggs
You are correct on both counts. I built the page and then decided to use the page header, but wanted to make sure it worked good before I deleted the section with the slider. The Page Header/Featured Image option is checked in the Disable Elements and this is the reason it would not work. Thank you for answering.
I feel like I have been keeping you guys on overtime. Time to buy you guys more coffee.
-
AuthorPosts
- You must be logged in to reply to this topic.