Hi
I have about 15 clients using the Enfold theme and they are all very happy – apart from one. This client would like to align the telephone number with the vertical center of the logo – See link. I’ve tried using a lot of custom css that addresses this problem, but generally it breaks down on mobiles and tablets. Is there a non-css solution?
Hey Raphep,
I’ve requested access to view the file you linked to.
Best regards,
Jordan Shannon
Hi,
I believe css would work but you need media queries to address the different screen sizes.
Best regards,
Jordan Shannon
Hi Jordan.
Thanks for your speedy response. I have shared the image with you now. The current solution is actually fine, using the technique you suggest. However when I try to move the telephone number down to align with the logo, it generally pushes the logo down into the blue background on mobile. I can’t seem to resolve this. I have given you the site link below.
Hi,
This should work, and simply adjust the top position with media queries to accommodate mobile devices:
.phone-info { font-size: 18px; }
div.phone-info {
position: relative;
top: 80px;
}
Best regards,
Jordan Shannon
Thanks Jordan. Works fine on Desktop, then gets a bit confused on mobile. See attached.
Regards – Raphe
Hi,
Please try the following as well:
@media only screen and (max-width: 767px) {
div.phone-info {
top: 10px;
}
}
Best regards,
Rikard
That did it! As ever, excellent support. Thanks very much.
Regards – Raphe
Hi,
Great! I’m glad this was able to be figured out. If you need additional help, please let us know here in the forums.
Best regards,
Jordan Shannon