Tagged: x
-
AuthorPosts
-
October 10, 2016 at 12:24 pm #1210197
jonelsworthParticipantHi,
On mobile devices the header image appears very small and the mobile menu doesn’t work for my domain http://thepolicememorialsite.org – please can you tell me how I can address these issues?
WP version 4.6.1
X version 4.4.1Many thanks in advance.
October 10, 2016 at 12:37 pm #1210223
JoaoModeratorHi There,
I am getting this message when trying to acess your website:
This site can’t be reached thepolicememorialsite.org’s server DNS address could not be found.Can you confirm it is correct?
Thanks
Joao
October 11, 2016 at 10:51 am #1211629
jonelsworthParticipantOctober 11, 2016 at 12:50 pm #1211817
RupokMemberHi there,
Thanks for writing back. Your image is only 200px in height but 1200px in width. So it looks small in smaller screen which is pretty expected.
And also you don’t have any menu item in primary menu and made it hidden with CSS. Let’s add this as well to hide the mobile menu button as it has no use now :
.x-btn-navbar { display: none !important; }Hope this makes sense.
October 12, 2016 at 2:51 am #1212602
jonelsworthParticipantThanks Rupok – so if I add items to the primary menu then it will work on mobile devices?
Also, what size do you recommmend the image should be?
Kind regards.
October 12, 2016 at 9:17 am #1212964
JoaoModeratorHi There,
I believe that in order that your website works better on mobile you should add links on Appereance > Menu to your website, so the links on your mobile navigation button will work, right now they are at the bottom what is not very user friendly.
If you need help after you add them we can help you to hide the links on desktop.
Regarding your logo image, since a desktop view has pretty much an opposite proportion of a mobile phone I recommend you switching logo when in mobile view to a different size, something like 480 x 200 or whatever you like better. Once you have uploadded this image to your WordPress Media Gallery.
Add the following code to Appereance > Customizer > Custom > CSS
Adjust the parameters according to your needs and also add the correct image path URL
@media (max-width:979px){ .x-brand img { display: none; } a.x-brand.img { background: url("www.police.com/images/yournewlogo.png") no-repeat 0 0; width: 100%; height: 200px; display: block; } }Hope it helps.
Joao
October 13, 2016 at 3:28 am #1214304
jonelsworthParticipantThat’s fantastic Joao – many thanks for your excellent support.
I will give this a try.October 13, 2016 at 4:14 am #1214355
jonelsworthParticipantThat worked – again many thanks.
I just have 2 small issues now – on mobile devices the mobile menu icon slightly overlaps from the blue onto the white background below. Also, the Header text (eg. Homepage) is being overlapped by the Search bar is there a way to reduce the size of the heading text on mobiles, or reduce the size of the search bar perhaps (or even turn it off on mobile devices)?
Kind regards.
October 13, 2016 at 5:56 am #1214450
RadModeratorHi there,
What mobile size you’re testing it on? I checked it on 375px device and there is no overlapping.
As for the mobile menu, please add this CSS as well,
.x-btn-navbar.collapsed { margin-bottom: 10px; }Hope this helps.
October 14, 2016 at 3:55 am #1215908
jonelsworthParticipantHi,
Thanks yes the mobile menu looks fine now.
The only issue is the Search bar overlaps the text on mobile devices.See this page for instance:
http://thepolicememorialtrust.org/the-memorialThe Header text is partially covered by the Search bar.
Kind regards.
October 14, 2016 at 4:59 am #1215957
Paul RModeratorHi,
To fix it, you can add this under Custom > CSS in the Customizer.
@media (max-width: 480px) { .mysearch.right { position: static; width: 100%; margin-top: 10px; float: none; display: block; } }Hope that helps
October 14, 2016 at 5:56 am #1216001
jonelsworthParticipantThat’s great – and it worked! (although just needed to change float: none to float: center)
Many thanks
October 14, 2016 at 8:48 am #1216136
JoaoModeratorGlad to hear it,
Joao
October 14, 2016 at 10:02 am #1216234
jonelsworthParticipantCan I ask one more question?
How do I remove the side menu from mobile devices?
If currently appears at the bottom of the page above the footer.Many thanks.
October 14, 2016 at 12:51 pm #1216412
JoaoModeratorHi There,
You always can ask as many questions as you want 🙂
Please add the following code to Appereance > customizer > Custom > CSS
@media(max-width: 769px) { div#nav_menu-3 { display: none; } }Hope that helps
Joao
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1210197 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
