Andrea_K Posted December 2, 2023 Posted December 2, 2023 Hello! I'm running into an issue where the header of my website seems like it has different padding than the rest of the site, but only when I view it on tablet (in my case iPad but I presume this would be the case on all tablets). The overall site style is a padding of vw 3, but the header looks like it has a lot more padding on tablet view. I've attached two photos below to show this. Any idea how to force the header to be in alignment with the rest of the site? Thanks! website: andreakloehn.com password: flute43
Solution Web_Solutions Posted December 2, 2023 Solution Posted December 2, 2023 3 hours ago, Andrea_K said: Hello! I'm running into an issue where the header of my website seems like it has different padding than the rest of the site, but only when I view it on tablet (in my case iPad but I presume this would be the case on all tablets). The overall site style is a padding of vw 3, but the header looks like it has a lot more padding on tablet view. I've attached two photos below to show this. Any idea how to force the header to be in alignment with the rest of the site? Thanks! website: andreakloehn.com password: flute43 Add these code on Custom CSS panel in Website > Utilities > Website Tools > Custom CSS. @media screen and (max-width: 768px) and (min-width: 500px) { .header .header-announcement-bar-wrapper { padding-top: 3vw !important; padding-bottom: 3vw !important; } } tuanphan and Kobir 2 If my comments are useful, please like and mark my solution as answer. It will encourage me. Thanks MD Rofik Website Designer and Digital Marketer ☕Am I helpful? Want to offer me a coffee? ✉ Send me a message if needed any help. I'll try to reply as soon as possible.
Andrea_K Posted December 2, 2023 Author Posted December 2, 2023 Thank you! My main issue was with the left/right margins so I used the code you provided with padding-left and padding-right instead of padding-top and padding-bottom. It worked great!
HeloiseStudioJone Posted April 6 Posted April 6 Hello there, I'm facing an issue with my header on tablet. The button on the right is cropped. I would need all navigation and buttons to be closer to the logo on tablet only. I have tried the code above with padding-left and padding-right but it didn't work. Any help would be great ! Thanks.
tuanphan Posted April 8 Posted April 8 On 4/6/2024 at 9:08 PM, HeloiseStudioJone said: Hello there, I'm facing an issue with my header on tablet. The button on the right is cropped. I would need all navigation and buttons to be closer to the logo on tablet only. I have tried the code above with padding-left and padding-right but it didn't work. Any help would be great ! Thanks. What is site url? Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)
HeloiseStudioJone Posted April 9 Posted April 9 On 4/8/2024 at 11:49 AM, tuanphan said: What is site url? www.cachettelessables.fr
tuanphan Posted April 13 Posted April 13 On 4/9/2024 at 7:35 PM, HeloiseStudioJone said: www.cachettelessables.fr I see you removed 1 button. Do you still need help? Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)
HeloiseStudioJone Posted April 15 Posted April 15 Hi @tuanphan The second button should appear on tablet on this format as well so I still have a padding issue !
tuanphan Posted April 18 Posted April 18 On 4/15/2024 at 9:05 PM, HeloiseStudioJone said: Hi @tuanphan The second button should appear on tablet on this format as well so I still have a padding issue ! You can use this code to Website > Website Tools > Custom CSS to fix problem div.header-actions-action--cta { overflow: visible !important; } Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment