Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #850319

    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?

    #850321

    Hey Raphep,

    I’ve requested access to view the file you linked to.

    Best regards,
    Jordan Shannon

    #850322

    Hi,

    I believe css would work but you need media queries to address the different screen sizes.

    Best regards,
    Jordan Shannon

    #850330

    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.

    #850344

    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

    #850370

    Thanks Jordan. Works fine on Desktop, then gets a bit confused on mobile. See attached.
    Regards – Raphe

    #850470

    Hi,

    Please try the following as well:

    @media only screen and (max-width: 767px) {
    div.phone-info {
        top: 10px;
    }
    }

    Best regards,
    Rikard

    #850734

    That did it! As ever, excellent support. Thanks very much.

    Regards – Raphe

    #850772

    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

Viewing 9 posts - 1 through 9 (of 9 total)
  • The topic ‘Align Phone Number’ is closed to new replies.