Home › Forums › Automattic › Wire › How to change the Header Size Image in WIRE
-
AuthorPosts
-
fearnopunchMemberIm trying to change the header size image in the theme Wire and when dont understand what I should put exactly in the css space.
someone said to put .site – branding but I dont get it.
Please help , what do i put in the CSS to change the size of the Header image, ? Thank you
The blog I need help with is itrekwear.comOctober 17, 2013 at 3:56 pm #141808
Kathryn P.Happiness EngineerOctober 18, 2013 at 3:08 am #141844
fearnopunchMemberwhat does the .site-branding mean. how exactly should i write it.
Thank you so much, just want to get this done to get started.
October 18, 2013 at 1:51 pm #141866
Kathryn P.Happiness EngineerHi there, site-branding is the name of the HTML element in which your header image is contained.
You would write the CSS exactly as I showed you above:
.site-branding {
height: 460px;
}Paste these lines of code in your custom CSS editor under Customize > CSS. This will make your header image 460px high, but you can adjust that number as you like.
If you’re interested in learning more about how to find CSS selectors in your code, this is a very good post to check out.
October 18, 2013 at 8:19 pm #141892
fearnopunchMemberso it would be itrekwear.com is that my site branding.
October 18, 2013 at 8:38 pm #141895
Kathryn P.Happiness EngineerThis is your site-branding HTML element, which you can see if you view your browser source:
<div class="site-branding">
<div class="logo">
<h1 class="site-title"><a href="http://itrekwear.com/" title="=" rel="home">=</a></h1>
<h2 class="site-description"></h2>
</div><!-- .logo -->
</div><!-- .site-branding -->Does this answer your question? I’m not 100% sure what you’re asking. :-)
October 24, 2013 at 2:49 pm #142180
Kathryn P.Happiness EngineerJust let me know if you still need any help with this or if you’re all set. Thanks!
October 24, 2013 at 8:50 pm #142197
fearnopunchMemberI got it to work but now it wont work with the mobile phone, wont resize, any help their thank you
October 25, 2013 at 1:43 pm #142208
Kathryn P.Happiness EngineerYou might want to try applying the custom CSS I provided earlier only to larger screens. Could you try replacing the earlier code with this and let me know if it helps:
/* Desktops and laptops
*/
@media only screen
and (min-width : 1224px) {
.site-branding {
height: 740px;
}
}November 5, 2013 at 7:45 pm #142669
Kathryn P.Happiness EngineerHi there, did you still need any help with this? It looks like you left the original code in addition to adding the new bit, so things look a little off – you’ll want to actually replace the old code with the new piece.
Your CSS customizations currently look like:
/* Desktops and laptops
*/
@media only screen
and (min-width : 1424px) {
.site-branding {
height: 840px;
}
}
}
.site-branding {
height: 740px;
}You want to keep just the first part so the .site-branding class doesn’t become twice as high as it should be:
/* Desktops and laptops
*/
@media only screen
and (min-width : 1424px) {
.site-branding {
height: 840px;
}
}
}Let me know how it goes.
December 9, 2013 at 5:56 pm #144104
Kathryn P.Happiness EngineerHi there, just checking in to see whether you still needed any help with this issue or if you’re all set. Thanks!
December 16, 2013 at 4:33 pm #144374
Kathryn P.Happiness EngineerHi there, I’m going to close this thread since it’s been a while since we heard from you, but feel free to start a new one if you need further help. Thanks!
-
AuthorPosts
The topic ‘How to change the Header Size Image in WIRE’ is closed to new replies.