- This topic has 7 replies, 3 voices, and was last updated 8 years, 7 months ago by Mahesh.
-
AuthorPosts
-
January 29, 2016 at 9:54 pm #84083DidierMember
Hi, what css rule do I need to manipulate in order to have the menu centred on the page?
January 30, 2016 at 8:42 am #84131PratikParticipantHI @Didier,
Can you be a bit more specific and explain it with your site url? There is a “Secondary Menu” that is centered by default, so you can use that and remove the primary menu.
Regards,
PratikFebruary 3, 2016 at 7:00 pm #84552DidierMemberHi Pratik,
can you have a look at this from an iphone 5. You will notice that in portrait mode the tiny nav is white text on brown bg, however when rotated to landscape the white color disappear from the nav!!!
Any idea how to fix this?
Thank you
http://dswebdev.co.uk/February 4, 2016 at 1:14 pm #84614MaheshParticipantHi @Didier,
I saw two menus displaying at some point. Go to “Dashboard=> Appearance=> Theme Options=> Custom CSS” box and add the following CSS.
@media screen and (min-width: 569px){ .sb-holder { display: none; } }
Let me know if this helps.
Regards,
MaheshFebruary 4, 2016 at 5:26 pm #84619DidierMemberHi Mahesh,
thank you but I doubt this answers my questions.
I have styled .sb-holder to look brown so why would I hide it? (display:none)The question is (still) why the text on the mobile nav shows in white in portrait and disappears when in landscape? It re-appears once tapped to expand…
February 5, 2016 at 9:27 am #84676MaheshParticipantHi Didier,
1. To make the menu text white, use this CSS.
#hgroup-wrap .sb-holder a {
color: #fff;
}2. In view with width 569px to 767px, there are two menu showing and this is not good. The following CSS will give hide one menu till 569px and the displays the mobile menu (.sb-holder) normally in the mobile view.
Let me know if this solved your issue.
Regards,
MaheshFebruary 5, 2016 at 3:29 pm #84705DidierMemberHi Mahesh,
1. that works now, thank you
2. what device is it you are looking at? is that iPhone 6+? I’ve looked at iphone 5 & 6, ipad mini & ipad and there is no double menu. Could you let me know…February 5, 2016 at 4:14 pm #84711MaheshParticipantHi @Didier,
I tried it on the firefox browser in desktop and resized the screen.
Regards,
Mahesh -
AuthorPosts
- The topic ‘Centre nav bar’ is closed to new replies.