Hello,
I have an issue with a site I built with Enfold that looks cut off on an iPhone. I think it may be because I have added a custom widget to the header area with an image.
I also have the following custom CSS that may be causing the issue.
#header .widget {
left: 56%;
padding-top: 0;
position: absolute;
top: 0;
width: 90%;
transform: translate(-50%);
}
nav.main_menu {
bottom: -15px;
}
How do I get the correct look while still using the header image?
Below are links to screen shots of what I see.
http://www.southcitybail.com/temp/IMG1.PNG
http://www.southcitybail.com/temp/IMG2.PNG
Thank you for your help!
Hey Tony!
control it using this code in Quick CSS field:
@media only screen and (max-width: 767px) {
#header .widget {
left: 50%;
padding-top: 0;
position: relative;
top: 0;
width: 100%;
transform: translate(-50%);
margin: 20px 0;
}
}
and adjust as needed.
Cheers!
Andy
Thanks Andy,
I tried it but it didn’t have any effect … any other suggestions?
Hi Ismael,
That worked a little better as far as moving the image in but now the logo overlaps the widget. What I am trying to achieve is for the images to shrink relative to the screen size. Also, the slider images below the header do not resize for the screen size either. This is a responsive theme is it not?
Thank you for your help!
Hi!
I can’t see that the logo overlaps any widget. Can you use screenshot to show us what you mean? you can use imgur.com or dropbox.
You can control width of the slider with this code:
@media only screen and (max-width: 767px) {
div#layerslider_3 {
width: 660px !important;
}}
Best regards,
Andy