January 11, 2019 at 2:36 pm #281241
I would like to ask for help with a CSS addition to keep the menu items fixed on the top of the site, in a functional way. The site is: http://wp.lancs.ac.uk/prospr/
I’ve tried with the code from this site, namely:
padding-top: 50px; /* adjust this to match the height of your header */
That almost worked. The problems were that:
(1) the header image was made ‘sticky’ too (covering up nearly the whole site),
(2) the menu was left transparent rather than opaque (thus the text in pages can be seen behind).
I would greatly appreciate any advice for these issues. Thanks a lot,
PabloJanuary 15, 2019 at 11:51 pm #281463
Hey, the code itself looks buggy.
Take out “position: fixed” to made header not sticky first of all.
One more simple advice from my side is that, change the menu location from header to secondary menu location like below to the header and above to the content, that will help you solve the issue I believe. You can check secondary menu location of this website (https://noxforpc.com/) just for an idea and please note that I haven’t made the menu sticky as I serve ads and that stick menu will cover the ads and that will create issues, So.
Thanks & Regards.
You must be logged in to reply to this topic.