WordPress.org

Ready to get started?Download WordPress

Forums

Twenty Twelve
Child Theme for Twenty Twelve: Media Queries (9 posts)

  1. melchang1121
    Member
    Posted 1 year ago #

    Hello,
    I am trying to style my child theme for Twenty Twelve using media queries; however, nothing I put in is working at all. Is there something else I have to do other than edit the child theme's style.css?

  2. Andrew
    Forum Moderator
    Posted 1 year ago #

    Perhaps you're not using specific-enough selectors.

  3. melchang1121
    Member
    Posted 1 year ago #

    I thought it might be that, but I've been trying really drastic things like
    "* {background-color: black;}" just to see if it might do something.. and nothing happens. I have no idea what could be wrong- does the media query have to be very specific for it to work?

  4. Andrew
    Forum Moderator
    Posted 1 year ago #

    Are you resizing the browser, to test the query?

  5. melchang1121
    Member
    Posted 1 year ago #

    Yes; I also tried to view it on my phone. No go on either version

  6. Hi melchang1121,

    You should also keep in mind that Twenty Twelve is mobile-first which means the @media queries are reversed. Styles not wrapped in @media queries are the mobile styles.

  7. uamalik
    Member
    Posted 1 year ago #

    I have the same issue, http://www.chai-kabob.com last line in my child theme stylesheet is getting ignored http://chai-kabob.com/wp-content/themes/twentytwelve-child/style.css?ver=3.5

  8. Begin
    Member
    Posted 1 year ago #

    i'm having the same problem... anybody found a solution?

  9. Andrew
    Forum Moderator
    Posted 1 year ago #

    You can create your own threads for your own issues.

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic

Tags

No tags yet.