Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #948486

    Hi, I added a bunch of buttons to this page:
    http://www.thomashenthorne.com/marin-open-houses/

    Under the headline “Marin County Open Houses by Town” and they are all the button element size small, but they are different sizes (slightly) and look very different / not good on mobile.

    How do I make the buttons all uniform?

    Thanks!
    Rob

    PS A nice break from 4.3 questions, right? :)

    #948624

    Hey goldengate415,

    Thank you for reaching out to us, I checked the page “Ross Open Houses” is set to large.

    haha, I love questions about button elements :)

    Best regards,
    Vinay

    #948676

    Hi Vinay,

    Yes, I set “Ross” to large because before I did that, the Ross button came in smaller because the city name is so short, the button became smaller. If you look on mobile you will see that each button, not just Ross, is responsive so they are all slightly different sizes.

    How do I make them the same size on mobile (and I assume desktop will follow).

    Mobile first design! :)

    Thanks
    Rob

    #948722

    Hi,
    I recommend adding a custom class to each button, and then set a min-height and min-width for them.
    For example this works for your mobile devices when they are lined up:

    @media only screen and (max-width: 767px) { 
    a.avia-button {
    min-height: 60px !important; 
    min-width: 283px !important; 
    }
    }

    but without the custom class it will affect all of your buttons. Add your custom class before a.avia-button with a space.
    Try the same technique for your desktop view.

    Best regards,
    Mike

    #948728

    Hi Mike, thanks I’ll try that. Best, Rob

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.