Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Font styling lost on mobile?

  • This topic is empty.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #242807
    crashprojects
    Participant

    I have swapped out some fonts for a site I inherited and their style/color info is being lost on mobile. It’s fine on desktop but turns all black on smaller screens/mobile devices. Despite screwing around with a bunch of different things I can’t seem to get it to change. Any ideas?

    http://tap.ckbuilds.com/drink/

    Thanks for reading.

    #242811
    Paulie_D
    Member

    Could you be more specific?

    What fonts and where on the page?

    Does this suddenly happen, what do your Developer Tools tell you?

    #242812
    crashprojects
    Participant

    It’s the title of the beer and the ABV/IBU. The fonts are correct but the colors are lost when the screen size shrinks. The dev tools aren’t helping in this instance.

    #242813
    rkieru
    Participant

    I think the issue is in your CSS formatting, though it’s difficult to confirm. Take a look at your main.css file and see if your color identifiers aren’t accidentally nested into the @media query you have beginning at line 1176 @media (min-width: 1107px) {

    #242814
    crashprojects
    Participant

    @rkieru

    Thank you! That’s exactly what it was. Missing bracket. So great to have an extra set of eyes!

    Thanks again.

Viewing 5 posts - 1 through 5 (of 5 total)
  • The forum ‘CSS’ is closed to new topics and replies.