mobile CSS styling
-
I am using the jetpack mobile plugin on this site:
https://www.jacksonlambertdesign.comI have 2 different headers for different parts of the site so instead of using the default WordPress header image uploader I have added my headers in the CSS as follows ie:
#header { background: url(https://www.jacksonlambertdesign.com/wp-content/uploads/2014/09/header-blog-3.png)no-repeat; } .page-id-9 #header { background: url(https://www.jacksonlambertdesign.com/wp-content/uploads/2014/09/header-14.png)no-repeat !important; margin-left: 27%; min-height: 202px; width: 100%; margin-top: -10px; }
The headers do not appear on my mobile site, either when I enable the Jetpack CSS and add the above code OR if I add the .mobile-theme class to the header CSS. Is there some other way I can add a header other than through the WordPress default header upload and have it appear on the mobile version? I am using a Genesis child theme, so I could also add something in the header area using php if I had an idea of the code. Thanks in advance.
- The topic ‘mobile CSS styling’ is closed to new replies.