- This topic has 3 replies, 2 voices, and was last updated 16 hours, 25 minutes ago by .
Viewing 4 posts - 1 through 4 (of 4 total)
Viewing 4 posts - 1 through 4 (of 4 total)
- You must be logged in to reply to this topic.
Home › Forums › All Other Themes › Help with header css for mobile
I have a button on my header that works fine on desktop but has an overlap when on mobile. I’ve tried to update css on elementor but still not lowering. I added these below but will not lower even when i change margin-top px higher. I did a test and added a color border and it worked. How would i get it to lower or let me know if you need more information.
Thank you
@media (max-width: 768px) {
.buttonClass {
margin-top: 50px !important; /* Adjust as needed */
}
}
@media (max-width: 480px) {
.buttonClass {
margin-top: 100px !important; /* Adjust as needed */
}
}
Hi,
Kindly show us your website URL?
Regards,
Chris
thank you, mosquitoesgone.com the “become a franchise” button on the header is over lapping on mobile and tablet views. I tried to add css to get it lowered but when i even changed the px it never moves. I did try a differnet css that put a border around the button and it worked fine. I deleted that test. So i’m not sure why the other isn’t working. I also have the image on the front page that seems over lapping words. I haven’t adjusted that currently but if you can let me know the css for that I can go in and change that as well.
Thank you for your help
Hi,
Kindly go to Appearance >> Customize >> Basic >> Scroll down to find Custom CSS and paste there:
@media (max-width: 767px) {
.buttonClass {
margin-top: 10px !important;
display: table;
}
}
Regards,
Chris
The Horse Ranch WordPress Themes by SKT Themes are designed to highlight the beauty and professionalism of equestrian businesses. With stunning layouts for service descriptions, […]
Tarot WordPress Themes by SKT Themes offer visually stunning and intuitive designs tailored for spiritual services. With features like appointment booking systems, service sections, testimonial […]
Adventure Sports WordPress Themes by SKT Themes are designed to meet these needs with dynamic layouts, high-quality image galleries, and dedicated sections for services, tours, […]