-
AuthorPosts
-
May 29, 2022 at 3:45 am #1353311
On my site http://balrajt9.sg-host.com/ – I am using a header widget to display 2 links GET INVOLVED and CONTACT US on the top right.
On mobile, they do not show up. How can I keep these links in the header on mobile? (between the logo and burger menu)
May 29, 2022 at 6:46 pm #1353349Hey navindesigns,
Thank you for the link to your site, to put the two links between the logo and burger menu try this css:
@media screen and (max-width: 767px) { #top #header #header_main #text-3.widget { position: absolute; left: 80px; right: 0; top: -3px; } #top #header #header_main .homeHeaderContact { gap: 5px; } #top #header #header_main .headerMenu li:first-of-type { padding-right: 5px !important; } #top #text-3.widget ul.homeHeaderContact { width: 90%; float: right; margin: auto; } }
while this looks ok for larger mobile (425px) it’s not good for smaller mobiles like iPhones, but you have the empty blue area why not use it and allow your social icons to show:@media screen and (max-width: 767px) { #top #header #header_meta { background-color: transparent; } #top #header #header_main #text-3.widget { position: absolute; left: 0; right: 0; top: -44px; } #top #header #header_main .headerMenu li:first-of-type { padding-right: 8px !important; } #top #text-3.widget ul.homeHeaderContact { width: 100%; justify-content: center; } }
try each of these add see which you like best, after applying the css, please clear your browser cache.Best regards,
MikeMay 29, 2022 at 7:42 pm #1353356thanks! i added the first css
few things on mobile only
1 – how do i make the font size 12px on mobile for GET INVOLVED and CONTACT US
2 – I would rather add the social icons in the blue are ( it is actually there but it is not showing up for some reason)
3 – I am now unable to open the burger menu on mobilethanks
- This reply was modified 2 years, 6 months ago by navindesigns.
May 29, 2022 at 8:38 pm #1353358Hi,
Thanks for the feedback, try adding this css:@media only screen and (max-width: 767px) { .responsive #top #wrap_all .main_menu { z-index: 1010; } .headerMenuItem a { font-size: 12px; } .responsive #top #wrap_all #header_meta .social_bookmarks li a { color: #fff; } }
After applying the css, please clear your browser cache and check.
Best regards,
Mike -
AuthorPosts
- You must be logged in to reply to this topic.