Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1215941

    -core
    Participant

    Hi,

    i need some help in making the buttons on my page responsive. It is fine when viewed on Desktop, but when in mobile, the buttons are off-centre and cut off.

    How can i make the button look the same when on Desktop and Mobile?

    Thanks!

    #1215942

    -core
    Participant
    This reply has been marked as private.
    #1216030

    Paul R
    Moderator

    Hi,

    Thanks for writing in!

    You can add this under Custom > Edit Global CSS in the Customizer.

    
    @media (max-width: 767px) {
    .page-id-72 .entry-content .x-btn
       width:auto;
    }
    }
    

    Hope that helps.

    #1216061

    -core
    Participant

    Hi Paul,

    thanks for the reply.
    However, that does not work and the buttons are still the same.

    #1216221

    Joao
    Moderator

    Hi There,

    Please add the following code to Appereance > Customizer Custom CSS

    @media (max-width: 700px) {
    .x-btn.x-btn-transparent, .x-btn.x-btn-transparent:hover {
        font-size: 17px;
        max-width: 350px;
    } }

    Hope it helps

    Joao

    #1221876

    -core
    Participant

    Hi Joao,

    that works perfectly!
    Thanks so much!

    #1221947

    Friech
    Moderator

    You’re more than welcome, glad we could help.

    Cheers!