WordPress.org

Ready to get started?Download WordPress

Forums

Boot Store
Mobile Colors are Overridden (4 posts)

  1. moorecreatives
    Member
    Posted 10 months ago #

    I have created div wrappers in my css child theme for the header and nav bar. I mainly did this to extend the backgrounds of these DIVs 100% and to give them a background color. However, when I am on a mobile device the color of the body (which is specified in the appearance panel of WP) overrides my child theme media query styles. Yes, I have tried putting an !important tag on the media query colors - no luck. Any ideas?

  2. sur
    Member
    Theme Author

    Posted 10 months ago #

    Hi, do you have an url to take a look?
    Best Regards

  3. moorecreatives
    Member
    Posted 10 months ago #

    Yes: http://devms.ltyc.org/

    It will work when you re-size a browser window, but not on the mobile devices themselves. I have tried on iPhone & Android.

    Thanks in advance for any help.

  4. Zulfikar Nore
    Member
    Posted 10 months ago #

    Try using background: instead of background-color:

Reply

You must log in to post.

About this Theme

About this Topic