Community Forums › Forums › Archived Forums › General Discussion › Responsive Header size help, Lifestyle Pro
Tagged: graphic, header, responsive
- This topic has 5 replies, 3 voices, and was last updated 10 years, 7 months ago by
TheresaSh.
-
AuthorPosts
-
April 10, 2015 at 6:21 pm #147420
rbarnes
MemberI am using Lifestyle pro theme and have a header graphic that is 1060 x 177
It looks great on large and small displays but the middle range gets cut off on either end. You can see it using this, which I just discovered and love btw,
http://www.studiopress.com/responsive/
The 150+ lines of code under..
" @media only screen and (max-width: 767px) { "
seems to be where I might look but this blows my little mind. I've made a 800px and a 600px version but really dont know its this is the right path to follow.Your help and advice is appreciated.
-Randy
April 10, 2015 at 7:31 pm #147426lanwide
MemberRandy,
Is this something you have viewed on and ipad in landscape or portrait view?
media queries are where the magic happens, however it's hard to know where the break points will happen if you are just resizing your browser window down.April 10, 2015 at 8:41 pm #147438rbarnes
MemberThis is showing the bad graphic on a ipad mini landscape view, and on Nexus7 landscape. It looks good on a portrait display.
thanks.April 12, 2015 at 9:00 am #147573rbarnes
Memberthe problem seems to be screen sizes between 1023px and 768px
-rb
April 13, 2015 at 1:49 pm #147773rbarnes
MemberThe nice support folks answered me with the code below, but that doesnt give me the full size header on a computer screen it just keeps the small one at every screen size.
I'll keep looking for and answer and will post it here if I can ever find one.
-rb
=================
You will want to look for this code in your style.css file:
.header-image .site-title a {
float: left;
min-height: 160px;
width: 100%;
}and change to this:
.header-image .site-title a {
background-size: contain !important;
float: left;
min-height: 177px;
width: 100%;
}.Don't forget to save your changes
===============June 5, 2015 at 12:31 pm #155010TheresaSh
MemberHi Rbarnes
There is definitely a problem with making the header and footer responsive? It says the theme is responsive? If you get an answer to your query let me know - it seems we all get referred to the same experts with mixed results - for instance have you tried:
http://prettydarncute.com/2013/10/genesis-full-width-header-tutorial/
http://thepixelista.com/responsive-genesis-child-theme-logo/
http://keypresswp.com/getting-your-head-around-header-images/I happen to be using the news pro theme and still no success with this
I am going to post it where I see news pro theme and see if I can get an expert coder as the lack of ability to change from a logo to a header on these themes is driving me nuts!!
-
AuthorPosts
- The forum ‘General Discussion’ is closed to new topics and replies.