• Resolved ericbel

    (@ericbel)


    I am trying to change the button size of the main button in the Hero section. I ended up installing Simple Custom CSS and was able to change the size for desktop by adding this:

    .btn-lg {
    font-size: 22px !important;
    font-size: 1.375rem !important;
    }

    This doesn’t affect the size on mobile though and I tried wrapping it in @media screen and (min-width: 720px), but that had no affect on mobile or tablets. Any suggestions are welcomed as I’m out of ideas on why this wouldn’t work. The exact code I tried was:

    @media screen and (min-width: 720px) {
    .btn-lg {
    font-size: 22px !important;
    font-size: 1.375rem !important;

    }

    .btn {
    font-size: 22px !important;
    font-size: 1.375rem !important;

    }

    .btn-theme-primary {
    font-size: 22px !important;
    font-size: 1.375rem !important;

    }
    }

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter ericbel

    (@ericbel)

    I ended up figuring out the issue. I had to Flush the Cache out of WordPress and open the site in a Private tab on my phone and tablet. Just figured I would include this here in case someone ends up with the same issue in the future.

    Hi @ericbel,

    That sounds great ??

    Let us know if you need anything else!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Hero Button Size Mobile’ is closed to new replies.