Child theme css overrides media queries
-
I have set upp the simplest of child themes for twenty thirteen.
It consists of a style.css with a single rule to change the left padding to 59px instead of 60px for the content./* Theme Name: Test Theme URI: Description: Test Author: Test Author URI: Template: twentythirteen Version: 0.1 */ @import url('../twentythirteen/style.css'); .sidebar .entry-header, .sidebar .entry-content, .sidebar .entry-summary, .sidebar .entry-meta { padding: 0 376px 0 59px; }
This works but when resizing viewport to 768 it seems this rule overrides the media querie for max-width: 999px, which is:
padding-left: 0; padding-right: 0;
The result is a very smal column of content as a result of padding-values meant for desktop width.
Am I doing something wrong?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Child theme css overrides media queries’ is closed to new replies.