- This topic has 5 replies, 2 voices, and was last updated 3 years, 11 months ago by
Ying.
-
AuthorPosts
-
June 17, 2022 at 3:30 am #2256162
David
Hi there,
I am trying to make hamburger menu and search icon more pronounced on newer mobiles and iPad Minis.
To this end I need some advice:
1. On newer mobiles, my search and menu icons look thin. I can adjust the font size in the type manager specifically for mobile, but how can I make these symbols bolder/fatter?2. How can I have the hamburger menu to the left of the site logo and the search icon to the right? (Currently both appear to the right of the site logo)
Thank you very much for taking the time.
June 17, 2022 at 10:01 am #2256553Ying
StaffCustomer SupportHi David,
1. You can target the svg, then try something like this:
stroke: black; stroke-width:20px;2. Can you link us to your site?
June 17, 2022 at 9:30 pm #2256868David
Hi Ying,
I have added site and login credentials in the private area.
Best regards.June 18, 2022 at 11:56 am #2257441Ying
StaffCustomer Support1.Try this CSS to bold the hamburger icon:
.gp-icon.icon-menu-bars svg { stroke: black; stroke-width: 50px; }2. Try this CSS for the layout:
@media (max-width: 768px) { .gp-icon.icon-menu-bars svg { stroke: black; stroke-width: 50px; } .inside-header { flex-wrap: nowrap; } .inside-header >*:not(.toggled):not(.has-active-search) { flex-basis: auto !important; } .site-logo { position: absolute; left: 50%; transform: translatex(-50%); top:30px; z-index: 999; } .inside-header.grid-container nav#mobile-menu-control-wrapper, .menu-bar-items { margin-left: 0; width: 100%; flex-wrap: nowrap; justify-content: space-between; } button.menu-toggle { order: -1; } .menu-bar-items { justify-content: flex-end; } }June 19, 2022 at 8:48 pm #2258416David
Hi Ying,
your css (icon and layout) works like a charm.
I went ahead and also added the following css to make the search lens a bit thicker.
.gp-icon.icon-search svg {
stroke: black;
stroke-width: 25px;
}Unlike the menu bars, which look great at stroke-width 50px, the lens can’t take quite as much thickness, but 25px is a good compromise.
Thank you very much for your help!
Have a great day.June 20, 2022 at 9:23 am #2259272Ying
StaffCustomer SupportYou are welcome 🙂
-
AuthorPosts
- You must be logged in to reply to this topic.