- This topic has 11 replies, 2 voices, and was last updated 1 week ago by sujeet.
-
AuthorPosts
-
August 29, 2024 at 5:35 am #337108Anon UserParticipant
Hi
Please help.
I need to change how the header looks on a mobile phone.
https://www.asphaltgroup.co.za/
There are two logos in the header. One on each side of the title of the site in normal desktop view, but i need the logos to be next to each other above the title when being viewed from a mobile phone.
I also need the colors to change of the navigation menu when viewed from a mobile phone.
Please assist if possible.
Kind regards
August 29, 2024 at 6:06 am #337111sujeetKeymasterHello @anon-user,
I am unable to view your website. It’s showing The connection has timed out. Can you please check?
Kind Regards,
SujeetAugust 30, 2024 at 1:39 am #337119Anon UserParticipantApologies, our hosting provider went down yester day. It is back up today.
August 30, 2024 at 2:26 am #337120sujeetKeymasterHello @anon-user,
Yes the site is fine now. Please follow the instruction below:
– Kindly add the following css code to Dashboard -> Appearance -> Editor -> Styles -> Addtional Css.
Please check the screenshot below:
Css code:
@media (max-width: 781px) { .uagb-container-inner-blocks-wrap .wp-block-columns > .wp-block-column:nth-child(1), .uagb-container-inner-blocks-wrap .wp-block-columns>.wp-block-column:nth-child(3) { flex-basis: 25% !important; } .uagb-container-inner-blocks-wrap .wp-block-columns > .wp-block-column:nth-child(1) { order: 1; } .uagb-container-inner-blocks-wrap .wp-block-columns > .wp-block-column:nth-child(2) { order: 3; } .uagb-container-inner-blocks-wrap .wp-block-columns > .wp-block-column:nth-child(3) { order: 2; } } @media (max-width: 1199px) { .wp-block-navigation:not(.has-background) .wp-block-navigation__responsive-container.is-menu-open { background-color: var(--wp--preset--color--foreground) !important; } .wp-block-navigation__responsive-container-close { color: var(--wp--preset--color--secondary) !important; } }
Hope the code worked. Let me know please.
Kind Regards,
SujeetAugust 30, 2024 at 6:11 am #337130Anon UserParticipantGreat! It seem to work for android and mostly iphone.
I see there are some weird behavior on iphone for the rest of the site aswell. Is there a way to make it look on iphone as it does on android?
I have a feeling is the aspect ratio or resolution on iphone that is throwing it off.
August 30, 2024 at 7:34 am #337131sujeetKeymasterHello @anon-user,
That’s strange. We checked here and found everything is fine. Can you please share your screenshots of the iPhone? Thank you.
Kind Regards,
SujeetAugust 30, 2024 at 8:10 am #337132Anon UserParticipantPlease advise on how i can upload or paste a image?
I do not see the option on how i can send it to you.
August 30, 2024 at 8:29 am #337137sujeetKeymasterSeptember 4, 2024 at 4:42 am #337212Anon UserParticipantApologies for the delayed response.
Iphone View:
Andoid View:
September 4, 2024 at 5:17 am #337214sujeetKeymasterHello @anon-user,
The site is fine in both Android and iPhone as well as in Mac. We have checked here. Please check attached screenshots.
We suggest you to remove unnecessary padding and margin you have used for blocks and that is causing the issue in mobile.
Kind Regards,
SujeetSeptember 4, 2024 at 6:30 am #337215Anon UserParticipantYes thank you i think i fixed it myself.
September 4, 2024 at 6:45 am #337216sujeetKeymasterThat’s great @anon-user
-
AuthorPosts
- The topic ‘Changing header view in mobile mode’ is closed to new replies.