- This topic has 28 replies, 3 voices, and was last updated 3 years, 2 months ago by
David.
-
AuthorPosts
-
February 21, 2023 at 10:44 am #2541569
Charles
Sure, it’s https://www.greenfrogmovers.com/
Charles
February 21, 2023 at 10:52 am #2541580Ying
StaffCustomer SupportDo you mean this gap?
https://www.screencast.com/t/pnorC6ktrIf so, it’s the margin-top of the first container, try to remove or reduce the value.
And looking at your layout, you do NOT need to use a header element to merge the header with content.
February 21, 2023 at 11:06 am #2541598Charles
Yeah, that’s the gap on mobile devices.
I’ve removed the margin at the top of that page.
Could you explain a little more what you mean regarding the header element?
Thank you
CharlesFebruary 21, 2023 at 12:42 pm #2541692Ying
StaffCustomer SupportThis video shows how to merge header with the content, this is what your site is having right now:
https://youtube.com/watch?v=TP8mgBQTgGg&si=EnSIkaIECMiOmarEBut according to your site layout, I don’t think you need this setting. If you disable the merge, the container does not need any top margin at all.
February 21, 2023 at 12:46 pm #2541698Charles
Hi Ying,
Ahh, that’s great. Thanks for pointing that out.
On another point I’ve used this CSS to change the background colour of a link in the primary nav. But I can’t seem to get it to work on desktop.
.main-navigation .main-nav ul li.contact-us-nav a {
background-color: #d45639; color: #ffffff;
}What do I need to change?
February 21, 2023 at 12:48 pm #2541701Ying
StaffCustomer SupportI’m not seeing a menu item has the
contact-us-navclass, how did you add the class?February 21, 2023 at 12:55 pm #2541709Charles
I added it with the css class option in the menu settings.
February 21, 2023 at 3:17 pm #2541827Ying
StaffCustomer SupportIt’s the menu item in the slide-out navigation?
If so, it’s working:
https://www.screencast.com/t/alda5j8s1yFebruary 22, 2023 at 1:28 am #2542235Charles
I’d like to change it in the menu on desktop as well.
Charles
February 22, 2023 at 3:47 pm #2543319Ying
StaffCustomer SupportDo you mean this one?
https://docs.generatepress.com/article/block-element-site-header/If so, the class is not added.
February 22, 2023 at 11:43 pm #2543553Charles
Hi Ying,
I removed the site header from elements.
I’ve added the class to the primary menu now as well. But it doesn’t seem to have changed.
Charles
February 23, 2023 at 9:27 am #2544313David
StaffCustomer SupportThe CSS you added for that menu item is inside an @media query of 1024px. Move the CSS outside of that.
February 23, 2023 at 11:10 am #2544439Charles
That’s sorted it, thanks David.
Charles
February 24, 2023 at 1:59 am #2545106David
StaffCustomer SupportGlad we could be of help
-
AuthorPosts
- You must be logged in to reply to this topic.